tag prefixing via @ and #

This commit is contained in:
2026-02-27 10:22:28 -06:00
parent 3907de048b
commit 3826a2cbe2
6 changed files with 39 additions and 72 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ export const TaskCard: Component<{ task: Task }> = (props) => {
if (typeof ctx === 'object' && 'bucketId' in ctx) {
// We are in a bucket view. Hide the tag that matches this bucket's name.
const bucketName = (ctx as { name: string }).name.toLowerCase();
return tags.filter(t => t.toLowerCase() !== bucketName);
// Buckets are now tagged with '@' + name.
const bucketTagName = `@${(ctx as { name: string }).name.toLowerCase()}`;
return tags.filter(t => t.toLowerCase() !== bucketTagName);
}
return tags;