Activities: keywords/tags field on event creation (publish as NIP-52 't' tags) #108
Labels
No labels
app:activities
app:chat
app:events
app:forum
app:libra
app:market
app:restaurant
app:tasks
app:wallet
app:webapp
bug
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aiolabs/webapp#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the 2026-06-10 design review ("add keywords field so hosters can add").
Goal
Let hosts add free-text keywords when creating an event. Keywords should publish as NIP-52
t(hashtag) tags so they're filterable (#t) and surface in fuzzy search (the search index already weightstags, and the detail page already rendersevent.tags.slice(1)).Why it's not a client-only change
Creation delegates to the
aiolabs/eventsextension (POST /events/api/v1/events).CreateEventRequestonly carriescategories?: string[]— the backend maps those tottags. There is no free-text keyword/tag field on the endpoint, and the webapp does not build the calendar event itself. Folding keywords intocategorieswould break category filtering (categories are a constrainedEventCategoryenum).Proposed fix
aiolabs/eventsbackend: addkeywords?: string[]to the event create/update endpoint and publish each as an additionalttag (alongside the category-derived ones).CreateEventDialog.vuethat sendseventData.keywords. Display + search already handlettags, so no further frontend work.Related
ttags are split between categories and free keywords on display.Deferred from the ui-tweaks-2 round: discovered during implementation that the events extension endpoint has no keyword field, so it can't ship as a webapp-only change.