Project

General

Profile

roos-fs tasks #840

Updated by Vadim Pariev 5 months ago

On the left side of the planning view, users should see a section listing all services available for planning. 
 These services originate from projects that already exist in the system. 

 The services displayed must dynamically update based on the selected team, project, and location, following specific filtering logic. 

 **Business Rules and Logic** 
 1. Source of Services 

 * Every service (shown in the list) belongs to a project. 
 * When a team is selected, the system should automatically show only services from the project(s) assigned to that team. 

 2. Team-Based Filtering 

 * If Team A is assigned to one project → show only services belonging to that single project. 
 * If Team B is assigned to multiple projects (e.g., 3 projects) → show services belonging to all three projects. 
 * The team selection is therefore the first-level filter. 
 * On default there are no services shown  
 * In case there are not services in the status other then completed for the project render "no open services are present for this project" 

 3. Additional Filtering Options 

 * Users can manually filter services by selecting a specific project. 
 * When a project is selected, the list should show only services belonging to that project (optionally combined with a location filter—see below). 
 * Filtering by Location 
 * Users can filter services by location. 
 * Locations and projects are structured hierarchically. 

 4. Hierarchical Filtering Logic 

 Case A: Location selected first 

 User selects a location. 
 System limits available services to only those belonging to this location. 
 When the user selects a project, the service list shows services filtered: 

 * First by location 
 * Then by project 

 Case B: Project selected first 

 User selects a project. 
 System shows all services belonging to that project. 
 When the user selects a location, the service list is filtered further: 

 * First by project 
 * Then by location 

 The filtering is always applied in the order the user selects the filters. 

 5. Service List Content (What must be shown) 

 Each service entry must display: 
 * Service ID (unique identifier) 
 * VIN number 
 * License plate 
 * Service status (e.g., planned, in progress, pending, completed) 
 * Location 
 * Project 

 UX requirements. it shall be easily distinguishable what location and project this service belongs to.  

 


Back