refactor: replace showcase moderator with curator using NIP-19 event p-tags

Replace the hardcoded 'moderator' npub pattern with a 'curator' field that
accepts any note1/nevent1/naddr1 identifier. The p-tag pubkeys from the
resolved event are used as authors in a kind 31990 (#t:shakespeare) query.
Client-side filter ensures only apps with a 30617 git repo reference are
shown, guaranteeing the 'Edit with Shakespeare' button can be rendered.

All moderation controls (approve/feature/hide/etc.) are removed from
AppShowcaseCard. AppShowcase is simplified to a flat grid.
This commit is contained in:
Alex Gleason committed 2026-04-03 01:08:46 -05:00
1 parent ac0e13a09a
commit a644994e93
20 files changed
+224 -891

No files matched your search

+2 -2
View File
@@ -50,8 +50,8 @@ export interface AppConfig {
language?: string;
/** Whether to show the showcase section */
showcaseEnabled: boolean;
/** Npub of the showcase moderator */
showcaseModerator: string;
/** NIP-19 identifier (note1, nevent1, or naddr1) pointing at an event with p tags used as curator authors */
showcaseCurator: string;
/** VFS path for projects directory */
fsPathProjects: string;
/** VFS path for config directory */