Skip to content

feat: add admin interface for kudos and achievements#122

Open
whocoder11 wants to merge 1 commit intoopenSUSE:mainfrom
whocoder11:feat/admin-interface
Open

feat: add admin interface for kudos and achievements#122
whocoder11 wants to merge 1 commit intoopenSUSE:mainfrom
whocoder11:feat/admin-interface

Conversation

@whocoder11
Copy link
Copy Markdown
Contributor

image

Implements #2 — full admin control panel with:

Backend (admin.js):

  • GET /api/admin/kudos — paginated + search kudos
  • DELETE /api/admin/kudos/:id — delete individual kudo
  • GET /api/admin/badges — now includes holder counts
  • POST /api/admin/badges/:slug/drop — remove badge from all users
  • GET/POST/DELETE /api/admin/categories — full CRUD

Backend (app.js):

  • Fix session cookie secure/sameSite to work on both HTTP and HTTPS

Frontend (AdminView.vue):

  • Dashboard tab with overview stats and maintenance actions
  • Users tab with role management and CRUD
  • Bots tab with secret reveal/rotate/generate
  • Kudos tab with search, pagination, and delete
  • Badges tab with holder counts, drop from users, delete
  • Grant Badge tab with user autocomplete
  • Categories tab with full CRUD

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 12, 2026

👷 Deploy request for iridescent-lily-6de5e0 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 5e10a91

@lkocman
Copy link
Copy Markdown
Collaborator

lkocman commented Mar 12, 2026

I'm bit more in favor of CRD. But yes sometimes we have to fix typo in badge etc. Let me look into your work tomorrow. We had already an admin interface for everything, but kudos.

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