OED icon indicating copy to clipboard operation
OED copied to clipboard

modal for admin user pages

Open huss opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

The user page is linked from the admin panel and does not have the look of the newer pages with modals.

Describe the solution you'd like

The look of these pages will change substantially to align with the new modal card look in OED. The top of the page will have a create button to create a user that is similar to the current create page but as a modal popup. A card for each user will have the email & role listed along with a button to edit the user. The modal that pops up will allow changes to the role and, unlike the current page, should allow for password change. There should also be a button to delete the user similar to the conversion page.

Another change is the "Users" button under "Manage:" on the admin page will be removed. In the dropdown menu in the top, right of the OED page, an additional option will be added that is labeled "Users" (only if an admin). This will take the admin to the user card page. The user card page should have an edit/create button with a cancel/discard as on other admin modal card pages along with similar logic/layout. The delete choice should confirm as on other pages.

A couple of other changes:

  • The translation in src/client/app/translations/data.ts for "Manage" is likely to be unused after these changes and can be removed in all languages.
  • There should be no default user role and the admin should be required to choose one.
  • The current page does not shift to the top as other pages. It is assumed this will be fix automatically when made similar to other pages.

Additional context

None

huss avatar Apr 19 '23 18:04 huss

This issue was updated to only include the modal look as the other part was done earlier.

huss avatar Apr 04 '24 14:04 huss

This was fixed with PR #1306 and #1324 so closing.

huss avatar Aug 09 '24 19:08 huss