Team-targeted tasks: subscribe and filter by team tag #1
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?
Context
The webapp tasks module today targets tasks at individuals via NIP-52
ptags. Real chore lists cluster by audience — "animal-chores", "farmers", "kitchen" — and we want a way to publish a task to a team without enumerating every member's pubkey.See umbrella issue aiolabs/webapp#55 for the cross-module design discussion (tasks, libra, events, forum all want the same primitive).
Concrete tasks-side scope
Assuming we land on avenue A (tag convention) or B (NIP-51 lists) from the umbrella:
Backend (this repo)
team(orteams, plural) field onCreateTask/Task— a list of team identifiers.["t", "<team>"]per team (already supported by thecategoriesfield — may just need a UX rename or a dedicated field to keep "user-facing hashtags" distinct from "team scoping").{kinds: [31922], "#t": ["<my-teams>"]}to reduce noise, given that relay-side#tfiltering does work (unlike our customevent-typetag).a-tag on the task pointing at the team.Webapp surface
Non-goals (for this issue)
Open questions
categoriesor add a dedicatedteamsfield? The semantics overlap but conceptually "team" is "who this is for" and "category" is "what kind of work" — useful to keep them separate for filtering UX.aio:animal-chores) so they don't collide with arbitrary hashtags from other Nostr clients?