Repository navigation
fix(frontend): users, API key and auth form fixes - #1133
Conversation
Edit, Delete, selection and group toggles on the placeholder row hit /api/users/current. Disable them, skip the row in select-all, and exclude it from the MFA stat. Closes #274 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add aria-labels: select-all and per-user labels in the users table, and service, type, region, account, term and payment in the recommendations rows so each checkbox is distinguishable. Closes #746 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ask before adding or removing a group, and warn when an administrator removes their own Administrators membership. Declining reverts the checkbox without calling the API. Closes #736 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s closed showError wrote to the always-present #create-apikey-error inside the hidden create modal, so the toast fallback never ran. Use the inline error only while that modal is open. Closes #717 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Disable API key creation while the request is in flight so a double click cannot mint a second key. Secret views (the API key created modal and the MFA recovery codes in the profile modal) ignore Escape until the user acknowledges via data-require-ack, and the profile Cancel button is disabled meanwhile. Closes #732 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The login submit listener stayed bound on the swapped-in reset form, so Enter showed a login error. Swap to a reset submit listener, make the button type=submit and disable it while the request is in flight. Closes #733 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ight Wrap handleAccountFormSubmit (which also serves the registration approval onSave path) and saveUser in a try/finally that disables the submit button, as submitOverrideForm already does. Closes #735 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Save Changes and Enter in the profile form closed the modal through closeModal, discarding pending MFA recovery codes. closeModal now does nothing while data-require-ack is set, saveProfile returns early and the profile Save button is disabled until the codes are acknowledged. Refs #732 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er row The synthetic row hardcoded mfa_enabled false, so the MFA stat and the row badge were wrong for an admin with MFA on. Use the session user value and count the row in the stat again. Refs #274 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Term and payment variants of one cell shared a name. Append the known payment display label (unknown values are omitted so raw API strings never reach the attribute). Refs #746 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oup set Compare the session user id instead of the email, and recompute the group set after the confirm dialog resolves so a concurrent toggle is not reverted. Refs #736 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 16 billable files and costs up to $4.00.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 35 minutes for your next included review. View limit details
Comment |
…ames The row checkbox aria-label became "Select <service> <type> <region> ..." in #746, so the exact name "Select recommendation" no longer matches. Locate it with /^Select / as recommendations.spec.ts already does; the locators are scoped to a single row. Refs #746 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…x names Build the label from non-empty parts, show resource_type (engine) and the same payment text as the table cell, so engine-only variants stay distinct. Refs #746 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #736 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #733 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only known payment display labels reach the aria-label; unknown raw API strings are omitted. Refs #746 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge gate at
|
|
Combined check before merge: |
Summary
Seven frontend form, secret-handling and accessibility fixes in the users, API keys, auth and recommendations views.
Closes #274
Closes #717
Closes #732
Closes #733
Closes #735
Closes #736
Closes #746
closeModal) until the user acknowledges the secretVerification evidence (independent reviews, local build and tests at the head SHA) is posted as PR comments.
🤖 Generated with Claude Code