roos-fs tasks #516
open
Change process of adding vehicles (services) to a project
Added by Vadim Pariev 7 months ago.
Updated 4 days ago.
Description
Currently, when editing a single project, the process of adding vehicles (i.e., services) is incorrect.
Current behavior:
As soon as a vehicle is selected within the single project edit page, a service is immediately created in the system.
Expected behavior:
The service(s) should only be created after the user explicitly confirms the selection.
The correct flow should be:
- The user selects one or more vehicles they want to assign to the project. (or selected by importing a CSV)
- The user clicks “Update Project” (or “Add Vehicles”, depending on role).
- Only after this confirmation action, the selected vehicles (services are created) should be added to the project.
Additional requirements:
- The same behavior should apply for customer users.
- When a customer user opens a single project and adds vehicles, the services should not be created immediately.
- The user must first select vehicles and then confirm the action via “Add Vehicles” to trigger service creation.
Deletion rules:
- Deletion of services can only occur through dedicated deletion buttons.
- Services created via this process will remain in the system until they are manually deleted by an admin.
- No other user has permission to delete services or projects.
Goal:
Ensure that service creation only occurs after explicit user confirmation, both for internal and customer users, and that deletion remains restricted to admin actions only.
- Subject changed from Title: Change process of adding vehicles (services) to a project to Change process of adding vehicles (services) to a project
- Status changed from Backlog to Open
- Assignee set to Vadim Pariev
- Assignee changed from Vadim Pariev to Ivan Danyliv
- Status changed from Open to In progress
- Status changed from In progress to In review
- Status changed from In review to Open
- Status changed from Open to In review
- Status changed from In review to Deployed (QA)
- Status changed from Deployed (QA) to QA Failed
Environment: Staging.
Steps to Reproduce:
1.Open the 'Projects' page. Click on the 'Create New Project' button. 'New project' page openes.
2.Fill the fields: Project Name: TestProject 10/16(2); Start Date 10/16/2025; End Date 10/17/2025; Service Template :'Eco-Friendly Service'.
3. Download the Excel Template. Prepaier the excel document to import vehicles.(vin: OLENA123456789009; OLENATRET77777777; OLENA121212121212).
4. Click on the 'Select a file or drag and drop' field and upload the prepared file.
Three vehicles are successufully added to project 'TestProject 10/16(2)'.
5. Select 00FRR5VMV3CM1YN3D and click on the 'Add vehicles' button. The vehicle with the VIN 00430K6F2V51HZC8J is added.
6. Click on the 'Create Project' button. The 'ProjectTest 10/16(2)' Project Details page opens. Project Iformation section diaplayes 0 Created Services. https://screenrec.com/share/sJBEONHcw5
7. Open the 'Services' page 4 services markt as a created. https://screenrec.com/share/bF1CyfhU5V
8. Open the 'ProjectTest 10/16(2)' Project Details page. Project Iformation section diaplayes 4 Created Services.https://screenrec.com/share/ASGwlIsbUo
9. Open the Services page. Click on the delete icon next to the 'Eco-Friendly Service' service for the vehicle with the VIN OLENA121212121212 .
10. The sevice is deleted.
11. Open the Services page. Click on the delete icon next to the 'Eco-Friendly Service' service for the vehicle with the VIN OLENATRET77777777 .
12. The sevice is deleted.
13. Open the Services page. Click on the delete icon next to the 'Eco-Friendly Service' service for the vehicle with the VIN OLENA123456789009 .
14. The sevice is deleted.
15. Open the Services page. Click on the delete icon next to the 'Eco-Friendly Service' service for the vehicle with the VIN 00FRR5VMV3CM1YN3D .
16. The sevice is deleted.
17. Open the 'ProjectTest 10/16(2)' Project Details page. Project Iformation section diaplayes 0 Created Services. https://screenrec.com/share/QWlEFbJxrP
18. Sign up and Sing in as a Manager. (Email: olena.tretjakova+2@matecube.dev, Password: 0685577595Ol).
19. The Manager does not have a delete icon next to each service on the Services page.
20. Sign up and Sing in as a Fleet Manager. (Email: olena.tretjakova+5@matecube.dev, Password: 0685577595Ol).
21. The Fleet Manager does not have a delete icon next to each service on the Services page.
22. Sign up and Sing in as a Sale Manager. (Email: olena.tretjakova+3@matecube.dev, Password: 0685577595Ol).
23. The Sale Manager does not have a delete icon next to each service on the Services page.
24. Sign up and Sing in as an Operator. (Email: olena.tretjakova+6@matecube.dev, Password: 0685577595Ol).
25. The Sale Manager does not have a delete icon next to each service on the Services page.
24. Sign up and Sing in as an Operator. (Email: olena.tretjakova+8@matecube.dev, Password: 0685577595Ol).
25. The Sale Manager does not have a delete icon next to each service on the Services page.
Expected Result:
- The service(s) should only be created after the user explicitly confirms the selection.
- The user selects one or more vehicles, clicks 'Update Project', after the confirmation, the selected vehicles should be added to the project.
- Services created via this process will remain in the system until they are manually deleted by an admin.
No other user has permission to delete services or projects.
Actual Result:
- The services should be created immediately after clicking the 'Create Project' button. However, when the user clicks the 'Create Project' button and is redirected to the Project Details page, the Project Information section displays 0 Created Services. Only after opening the 'Services' page and then returning to the Project Details page does the Project Information section display the newly created services.
- Status changed from QA Failed to Ready for Deployment (prod)
- Status changed from Ready for Deployment (prod) to Closed
- Assignee changed from Ivan Danyliv to Vadim Pariev
- Project changed from 8 to Roos-fs-ZIP
Also available in: Atom
PDF