roos-fs tasks #563
open
(MOBILE) Replace Boolean Question Item with Yes/No Radio Buttons in Checklists
Added by Vadim Pariev 7 months ago.
Updated 5 days ago.
Description
General
Some users have reported issues when working with the current implementation of the Boolean question item in checklists. The current behavior causes confusion and usability problems when selecting or changing values.
Expected Result
- Replace the current Boolean implementation with radio buttons offering “Yes” and “No” options.
- The default state must be none selected (i.e., neither “Yes” nor “No” is preselected).
- The user must actively choose either “Yes” or “No” before saving or proceeding.
- Both “Yes” and “No” options must be clearly visible and easy to distinguish.
Functional Behavior
- When the user selects “Yes” or “No”, the checklist’s counter of accomplished tasks updates accordingly.
- The update should follow the same logic currently applied for Boolean-based tasks (e.g., “Yes” = accomplished, “No” = not accomplished).
- Ensure that no other functionalities or related components are affected by this change.
- The selected value is saved
Files
- Status changed from Backlog to Open
- Status changed from Open to In progress
note for testing:
new flow for statuses is not implemented here yet, so changing statuses will not work.
builds are attached.
- Status changed from In progress to In review
- Status changed from In review to Deployed (QA)
ignore previous builds and please test via this apk:
Environment: Staging.
Actual Result:
- The fields in the checklist in the GET request 'Get Task Details' have a null value after completing the checklist (expected: true or false).
- The field all_mandatory_checklists_completed has the value false (expected: true), and the field all_checklists_completed also has the value false (expected: true) in the GET request 'Get Service Details'.
Steps to Reproduce:
- Create a task template with a 'Yes/No' field in the checklist.(Task ID 42846)
https://screenrec.com/share/gpTqCZRiB8
- Create the 'Yes/No' service. (Service ID 24588, Task ID 42847) https://screenrec.com/share/I0svo2y1m4
- Open build 563. Open the vehicle OLENA121212121212 (1999), service 'Yes/No'.
- Open the task. Select 'No' in the Yes/No radio button (not required), and select 'No' in the Yes/No radio button (required).
- Click the 'Submit' button.The message 'Checklist update succesefull.
- Send request Get Task Detail Task ID: 42847.
- Response the fields did not get value true or false. https://screenrec.com/share/Rvu9fCnHXY
8.Send request Get Service Detail.
- Response the service is not completed. https://screenrec.com/share/aIyjBlU4FL
- Status changed from QA Failed to Closed
- Project changed from 8 to Roos-fs-ZIP
Also available in: Atom
PDF