oficina / docs Public

feat/native-s2a-mac-window

docs/superpowers/specs/2026-11-22-native-redesign-design.md +1 −1
docs/superpowers/specs/2026-11-22-native-redesign-design.md

Loading diff…

native/apple/Sources/DocsApp/DocsAccountWindow.swift +6 −1
native/apple/Sources/DocsApp/DocsAccountWindow.swift

Loading diff…

native/apple/Sources/DocsApp/DocsApp.swift +1 −1
native/apple/Sources/DocsApp/DocsApp.swift

Loading diff…

native/apple/Sources/DocsApp/DocsDocumentWindow.swift +15 −1
native/apple/Sources/DocsApp/DocsDocumentWindow.swift

Loading diff…

native/apple/Sources/DocsApp/DocsWindowCommands.swift +1 −0
native/apple/Sources/DocsApp/DocsWindowCommands.swift

Loading diff…

native/apple/Sources/DocsApp/DocsWindows.swift +3 −0
native/apple/Sources/DocsApp/DocsWindows.swift

Loading diff…

native/apple/Sources/DocsKit/DocsDesk.swift +147 −0
native/apple/Sources/DocsKit/DocsDesk.swift

Loading diff…

native/apple/Sources/DocsKit/DocsDocumentHeader.swift +360 −0
native/apple/Sources/DocsKit/DocsDocumentHeader.swift

Loading diff…

native/apple/Sources/DocsKit/DocsDocumentMenu.swift +21 −5
native/apple/Sources/DocsKit/DocsDocumentMenu.swift

Loading diff…

native/apple/Sources/DocsKit/DocsEditorCommands.swift +62 −27
native/apple/Sources/DocsKit/DocsEditorCommands.swift

Loading diff…

native/apple/Sources/DocsKit/DocsEditorContext.swift +5 −1
native/apple/Sources/DocsKit/DocsEditorContext.swift

Loading diff…

native/apple/Sources/DocsKit/DocsFormatInspector.swift +255 −0
native/apple/Sources/DocsKit/DocsFormatInspector.swift

Loading diff…

native/apple/Sources/DocsKit/DocsJumpControls.swift +7 −0
native/apple/Sources/DocsKit/DocsJumpControls.swift

Loading diff…

native/apple/Sources/DocsKit/DocsModel.swift +78 −7
native/apple/Sources/DocsKit/DocsModel.swift

Loading diff…

native/apple/Sources/DocsKit/DocsOficinaID.swift +11 −0
native/apple/Sources/DocsKit/DocsOficinaID.swift

Loading diff…

native/apple/Sources/DocsKit/DocsPagedTextView.swift +3 −1
native/apple/Sources/DocsKit/DocsPagedTextView.swift

Loading diff…

native/apple/Sources/DocsKit/DocsSubtitle.swift +202 −0
native/apple/Sources/DocsKit/DocsSubtitle.swift

Loading diff…

native/apple/Sources/DocsKit/DocsToolsControls.swift +68 −38
native/apple/Sources/DocsKit/DocsToolsControls.swift

Loading diff…

native/apple/Sources/DocsKit/DocsWorkspace.swift +90 −37
native/apple/Sources/DocsKit/DocsWorkspace.swift

Loading diff…

native/apple/Sources/DocsKit/DocumentCommands.swift +1 −1
native/apple/Sources/DocsKit/DocumentCommands.swift

Loading diff…

native/apple/Sources/DocsKit/NativeDocumentTextView.swift +7 −3
native/apple/Sources/DocsKit/NativeDocumentTextView.swift

Loading diff…

native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ar.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/ar.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/bn.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/bn.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/en.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/en.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/es.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/es.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ga.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/ga.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/hi.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/hi.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ja.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/ja.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/pt.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/pt.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ru.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/ru.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/vi.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/vi.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/yue.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/yue.lproj/Mac.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.strings +18 −0
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Mac.strings +0 −20
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Mac.strings

Loading diff…

native/apple/Tests/DocsKitTests/DocsAccessTests.swift +132 −0
native/apple/Tests/DocsKitTests/DocsAccessTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsDeskLayoutTests.swift +60 −0
native/apple/Tests/DocsKitTests/DocsDeskLayoutTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swift +74 −0
native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsInspectorStyleTests.swift +18 −0
native/apple/Tests/DocsKitTests/DocsInspectorStyleTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsRenameTests.swift +89 −0
native/apple/Tests/DocsKitTests/DocsRenameTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsSubtitleTests.swift +115 −0
native/apple/Tests/DocsKitTests/DocsSubtitleTests.swift

Loading diff…

native/apple/Tests/DocsSnapshots/EditorSnapshots.swift +33 −6
native/apple/Tests/DocsSnapshots/EditorSnapshots.swift

Loading diff…

native/apple/Tests/DocsSnapshots/WindowSnapshots.swift +145 −0
native/apple/Tests/DocsSnapshots/WindowSnapshots.swift

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-150-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-150-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-150-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-150-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-paged-150-heading-break-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-paged-150-heading-break-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-paged-150-heading-break-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-paged-150-heading-break-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-pageless-150-heading-break-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-pageless-150-heading-break-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-pageless-150-heading-break-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-editor/mac/editor-pageless-150-heading-break-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/ENVIRONMENT +9 −0
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/ENVIRONMENT

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ar-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ar-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ar-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ar-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ru-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ru-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ru-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/subtitles-ru-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-callout-narrow-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-callout-narrow-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-callout-narrow-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-callout-narrow-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-closed-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-closed-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-closed-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-closed-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ar-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ar-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ar-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ar-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-narrow-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-narrow-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-narrow-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-narrow-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ru-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ru-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ru-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-format-open-ru-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-reader-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-reader-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-reader-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-reader-light-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-unavailable-dark-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-unavailable-dark-default.png

Loading diff…

native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-unavailable-light-default.png binary
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/window-unavailable-light-default.png

Loading diff…

native/apple/Tests/DocsWindowTests/DocsWindowCloserTests.swift +45 −0
native/apple/Tests/DocsWindowTests/DocsWindowCloserTests.swift

Loading diff…

native/apple/Tests/DocsWindowTests/DocumentWindowChromeTests.swift +221 −0
native/apple/Tests/DocsWindowTests/DocumentWindowChromeTests.swift

Loading diff…

native/apple/Tests/DocsWindowTests/SignedInLaunchTests.swift +17 −0
native/apple/Tests/DocsWindowTests/SignedInLaunchTests.swift

Loading diff…

native/smoke/document-window/Sources/HeaderSpike.swift +197 −0
native/smoke/document-window/Sources/HeaderSpike.swift

Loading diff…

native/smoke/document-window/Sources/Smoke.swift +33 −9
native/smoke/document-window/Sources/Smoke.swift

Loading diff…