Skip to content

Per-thread tags: categorize threads (user-defined) #789

Closed

Description

@currentbits

User feedback: "can we move and categorize items in environment". Moving threads between projects is not feasible (ThreadInfo.projectId is immutable, thread bound to git worktree). Instead: per-thread tags.

Activity

  1. currentbits commented on Aug 29, 2026

    @currentbits
    OwnerAuthor

    Implemented on branch coder/fork-i-got-this-feedback-i-got-this-feed-bdd3fd:

    • ThreadInfo.tags: string[] + threads.setTags declared in all six IPC spots (ipc.ts, ipcChannels.ts, preload.js, ipc.js, services.js, store.js default)
    • services.setTags normalizes: trim, lowercase, dedupe, 12 tags / 24 chars caps, rejects non-array + unknown thread, never bumps updatedAt
    • Thread card menu gains 'Edit tags' → inline chip editor (Enter adds, ×/Backspace removes, Escape cancels, blur commits draft)
    • Sidebar GroupBy gains 'tag' (multi-tag thread appears under each tag, Untagged group last); new Tag filter in the filter row, self-clears when the tag vanishes
    • Tests: sidebarFilters (grouping/filter/normalization), sidebar.test.tsx (chips, editor, group-by, filter), electron services.test.js

    Also repaired pre-existing merge breakage from ec7002e that this work was blocked on: devCoder.ts broken spread ternary (killed tsc + the whole renderer suite) and duplicate listBaseBranches/listBranches declarations it was masking.

    Known unrelated reds: 4 ThreadView Focus/Summary mode (#461) tests fail — broken by merge beb5af5, invisible while the renderer suite was dead. Filed as a follow-up.

  2. added
    plan:done
    and removed
    plan:doing
    on Sep 6, 2026
  3. currentbits commented on Sep 6, 2026

    @currentbits
    OwnerAuthor

    Shipped. ThreadInfo.tags + threads.setTags is declared across IPC, store, and services; Sidebar renders and edits tags. services.setTags trims, lowercases, dedupes, and caps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions