mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
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:
20 files changed
+224
-891
No files matched your search
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "Showcase",
|
||||
"showcaseEnabled": "Showcase Enabled",
|
||||
"showcaseEnabledDescription": "Display the app showcase section on the home page",
|
||||
"showcaseModerator": "Showcase Moderator",
|
||||
"showcaseModeratorDescription": "Nostr public key (npub) of the user who can moderate showcase submissions",
|
||||
"showcaseCurator": "Showcase Curator",
|
||||
"showcaseCuratorDescription": "NIP-19 identifier (note1, nevent1, or naddr1) pointing at an event whose p tags define the curator authors",
|
||||
"filesystemPaths": "Filesystem Paths",
|
||||
"projectsDirectory": "Projects",
|
||||
"configDirectory": "Config",
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "Nuni",
|
||||
"showcaseEnabled": "An Kunna Nuni",
|
||||
"showcaseEnabledDescription": "Nuna sashen nuni na aikace-aikace a shafin gida",
|
||||
"showcaseModerator": "Mai Kula da Nuni",
|
||||
"showcaseModeratorDescription": "Maɓallin jama'a na Nostr (npub) na mai amfani wanda zai iya kula da ƙaddamarwar nuni",
|
||||
"showcaseCurator": "Mai Zaɓi na Nuni",
|
||||
"showcaseCuratorDescription": "Alamar NIP-19 (note1, nevent1, ko naddr1) mai nuni ga wani taron da tagoginsa na p ke bayar da marubutan mai zaɓi",
|
||||
"filesystemPaths": "Hanyoyin Tsarin Fayil",
|
||||
"projectsDirectory": "Kundin Ayyuka",
|
||||
"projectsDirectoryDescription": "Hanyar tsarin fayil inda ake adana ayyuka",
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "Ngosipụta",
|
||||
"showcaseEnabled": "Ngosipụta Emechara",
|
||||
"showcaseEnabledDescription": "Gosipụta ngalaba ngosipụta ngwa na ibe ụlọ",
|
||||
"showcaseModerator": "Onye Nlekọta Ngosipụta",
|
||||
"showcaseModeratorDescription": "Igodo ọha Nostr (npub) nke onye ọrụ nwere ike ilekọta ntinye ngosipụta",
|
||||
"showcaseCurator": "Onye Nhazi Ngosipụta",
|
||||
"showcaseCuratorDescription": "Njirimara NIP-19 (note1, nevent1, ma ọ bụ naddr1) na-egosi ihe omume nke p tags ya na-atọ ụda ndị odeakwụkwọ nhazi",
|
||||
"filesystemPaths": "Ụzọ Sistemu Faịlụ",
|
||||
"projectsDirectory": "Ndekọ Ọrụ",
|
||||
"projectsDirectoryDescription": "Ụzọ sistemu faịlụ ebe echekwara ọrụ",
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "Vitrine",
|
||||
"showcaseEnabled": "Vitrine Ativada",
|
||||
"showcaseEnabledDescription": "Exibir a seção de vitrine de aplicativos na página inicial",
|
||||
"showcaseModerator": "Moderador da Vitrine",
|
||||
"showcaseModeratorDescription": "Chave pública Nostr (npub) do usuário que pode moderar envios da vitrine",
|
||||
"showcaseCurator": "Curador da Vitrine",
|
||||
"showcaseCuratorDescription": "Identificador NIP-19 (note1, nevent1 ou naddr1) apontando para um evento cujas tags p definem os autores curadores",
|
||||
"filesystemPaths": "Caminhos do Sistema de Arquivos",
|
||||
"projectsDirectory": "Diretório de Projetos",
|
||||
"projectsDirectoryDescription": "Caminho do sistema de arquivos onde os projetos são armazenados",
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "Ifihan",
|
||||
"showcaseEnabled": "Ifihan Ṣiṣẹ",
|
||||
"showcaseEnabledDescription": "Ṣafihan apakan ifihan ohun elo lori oju-iwe ile",
|
||||
"showcaseModerator": "Oluṣakoso Ifihan",
|
||||
"showcaseModeratorDescription": "Bọtini gbangba Nostr (npub) ti olumulo ti o le ṣakoso awọn ifisilẹ ifihan",
|
||||
"showcaseCurator": "Alásàánú Ifihan",
|
||||
"showcaseCuratorDescription": "Idanimọ NIP-19 (note1, nevent1, tabi naddr1) ti o tọka si iṣẹlẹ kan ti awọn tag p rẹ ṣe asọye awọn onkọwe alásàánú",
|
||||
"filesystemPaths": "Awọn Ọna Eto Faili",
|
||||
"projectsDirectory": "Itọsọna Awọn iṣẹ akanṣe",
|
||||
"projectsDirectoryDescription": "Ọna eto faili nibiti a tọju awọn iṣẹ akanṣe",
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@
|
||||
"showcase": "展示",
|
||||
"showcaseEnabled": "启用展示",
|
||||
"showcaseEnabledDescription": "在主页上显示应用展示部分",
|
||||
"showcaseModerator": "展示管理员",
|
||||
"showcaseModeratorDescription": "可以审核展示提交的用户的Nostr公钥(npub)",
|
||||
"showcaseCurator": "展示策展人",
|
||||
"showcaseCuratorDescription": "NIP-19 标识符(note1、nevent1 或 naddr1),指向一个事件,其 p 标签定义策展人作者",
|
||||
"filesystemPaths": "文件系统路径",
|
||||
"projectsDirectory": "项目目录",
|
||||
"projectsDirectoryDescription": "存储项目的文件系统路径",
|
||||
|
||||
Reference in new issue
Block a user