fix(workspace): audit fixes — dedupe failure chip, width-guard mentor overlay, a11y, NSColor bridge (#87)
Reviewer fan-out (ponytail/security/general) synthesis: - one failure surface in focus (chip carries it; toolbar stays recessed) - draft '⌘S saves' cue in focus (drafts have no autosave) - mentor reveal honors the #17 width verdict - hidden overlay panels leave the accessibility tree - NSColor(DesignTokens.background) bridge replaces the twin constant - HoverZone width plumbing deleted, zoneWidth hoisted as the knob - single >=1100 threshold read in WorkspaceView
This commit is contained in:
1 parent
9c2926f027
commit
d07d41859a
6 files changed
+51
-48
No files matched your search
@@ -19,13 +19,6 @@ enum DesignTokens {
|
||||
|
||||
static let radius: CGFloat = 10
|
||||
|
||||
/// #21: NSColor twin of `background` — the focus-mode editor ground
|
||||
/// (NSColor can't be derived from SwiftUI Color at runtime).
|
||||
/// ponytail: nonisolated(unsafe) — NSColor isn't Sendable; never mutated.
|
||||
nonisolated(unsafe) static let workspaceBackground = NSColor(
|
||||
red: 0xFA / 255, green: 0xFA / 255, blue: 0xF7 / 255, alpha: 1,
|
||||
)
|
||||
|
||||
/// The workspace grid: rail | posts library | editor | mentor (grid-template-columns
|
||||
/// `56px 232px minmax(420px, 1fr) 356px`). Editor min (420) has no enforcement
|
||||
/// yet — the editor column arrives with #19.
|
||||
|
||||
Reference in new issue
Block a user