Skip to content

[TUI] Feature — Offline Notes on Issues #19

@0xheartcode

Description

@0xheartcode

Overview

When browsing issues (online or offline), you often want to jot down thoughts — "this is related to the auth refactor," "ask Sarah about this on Monday." Currently there's nowhere to put these except a separate note-taking app.

Current State

No local note-taking capability. No way to annotate issues without writing a public comment via the GitHub web UI.

Proposed Solution

Add local-only notes that attach to any item in the cache. Notes are never pushed to GitHub/GitLab — they live exclusively in the local cache database.

  • No risk of corrupting or modifying remote data
  • Notes work offline (local storage only)
  • Notes are instant (no API roundtrip)
  • Notes persist across sessions

In the TUI, pressing n on any focused item opens a text editor area. The note is saved keyed to that item's unique identifier (provider + project + item ID). Notes appear alongside issue data, visually distinct (different color, labeled "local note"). Notes are searchable via lazydash recall.

type Note struct {
    ItemID    string    // provider:project:item unique key
    Content   string
    CreatedAt time.Time
    UpdatedAt time.Time
}

Priority

Do after cache and search are working. Natural extension of the cache.

Acceptance Criteria

  • n keybinding opens a note editor for the focused item
  • Notes are saved to the local cache database
  • Notes are never synced or pushed to any remote API
  • Notes are visible in the item detail view, visually distinct from remote content
  • Notes are searchable via lazydash recall

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionalitymedium-effortHours of worktuiTerminal UI / bubbletea

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions