Skip to content

[user_accounts] Reactify the edit user page - #10963

Open
Montekkundan wants to merge 1 commit into
aces:mainfrom
Montekkundan:montek/10819-user-accounts-reactify
Open

[user_accounts] Reactify the edit user page#10963
Montekkundan wants to merge 1 commit into
aces:mainfrom
Montekkundan:montek/10819-user-accounts-reactify

Conversation

@Montekkundan

Copy link
Copy Markdown
Contributor

Brief summary of changes

  • Replaces the Smarty edit-user template with a TypeScript React form.
  • Preserves the existing PHP form submission, validation, permission, supervisor, and account-rejection behavior.
  • Preserves password generation, username matching, Reset, Back, Save, and self-edit restrictions.
  • Keeps permission controls mounted when their groups are collapsed so selected permissions remain part of form submissions.
  • Adds the user_accounts webpack entry and Makefile build target.
  • Removes the retired Smarty template and its legacy JavaScript helpers.
  • Keeps generated JavaScript bundles and source maps ignored.

Testing instructions

  • Open http://localhost:8080/user_accounts/edit_user/.
  • Confirm the create-user form loads with the existing fields and field order.
  • Test matching the username to the email address and generating a password.
  • Create a user and confirm the existing backend validation and success behavior.
  • Edit an existing user and confirm sites, projects, permissions, and supervisors save correctly.
  • Collapse a permission group before saving and confirm its selected permissions are preserved.
  • Open your own account and confirm all editable controls and the Save button are disabled.
  • Run make user_accounts.

Link(s) to related issue(s)

@Montekkundan Montekkundan self-assigned this Jul 21, 2026
@github-actions github-actions Bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: user_accounts PR or issue related to the user_accounts module labels Jul 21, 2026
@skarya22
skarya22 self-requested a review July 21, 2026 16:00
@skarya22 skarya22 assigned skarya22 and unassigned Montekkundan Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code Module: user_accounts PR or issue related to the user_accounts module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[user_accounts] Reactify the edit user page

2 participants