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:
AlexKucera committed 2026-10-09 11:42:14 +02:00
1 parent 9c2926f027
commit d07d41859a
6 files changed
+51 -48

No files matched your search

+6 -3
View File
@@ -37,11 +37,14 @@ struct PostsPaneView: View {
if gate.isFocused {
// #21: columns recede; the editor surface + centered measure on
// the workspace background is all that remains. The mentor
// returns by right-edge hover (overlay below).
// returns by right-edge hover (overlay below) — only while the
// width budget grants it (#17's collapse verdict stands here too).
ZStack(alignment: .trailing) {
editorColumn
FocusOverlayPanel(edge: .trailing, panelWidth: DesignTokens.mentorWidth) {
mentorColumn
if showsMentor {
FocusOverlayPanel(edge: .trailing, panelWidth: DesignTokens.mentorWidth) {
mentorColumn
}
}
}
} else {