The board learns to zoom — eight rungs on one ruler, and Actual Size is the untouched board
View ▸ Zoom In / Zoom Out / Actual Size (⌘+ / ⌘− / ⌘0): 75%–200% in eight rungs, app-wide and persisted (the Show Comments precedent) — a viewing comfort, not a property of any one board. The level travels as BoardZoomContext in the environment, injected on BoardView alone so the banner strip, search bar, sheets and popovers stay at the system size; the environment is also what carries it through CardFaceView's equality gate, which compares nothing that moves with the level. Every BoardMetrics figure follows zoom.bodyPointSize — card and lane chrome, drag replicas and the count badge, the resize handle, the trash column — and the drop registry carries the ruler for event-time reads, with the autoscroller's three reaches turning font-derived (reachSide named as the stripGap it always equalled). Lanes still divide the window; zoom never moves the window or its floor. The toolbar gains a catalog-only Zoom In/Out pair mirroring the menu rows' predicate; zoom holds shut mid-drag (frozen geometry), each rung announces itself to VoiceOver, and the render suite pins both invariants: a rung repaints every face, a no-op Actual Size repaints nothing. Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
@@ -177,6 +177,18 @@ enum AccessibilityPhrases {
|
||||
shown ? "Trash shown" : "Trash hidden"
|
||||
}
|
||||
|
||||
/// What View ▸ Zoom In / Zoom Out / Actual Size announces — "a zoom change announces its new
|
||||
/// level" (10-accessibility.md ▸ Text scaling).
|
||||
///
|
||||
/// `trashVisibility`'s rule exactly, and for its reason: the resulting *state* rather than the
|
||||
/// action, because three commands and two toolbar buttons all land on one ladder and what a user
|
||||
/// needs to hear is which rung they are on — not that something moved. It is also the only signal
|
||||
/// there is: nothing gains or loses focus, no element's label or value changes, and the whole
|
||||
/// effect is a redraw a VoiceOver user cannot see.
|
||||
static func zoomLevel(_ percent: String) -> String {
|
||||
"Zoom \(percent)"
|
||||
}
|
||||
|
||||
// MARK: - Live board announcements
|
||||
|
||||
/// "3 lanes", "1 lane" — `cardCount`'s twin, and the second half of the digest's plural folding.
|
||||
|
||||
Reference in New Issue
Block a user