Idea: private side-notes
Status: built. Browser-local for now (IndexedDB). Notes and folders both verified
by hand in a browser.
A private scratch surface that is always one click away. Present on any page,
parked in a right sidebar that is hidden by default. It holds several note
pages, each plain markdown, and it is the user's alone: nothing here reaches the
project repo or other members.
Shape
- Right sidebar, hidden by default, toggled from the chrome.
- A vertical list of note pages, one item each.
- An item expands into a markdown surface with edit and preview, the same pair
the issue popup already uses. - Expanded, the item grows to 80% of the sidebar height, so the rest of the list
stays visible around it.
flowchart LR
P[Any page] --> S[Right sidebar<br/>hidden by default]
S --> L[Vertical item menu]
L --> N1[Note page]
L --> N2[Note page<br/>expanded to 80% height<br/>edit and preview]
Folders
Status: built. Same browser-local store, same sidebar, sitting above the notes.
A folder is a personal tray of issues from one project. It is a carrier, not a
container in the project: nothing is written to .project/, and no issue moves
until the folder is dropped somewhere.
- Drag any issue onto the Folders area. Empty space makes a new folder, an
existing folder takes the issue. A fresh folder is unnamed until the user
names it. - A folder shows its issues as small tiles, number only, title on hover, with a
priority corner. The name is an editable caption under the tile. - Drag the folder onto a board column, a pile or a batch. Every issue it holds is
dropped there in turn, using that target's normal behavior. A folder can carry
issues from one project only, so a foreign drag is refused. - Once a drop applies, the sidebar asks whether to empty the folder. Keeping it
leaves the issues in place.
flowchart LR
I[Issue<br/>board, list or bottom panel] --> F[Folder<br/>private, browser-local]
F --> C[Board column]
F --> P[Pile]
F --> B[Batch]
C --> Q{Empty folder?}
P --> Q
B --> Q
Privacy
Private means per user, and not in .project/. The project store is shared git,
so anything written there becomes a commit every member can read. Two honest
options:
- Browser-local, IndexedDB, the pattern
web/app/drafts.tsalready uses. Truly
private and no server work, but it does not follow the user across devices or
browsers. - A per-user store on the server, keyed by uid and kept outside the project
clone. Needs a small API and a table, but survives a device change.
The first is the smaller step and can graduate to the second later.
Open questions
- Global, or scoped per project? "On any page" reads global, but a note pinned
to one project is also useful. - How many notes, and how large? A cap keeps the sidebar usable and bounds
local storage. - Does a note ever graduate into an issue? Sending a note to quick add is the
natural bridge, and the one place the two features touch. - Reuse the issue editor, or a lighter one of its own? The issue editor carries
frontmatter, labels and properties that a private note does not need.