aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-07 06:31:05 -0500
committerCraig Jennings <c@cjennings.net>2026-06-07 06:31:05 -0500
commitc740e270721581120cc6e9317ab70dba40156820 (patch)
treeb198d208b442fefb7045750052b30ea3fdebbf45 /docs
parent24a84aa854917f7098631c3b1d3c735eab443731 (diff)
downloadpearl-c740e270721581120cc6e9317ab70dba40156820.tar.gz
pearl-c740e270721581120cc6e9317ab70dba40156820.zip
feat(render): show unsaved tickets with a field highlight and a count
Under the deferred save model a ticket can carry unsaved local edits with nothing on screen saying so. These are the first two phases of the modified-ticket indicator (docs/modified-ticket-indicator-spec.org). A pushable-dirty ticket gets a background highlight (pearl-modified-highlight, inheriting the theme's diff-changed) on its heading line, and on the description body when the description changed. The mode-line lighter gains a count rendered with the ticket glyph: "Pearl[work] 3 🎫 changed". Both ride the existing dirty scan and redecoration pass, clear on the next pass after a save, and never touch buffer text. The count is tickets, not fields: each ticket counts once however many of its fields changed, and only when it has pushable work (a dirty field, or an own comment once the viewer resolves), so it matches what save-all would push. Per-comment highlighting and the live after-change trigger come next. diff-changed was picked over diff-refine-changed after a cross-theme legibility survey; pearl now requires diff-mode for that face.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions