convert admin maps page to modals #1197
Labels
p-medium-priority
reserved
Expected to be assigned to developer by project so others should not work on without prior approval.
t-enhancement
This issues tracks a potential improvement to the software
Milestone
Is your feature request related to a problem? Please describe.
The admin maps page does not conform to the new modal look in OED.
Describe the solution you'd like
The look of this page will change substantially to align with the new modal card look in OED. The top of the page will have a create button that takes the admin to the page to create a map that uses the current pages. Note this is actually a sequence of pages. A card for each map will have the map name, map display & note (30 characters max as on current modal pages) listed along with a button to edit the map.
When the edit button is clicked, a modal pops up that shows all the values on the current page except the id that will not be shown. The admin can modify any of them except the last modify date that is set by the software. The actions taken on a change will be similar to the current page but the look should be consistent with the new modal pages. For example, the button to delete the map is similar to the conversion page.
Note the current page allows for editing multiple maps but that will not be allowed on the new page. Only one map at a time to be consistent with other modal pages. The change to the modal setup may change a number of the functions and state interactions.
Given what is done when a map is created/calibrated, it is unclear if that should be a modal as we want it to be the full size of the page. At some point, it should be checked to see if changing it would make sense.
Describe alternatives you've considered
Leave as is
Additional context
This replaces issue #891 since the hooks was replaced with issue #1145 and the modal part is here.
The text was updated successfully, but these errors were encountered: