You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Front-end:
The registration form contains a field for selecting US States and Territories. This dropdown is not alphabetized and should do so. This code will be consolidated in a "constants" file for both the organization form and registration form to use.
Back-end:
The database contains fields for state which displays abbreviated States, stateName which displays the full State, and regionId which is mapped based on the state. This logic should be consolidated to populate all these fields and is repeated for both User and Organization.
Motivation and context
To improve user experience, we need to sort the states alphabetically.
Implementation notes
Please provide details for implementation, such as:
The US States and Territories dropdown should display options in alphabetical order.
The sorting should be case-insensitive (e.g., “New York” should come after “North Carolina”).
The change should be reflected in both the organization form and the registration form.
Create a centralized function or module that handles state-related logic.
This function/module should populate the state, stateName, and regionId fields consistently for both User and Organization entities.
Ensure that the consolidated logic is efficient and maintainable.
Acceptance criteria
Commit to Integration Branch
Demonstrate functionality
Include Screenshots Of Updated Views
Commit to Staging
Create Functional Tests
The text was updated successfully, but these errors were encountered:
Pre-commit errors are not allowing the code to be committed and pushed up
Bugs:
The Crossfeed application used to show updated UI changes as soon as you refresh the browser. Currently, the changes will only show updates after fully stopping and starting the front-end docker container.
💡 Summary
Front-end:
The registration form contains a field for selecting US States and Territories. This dropdown is not alphabetized and should do so. This code will be consolidated in a "constants" file for both the organization form and registration form to use.
Back-end:
The database contains fields for
state
which displays abbreviated States,stateName
which displays the full State, andregionId
which is mapped based on the state. This logic should be consolidated to populate all these fields and is repeated for both User and Organization.Motivation and context
To improve user experience, we need to sort the states alphabetically.
Implementation notes
Please provide details for implementation, such as:
Acceptance criteria
The text was updated successfully, but these errors were encountered: