FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[WIP] Fix missing functions for user role edit and suspend actions by Copilot · Pull Request #49 · Debugging-Disciples/PurePath-App · GitHub

[WIP] Fix missing functions for user role edit and suspend actions - #49

Merged
JustinhSE merged 2 commits into
mainfrom
copilot/fix-admin-edit-suspend-functions
Feb 25, 2026
Merged

[WIP] Fix missing functions for user role edit and suspend actions#49
JustinhSE merged 2 commits into
mainfrom
copilot/fix-admin-edit-suspend-functions

Conversation

Copilot AI commented Feb 25, 2026
edited
Loading

Copy link
Copy Markdown
Contributor
  • Add adminUpdateUser function to firebase.ts (update role and streakDays)
  • Add adminSuspendUser function to firebase.ts (clear user entries: meditations, journal, relapses; reset streak and lastCheckIn)
  • Add edit dialog in Admin.tsx with role selector and streak input
  • Add suspend confirmation AlertDialog in Admin.tsx
  • Wire up Edit and Suspend buttons with onClick handlers and state management
  • Build passes (TypeScript + Vite)
  • CodeQL security scan: 0 alerts

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: JustinhSE <84724234+JustinhSE@users.noreply.github.com>
JustinhSE marked this pull request as ready for review February 25, 2026 21:49
JustinhSE merged commit ea00bb8 into main Feb 25, 2026
2 of 3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL