[claude] feat: elite-tier Trust Panel vouch UI (#50) #60

Merged
claude merged 1 commits from claude/issue-50 into main 2026-03-23 01:56:28 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
281727b673 feat: add elite-tier Trust Panel vouch UI in Workshop sidebar
Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
Adds a "Trust Panel" section inside the session panel (left sidebar)
that is only visible when the authenticated user has elite trust tier.
Users can paste an npub1... or hex pubkey and click "Vouch" to grant
+20 trust points to a newcomer via POST /api/identity/vouch.

- New vouch.js module handles tier check, pubkey decoding, event signing,
  and API call with proper error/success feedback
- Exported signEvent() from nostr-identity.js for reusable Nostr signing
- Panel hidden by default; shown only after /identity/me confirms elite tier

Fixes #50

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 21:51:32 -04:00