Skip to content

Help and status row: archived location, g target, skipped done marks (#174) - #192

Open
smarzban wants to merge 1 commit into
mainfrom
tsk/t215-help-and-messages-archived
Open

smarzban wants to merge 1 commit into
mainfrom
tsk/t215-help-and-messages-archived

Conversation

@smarzban

@smarzban smarzban commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Fixes findings 1–3 of #174 (finding 4, the sidebar not keeping the done drawer, stays as designed).

What changed

  1. Help (?): ctrl+f reads archive / restore (archived: d drawer), so it says where archived tasks live.
  2. Help: g reads fold inbox; archived when drawer open.
  3. ctrl+s on a marked set that holds done tasks now says so on the status row: started N · skipped M done (ctrl+n or ctrl+o reopens them). This also covers a set of only done tasks, which used to do nothing with no message. Without marks, and for skipped started/blocked/review tasks, nothing changes.

Docs: keys.md, board.md, CHANGELOG (Unreleased › Fixed), and the web demo's help rows and bulk start message (the demo uses bare keys, n or o).

Labels are kept to ≤ 38 cells so they fit the 58-cell help card (help_card_lines_fit_the_modal_body_at_every_size). The existing help-search test typed drawer; that now also matches ctrl+f, which sorts first and pushed done drawer below the compact card. The test now types done drawer.

Proof

  • queue_board_verbs::bulk_start_names_skipped_done_marks_on_the_status_row and queue_board_verbs::help_names_where_archived_tasks_live_and_what_g_folds. Both fail with the fix reverted by hand, and pass with it.
  • Green bar cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo test: green. Also green: cargo clippy --all-targets --target x86_64-pc-windows-gnu -- -D warnings, site: npm test (49/49) and npm run test:parity (46/46).
  • Live Herdr smoke: below.

Before / after

Binaries: /tmp/tsk-t215-before (origin/main 39e3a8e, release) and /tmp/tsk-t215-after (this branch, release). Each runs against its own seeded state (/tmp/tsk-t215-state-before, -after), with T1 ready and T2/T3 done on the desk. Scenario: 1, d, shift+M, mark T1, T3 and T2, then ctrl+s. Real Herdr pane captures:

Before (main): T1 starts, the two done marks are dropped silently. The status row only shows desk.

 IN MOTION ──────────────────────────────────────────────2
  ● T1 ready one
  ● N2 Make a task, open it, check off steps
 ...
 DONE ───────────────────────────────────────────────────2
  ✓ T3 done two
▸ ✓ T2 done one
─────────────────────────────────────────────────────────
 desk                                                  → task pane
 enter open · ctrl+n next · ctrl+o inbox · ctrl+u undo · ? help

After (branch):

 IN MOTION ──────────────────────────────────────────────2
  ● T1 ready one
  ● N2 Make a task, open it, check off steps
 ...
 DONE ───────────────────────────────────────────────────2
  ✓ T3 done two
▸ ✓ T2 done one
─────────────────────────────────────────────────────────
 started 1 · skipped 2 done (ctrl+n or ctrl+o reopens them)   → task pane
 enter open · ctrl+n next · ctrl+o inbox · ctrl+u undo · ? help

Help, ? then type archive. Before:

 TASK ACTIONS
 ctrl+f             archive
 VIEWS & FIND
 g                  inbox / archived

After:

 TASK ACTIONS
 ctrl+f             archive / restore (archived: d drawer)
 VIEWS & FIND
 g                  fold inbox; archived when drawer open

How to test

Already running in Herdr. Workspace of T215 (w9F), tabs before and after. Each tab has a board open on the desk with the done drawer open and T1, T3, T2 marked (multi-select · 3 selected).

  • Press ctrl+s in each. Expected: before shows desk on the status row; after shows started 1 · skipped 2 done (ctrl+n or ctrl+o reopens them).
  • Then press ? and type archive. Compare the ctrl+f and g rows with the captures above. esc esc closes Help.

From scratch, against throwaway state only:

bash /tmp/tsk-t215-seed.sh     # recreates /tmp/tsk-t215-state-{before,after}: T1 ready, T2+T3 done (desk)
env TSK_STATE_DIR=/tmp/tsk-t215-state-before TSK_CONFIG_DIR=/tmp/tsk-t215-state-before /tmp/tsk-t215-before
env TSK_STATE_DIR=/tmp/tsk-t215-state-after  TSK_CONFIG_DIR=/tmp/tsk-t215-state-after  /tmp/tsk-t215-after

On each board: 1 (desk), d (drawer), shift+M, move to T1 and press space, do the same on T3 and T2, then press ctrl+s. Read the status row above the footer. Check the docs in site/src/content/docs/docs/keys.md (Board table and the multi-select paragraph) and board.md.

@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
herdr-tsk Ready Ready Preview Oct 9, 2026 11:42pm UTC

This branch was successfully deployed

1 active deployment
Preview — 668707f3 Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant