User Story
As a Super Admin user, I want to be able to manage the list of locations from the territory of the intervention.
Description
A location is a territorial division within a specific country, such as a city, region, or other administrative unit. The location management system will function as a flexible tagging system. The Super Admin will create the initial list of locations from scratch when setting up a new intervention and deploying the system. However, since it is not feasible to generate a fully exhaustive list in advance, other users interacting with the Location field will have the ability to add new locations to the list.
Main flows
Add location
- Super Admin user navigates to the "Locations" section
- User clicks on "Add location" button
- System retrieves the "Add location" modal screen (link to design)
- User fills in the ID and Name of the location and clicks on "Add location" button
- System saves the new location in DB, redirects the user to the "Locations" page, and displays the success message.
Edit location
- Super Admin user navigates to the "Locations" section
- User clicks on the kebab menu
- System displays the dropdown menu (link o design)
- User clicks on the "Edit location" button
- System retrieves the "Edit location" modal screen
- User edits the location and clicks on the "Save changes" button
- System saves the changes, redirects the user to the "Locations" page, and displays the success message.
Merge location into
TBD
Delete location
N.B. Once a location is associated with an entry it cannot be deleted
- Super Admin user navigates to the "Locations" section
- User clicks on the kebab menu
- System displays the dropdown menu (link o design)
- User clicks on the "Delete location" button
- System retrieves the "Delete location" modal confirmation screen (link to design)
- User clicks on the "Delete location" button
- System deletes the location from db, redirects the user to the "Locations" page, and displays the success message.
Business rules:
- Once a location is associated with an entry it cannot be deleted (the delete button will be disabled).
- The locations list should be translatable from the Super Admin panel.
- Display in the "All locations" table the following information:
- ID (auto-generated)
- Location name
- Usage (no of times that location was associated with an entry)
Figma
https://www.figma.com/design/yxJgmSGcAon2LbzGiHA1sG/OneRoof-(UnAcoperis-redesign)?node-id=4190-41991&t=8kRL2NdwVqMTTyNq-4
User Story
As a Super Admin user, I want to be able to manage the list of locations from the territory of the intervention.
Description
A location is a territorial division within a specific country, such as a city, region, or other administrative unit. The location management system will function as a flexible tagging system. The Super Admin will create the initial list of locations from scratch when setting up a new intervention and deploying the system. However, since it is not feasible to generate a fully exhaustive list in advance, other users interacting with the Location field will have the ability to add new locations to the list.
Main flows
Add location
Edit location
Merge location into
TBD
Delete location
N.B. Once a location is associated with an entry it cannot be deleted
Business rules:
Figma
https://www.figma.com/design/yxJgmSGcAon2LbzGiHA1sG/OneRoof-(UnAcoperis-redesign)?node-id=4190-41991&t=8kRL2NdwVqMTTyNq-4