Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin destroy User UI #2725

Merged
merged 6 commits into from
Feb 21, 2025
Merged

Admin destroy User UI #2725

merged 6 commits into from
Feb 21, 2025

Conversation

JoeCohen
Copy link
Member

  • Changes the Destroy User link (in the User show page while in admin mode) to a button.
  • Delivers Destroy User UI #2722

Manual Test

  • Turn on Admin Mode
  • click List Users (in the left side menu)
  • click the login of a verified user
  • click Destroy User
    Expected Result:
    • re-displays user index (Users by Name)
    • a flash like "Sorry, the user you tried to display (id #189894) does not exist. ..."
    • that user is toast.

@JoeCohen JoeCohen linked an issue Feb 18, 2025 that may be closed by this pull request
Matches (rather than equals) admin_user_path
@coveralls
Copy link
Collaborator

coveralls commented Feb 18, 2025

Coverage Status

coverage: 93.502% (+0.02%) from 93.485%
when pulling c4956d3 on 2722-jdc-admin-destroy-user
into 2206c4a on main.

@JoeCohen JoeCohen requested a review from nimmolo February 18, 2025 23:35
@JoeCohen JoeCohen added the bug label Feb 20, 2025
@JoeCohen JoeCohen self-assigned this Feb 20, 2025
@JoeCohen JoeCohen merged commit 1ef089a into main Feb 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Destroy User UI
3 participants