-
Notifications
You must be signed in to change notification settings - Fork 1
feat: member management dashboard — profiles, stats, XP, warnings #119
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c78965c
feat(dashboard): add member table component with sort and pagination
BillChirico 7774268
feat(dashboard): add members list page
BillChirico 87a5794
feat(dashboard): add member detail page with stats and admin actions
BillChirico c0bf2ac
feat(members): add member management API with detail, history, XP adj…
BillChirico d4144f8
feat(members): mount members router, export guild middleware, remove …
BillChirico 97a8a85
test(members): add API endpoint tests (26 tests)
BillChirico 6b8547f
fix: lint import ordering in member dashboard components
BillChirico 16d53fa
fix(members-api): add rate limiting, CSV injection protection, XP tra…
BillChirico 9fe6e2f
fix(dashboard): align member interfaces with backend API response shape
BillChirico 10dc0a8
feat(dashboard): add Next.js API proxy routes for member endpoints
BillChirico 7b15f01
test(members): update tests for API changes
BillChirico 5f129c3
fix: lint and formatting fixes across all changed files
BillChirico bb98b4e
fix(members-api): add global + per-route rate limiting to satisfy CodeQL
BillChirico e65ff21
📝 Add docstrings to `feat/member-management`
coderabbitai[bot] 7f05670
fix: correct CSV formula-injection bug in escapeCsv
BillChirico e9c1e32
fix: include guildId in member row click navigation
BillChirico 43e70c2
fix: use safeGetPool in all member endpoints
BillChirico 7269241
fix: log CSV export errors instead of silent failure
BillChirico f90f7cb
fix(members): dedupe rate limiting, add 401 handling, fix loading sta…
BillChirico a121cb0
Merge branch 'main' into feat/member-management
BillChirico 5acc9bc
fix(members): reject fractional XP amounts (column is INTEGER)
BillChirico 1a9f769
test: boost branch coverage to 85% with targeted tests
BillChirico d6bcbd5
fix(members): reject non-integer XP amounts with 400
BillChirico 9438556
test(members): add test for fractional XP amount returning 400
BillChirico b270f16
fix(members): scope membersRateLimit to member routes only
BillChirico 58eab07
fix(members-ui): fix roleColorStyle fallback for hex alpha concatenation
BillChirico 01e0cbc
fix: biome formatting in members.js
BillChirico 21869d6
fix(members): add AbortController and request sequencing to prevent s…
BillChirico b2385f5
fix(members): use Discord server-side search instead of page-local fi…
BillChirico 9401c0c
fix(members): stream CSV export in batches to reduce memory pressure
BillChirico 0350a59
fix: button types, useCallback deps, array keys, remove duplicate tes…
BillChirico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requireAuth()is mounted twice under/guilds(once formembersRouter, again forguildsRouter). For non-member guild routes this runs the auth middleware twice, which is unnecessary work and can have unintended side effects if auth ever mutates request state. Consider mountingrequireAuth()once and attaching both routers under it (or mountingmembersRouterinsideguildsRouterbefore other routes).