You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A plain ordered workflow-ID list (shared/store.ts's pinnedWorkflowIds,
persisted via the existing zustand `persist` localStorage tier, same
pattern as goal 0033's activeWorkTabKey) with a togglePinnedWorkflow
action. app/workflowFrecency.ts gains sortWorkflowsByPinnedAndFrecency,
partitioning pinned rows (in pin order) above the existing
frecency-sorted unpinned tail rather than a second ranking algorithm.
A subtle Primer PinIcon toggle lands on both the Quick Panel's and the
⌘K palette's workflow rows -- muted outline unpinned, accent-colored
once pinned. Along the way, found and fixed a real Primer interaction
bug: ActionList.Item's TrailingVisual wraps children in a VisualWrap
span with pointer-events: none (trailing visuals are decorative-only
by the library's own convention), which silently ate every click on
the toggle until pointer-events: auto was added back on the button
itself.
Vitest covers the pinned-above-frecency/pin-order/dropped-stale-id/
no-mutation cases; quick-panel.spec.ts gained a full
pin-sorts-above-frecency -> unpin-reverts -> persists-across-reload
e2e case.
Claude-Session: https://claude.ai/code/session_018pkViCNAuZp2vBv2K9AbUh
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
// eslint-disable-next-line react-hooks/exhaustive-deps -- commandEntry/workflowEntries/tabEntries close over workflows/nodeTypes/requests/workTabs/mostUsedRank/t, already listed
// eslint-disable-next-line react-hooks/exhaustive-deps -- commandEntry/workflowEntries/tabEntries close over workflows/nodeTypes/requests/workTabs/mostUsedRank/pinnedWorkflowIds/togglePinnedWorkflow/t, already listed
@@ -410,8 +433,8 @@ export function QuickPanel() {
410
433
run: applyFromClipboard,
411
434
})
412
435
returnentries
413
-
// eslint-disable-next-line react-hooks/exhaustive-deps -- runWorkflow/jumpToConfigure/openMain/applyFromClipboard close over state already listed or are stable
// eslint-disable-next-line react-hooks/exhaustive-deps -- runWorkflow/jumpToConfigure/openMain/applyFromClipboard/togglePinnedWorkflow close over state already listed or are stable
0 commit comments