Show a note's tags under its title (#168) #213

Closed
kayg wants to merge 0 commits from issue/168-tags-merge into dev
Owner

Closes #168.

A quiet row of tag chips under a note's title, read from the frontmatter tags: field.

  • Tap a chip: opens that tag's list (same route as the sidebar's #tag rows).
  • +: opens a small picker (existing tags, or type a new one and press Return). The suggestions come from lib/tag-source.ts; #165's search-backed picker only has to replace tagSource.suggest.
  • x: on hover (pointer) it springs in at the chip's corner and takes no room; on touch it sits inside each chip (24px+ target).
  • Every change is a plain frontmatter edit through the note's live editor (setTags, like the Info sheet's properties), never a file write. The tag line keeps its shape (tags: a, b, [a, b] or a - a list); the last removed tag removes the field.
  • No tags, no row. Source mode hides the row (the frontmatter shows as it is). Inline #tags keep their own styling.
  • Phone: chips wrap whole, never mid-word; a very long tag is cut with an ellipsis inside its own chip.
  • Daily notes: the row follows the date heading widget (#148 owns the Today badge; no change to it here).

Tests: apps/web/e2e/tags.spec.ts (row order, open, add, remove, last removal, source mode, touch, overflow at 320/390/1440). Evidence on the issue.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

(Replaces #202, merged with current dev. Review on #202.)

Closes #168. A quiet row of tag chips under a note's title, read from the frontmatter `tags:` field. - Tap a chip: opens that tag's list (same route as the sidebar's #tag rows). - `+`: opens a small picker (existing tags, or type a new one and press Return). The suggestions come from `lib/tag-source.ts`; #165's search-backed picker only has to replace `tagSource.suggest`. - `x`: on hover (pointer) it springs in at the chip's corner and takes no room; on touch it sits inside each chip (24px+ target). - Every change is a plain frontmatter edit through the note's live editor (`setTags`, like the Info sheet's properties), never a file write. The tag line keeps its shape (`tags: a, b`, `[a, b]` or a `- a` list); the last removed tag removes the field. - No tags, no row. Source mode hides the row (the frontmatter shows as it is). Inline `#tags` keep their own styling. - Phone: chips wrap whole, never mid-word; a very long tag is cut with an ellipsis inside its own chip. - Daily notes: the row follows the date heading widget (#148 owns the Today badge; no change to it here). Tests: `apps/web/e2e/tags.spec.ts` (row order, open, add, remove, last removal, source mode, touch, overflow at 320/390/1440). Evidence on the issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T (Replaces #202, merged with current dev. Review on #202.)
Show a note's tags under its title (#168)
Some checks failed
CI / rust (pull_request) Failing after 22s
CI / web (pull_request) Failing after 10m7s
88c6e35f40
A quiet row of chips from the frontmatter tags: a chip opens that tag's list, the + picks a
tag (existing tags, or a new one), the x removes one. Every change is an edit of the
frontmatter through the live editor. No tags, no row; source mode shows the frontmatter itself.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Merge remote-tracking branch 'origin/dev' into issue/168-title-tags
Some checks failed
CI / rust (pull_request) Successful in 1m13s
CI / web (pull_request) Failing after 5m12s
8fbdba24ed
Author
Owner

Closing: this branch is already fully contained in dev (it landed through a merge train). Branch cleanup, 2026-10-15.

Closing: this branch is already fully contained in `dev` (it landed through a merge train). Branch cleanup, 2026-10-15.
kayg closed this pull request 2026-10-15 08:34:45 +00:00
Some checks failed
CI / rust (pull_request) Successful in 1m13s
CI / web (pull_request) Failing after 5m12s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!213
No description provided.