Skip to content

Redesign Add/Edit User dialog and add role descriptions#358

Open
apodacaduron wants to merge 2 commits into
mainfrom
redesign-users-dialog
Open

Redesign Add/Edit User dialog and add role descriptions#358
apodacaduron wants to merge 2 commits into
mainfrom
redesign-users-dialog

Conversation

@apodacaduron

Copy link
Copy Markdown
Contributor

Description

Redesigns the Add/Edit User dialog into clearly labeled sections (User Details, Account Status, User Permissions), moves the field-enable pencil icons inline into their inputs, restyles the Group multi-select dropdown to show a description under each role with a checkmark/highlight for selected ones, and adds real descriptive text for the default Admin/DA/Mod roles (replacing the generic "System Role" placeholder) via a data migration. No functional/permission behavior changed — same fields, validations, and API calls as before.

How to Test

  1. Go to Admin > Users.
  2. Click New User — confirm the dialog shows sectioned layout (User Details / Account Status / User Permissions), the "Add User" button, and the Group dropdown shows role name + description with a checkmark on selected roles.
  3. Edit an existing user — confirm the pencil icons next to Email/Username/Password are clickable even though those fields start disabled, and the footer button reads "Save" with a checkmark icon.
  4. Toggle a few permission switches and roles, save, and confirm the change persists.
  5. Run flask db upgrade and confirm Admin/DA/Mod roles get updated descriptions (only rows still set to "System Role" are touched).

@apodacaduron apodacaduron self-assigned this Jul 7, 2026
@apodacaduron apodacaduron requested a review from level09 as a code owner July 7, 2026 02:41
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6ded5d3d-ec05-4cfe-a031-21288a40bc72

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch redesign-users-dialog

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant