-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inaccurate removal and update of facility latitude/longitude #255
Comments
… /negative values(hotwax#255)
@R-Sourabh Few more points needs to be considered while fixing this issue - Case A Case B Case C Case D Case E |
Cases
Case 1 - Removal Inconsistency
When a user attempts to remove a generated latitude/longitude by clearing the input fields, a toast message displays success, but the values persist. This only occurs for generated coordinates; manually entered values can be removed successfully.
Case 2 - Zero Input Handling
Entering "0" (zero) in both latitude and longitude fields and saving doesn't update the facility details page. However, reopening the edit modal and saving again with "0" in both fields allows the update. This behavior needs correction for a consistent user experience.
Case 3 - Editing Restriction
Users cannot edit existing latitude/longitude values by typing and saving changes within the input fields. This results in an error message.
Expected Behavior
Case 1: Users should be able to remove previously generated latitude/longitude coordinates by clearing the input fields and saving. The toast message should accurately reflect this action.
Case 2&3: The system should prevent saving invalid coordinates like "0" or any other character(except '.' and '-') for both latitude and longitude. Ideally, an error message should prompt the user in this case.
Steps to Reproduce
Login the app with valid user credentials.
On the find facilities page, open the facility details of any facility.
Case 1. Unable to Remove Generated Latitude/Longitude
Case 2. Handling '0' Inputs in Latitude/Longitude Fields
Case 3. Error When Editing Field Values
Environment details
App environment : UAT
App version : v1.7.0
Additional information
https://jam.dev/c/66947943-b96d-46a0-bbce-c3f0a285b42a
The text was updated successfully, but these errors were encountered: