Commit 4abcf04
feat: goal 0015 remainder — frecency, pending-review, Configure jump rows (Quick Panel) (#18)
Three of the four DoR-met remaining items land into the Quick Panel
(ADR-0033), not the ⌘K palette:
- Frecency sort (frequency-only): QuickPanel's workflow list ranks by
ExecutionService.HomeMetrics' mostUsed -- goal 0014's own value-mirror
substrate, reused rather than reinvented (app/workflowFrecency.ts,
unit-tested + proven live via e2e). Pins stayed out: no pin/favorite
concept exists anywhere in Mill (grepped first) -- recorded as its own
BACKLOG.md tech-debt line instead of inventing schema under this goal.
- Pending-review count: the Quick Panel is its own Wails window and
can't share App.tsx's reviewPendingCount effect -- a second,
independent read of ListRuns/PendingMCPWrites + the same two live
events, display-only (doesn't duplicate the main window's
SetPendingBadge/NotifyPendingApproval side effects). Proven e2e with
a real parked MCP write, asserting the badge updates live with no
reload.
- Configure entities: connectors/Lists/MCP Servers now render as
searchable/jumpable rows, landing the main window on the right
Configure tab via a new 'configure:<tab>' mill-navigate target
(app/useMillNavigate.ts, extracted out of App.tsx to stay under the
500-line convention; ConfigureView gained an initialTab prop).
Out of scope, recorded honestly rather than silently dropped: a
⌘?/⌘/ multi-binding keybinding alias (needs the 1:1 command↔binding
registry to become multi-binding) and pins/favorites (needs its own
schema decision) both get BACKLOG.md tech-debt lines; the ⌘K palette's
own inline-hotkey-per-row detail stays a named, untouched gap. Goal
0015's file stays open (not archived) until those land.
Also fixes a real, CI-blocking bug found live this session:
formatUpdated (shared/inventorySort.ts) silently ignored the `now`
override formatLastChecked (shared/staleness.ts) already threaded
through it, using the real wall clock instead -- staleness.test.ts's
hardcoded NOW anchor caught this for real once the actual clock
crossed a day boundary past it mid-session, flipping a "9 minutes ago"
expectation to "yesterday". now is threaded through properly now.
Claude-Session: https://claude.ai/code/session_018pkViCNAuZp2vBv2K9AbUh
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 2b4bfeb commit 4abcf04
13 files changed
Lines changed: 594 additions & 35 deletions
File tree
- docs
- goals
- frontend
- e2e
- src
- app
- configure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2491 | 2491 | | |
2492 | 2492 | | |
2493 | 2493 | | |
2494 | | - | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
2495 | 2507 | | |
2496 | 2508 | | |
2497 | 2509 | | |
| |||
2540 | 2552 | | |
2541 | 2553 | | |
2542 | 2554 | | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
2547 | 2572 | | |
2548 | 2573 | | |
2549 | 2574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
0 commit comments