Add t-tag editor under Advanced in App dialog

This commit is contained in:
Alex Gleason committed 2026-04-03 14:13:55 -05:00
1 parent ddc1e02431
commit a81b8420f5
2 files changed
+72

No files matched your search

+8
View File
@@ -12,6 +12,7 @@ export interface AppEventInput {
banner?: string;
website?: string;
dTag: string;
tTags?: string[];
supportedKinds?: string[];
webHandlers?: Array<{ url: string; type?: string }>;
}
@@ -70,6 +71,13 @@ export async function buildAppEvent(
}
}
// Add user-defined t-tags
if (input.tTags) {
for (const tag of input.tTags) {
if (tag.trim()) tags.push(['t', tag.trim()]);
}
}
// Add t-tags for categorization (shakespeare + template name)
if (opts?.fs && opts.cwd) {
tags.push(['t', 'shakespeare']);