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.mdLoading diff…
native/apple/Sources/DocsApp/DocsAccountWindow.swift
+6 −1
native/apple/Sources/DocsApp/DocsAccountWindow.swiftLoading diff…
native/apple/Sources/DocsApp/DocsApp.swift
+1 −1
native/apple/Sources/DocsApp/DocsApp.swiftLoading diff…
native/apple/Sources/DocsApp/DocsDocumentWindow.swift
+15 −1
native/apple/Sources/DocsApp/DocsDocumentWindow.swiftLoading diff…
native/apple/Sources/DocsApp/DocsWindowCommands.swift
+1 −0
native/apple/Sources/DocsApp/DocsWindowCommands.swiftLoading diff…
native/apple/Sources/DocsApp/DocsWindows.swift
+3 −0
native/apple/Sources/DocsApp/DocsWindows.swiftLoading diff…
native/apple/Sources/DocsKit/DocsDesk.swift
+147 −0
native/apple/Sources/DocsKit/DocsDesk.swiftLoading diff…
native/apple/Sources/DocsKit/DocsDocumentHeader.swift
+360 −0
native/apple/Sources/DocsKit/DocsDocumentHeader.swiftLoading diff…
native/apple/Sources/DocsKit/DocsDocumentMenu.swift
+21 −5
native/apple/Sources/DocsKit/DocsDocumentMenu.swiftLoading diff…
native/apple/Sources/DocsKit/DocsEditorCommands.swift
+62 −27
native/apple/Sources/DocsKit/DocsEditorCommands.swiftLoading diff…
native/apple/Sources/DocsKit/DocsEditorContext.swift
+5 −1
native/apple/Sources/DocsKit/DocsEditorContext.swiftLoading diff…
native/apple/Sources/DocsKit/DocsFormatInspector.swift
+255 −0
native/apple/Sources/DocsKit/DocsFormatInspector.swiftLoading diff…
native/apple/Sources/DocsKit/DocsJumpControls.swift
+7 −0
native/apple/Sources/DocsKit/DocsJumpControls.swiftLoading diff…
native/apple/Sources/DocsKit/DocsModel.swift
+78 −7
native/apple/Sources/DocsKit/DocsModel.swiftLoading diff…
native/apple/Sources/DocsKit/DocsOficinaID.swift
+11 −0
native/apple/Sources/DocsKit/DocsOficinaID.swiftLoading diff…
native/apple/Sources/DocsKit/DocsPagedTextView.swift
+3 −1
native/apple/Sources/DocsKit/DocsPagedTextView.swiftLoading diff…
native/apple/Sources/DocsKit/DocsSubtitle.swift
+202 −0
native/apple/Sources/DocsKit/DocsSubtitle.swiftLoading diff…
native/apple/Sources/DocsKit/DocsToolsControls.swift
+68 −38
native/apple/Sources/DocsKit/DocsToolsControls.swiftLoading diff…
native/apple/Sources/DocsKit/DocsWorkspace.swift
+90 −37
native/apple/Sources/DocsKit/DocsWorkspace.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentCommands.swift
+1 −1
native/apple/Sources/DocsKit/DocumentCommands.swiftLoading diff…
native/apple/Sources/DocsKit/NativeDocumentTextView.swift
+7 −3
native/apple/Sources/DocsKit/NativeDocumentTextView.swiftLoading diff…
native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ar.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/ar.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/bn.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/bn.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/en.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/en.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/es.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/es.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ga.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/ga.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/hi.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/hi.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ja.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/ja.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/pt.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/pt.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/ru.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/ru.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/vi.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/vi.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/yue.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/yue.lproj/Mac.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.strings
+18 −0
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.stringsLoading diff…
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Mac.strings
+0 −20
native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Mac.stringsLoading diff…
native/apple/Tests/DocsKitTests/DocsAccessTests.swift
+132 −0
native/apple/Tests/DocsKitTests/DocsAccessTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsDeskLayoutTests.swift
+60 −0
native/apple/Tests/DocsKitTests/DocsDeskLayoutTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swift
+74 −0
native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsInspectorStyleTests.swift
+18 −0
native/apple/Tests/DocsKitTests/DocsInspectorStyleTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsRenameTests.swift
+89 −0
native/apple/Tests/DocsKitTests/DocsRenameTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsSubtitleTests.swift
+115 −0
native/apple/Tests/DocsKitTests/DocsSubtitleTests.swiftLoading diff…
native/apple/Tests/DocsSnapshots/EditorSnapshots.swift
+33 −6
native/apple/Tests/DocsSnapshots/EditorSnapshots.swiftLoading diff…
native/apple/Tests/DocsSnapshots/WindowSnapshots.swift
+145 −0
native/apple/Tests/DocsSnapshots/WindowSnapshots.swiftLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading diff…
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/ENVIRONMENT
+9 −0
native/apple/Tests/DocsSnapshots/__Snapshots__/docs-window/mac/ENVIRONMENTLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading 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.pngLoading diff…
native/apple/Tests/DocsWindowTests/DocsWindowCloserTests.swift
+45 −0
native/apple/Tests/DocsWindowTests/DocsWindowCloserTests.swiftLoading diff…
native/apple/Tests/DocsWindowTests/DocumentWindowChromeTests.swift
+221 −0
native/apple/Tests/DocsWindowTests/DocumentWindowChromeTests.swiftLoading diff…
native/apple/Tests/DocsWindowTests/SignedInLaunchTests.swift
+17 −0
native/apple/Tests/DocsWindowTests/SignedInLaunchTests.swiftLoading diff…
native/smoke/document-window/Sources/HeaderSpike.swift
+197 −0
native/smoke/document-window/Sources/HeaderSpike.swiftLoading diff…
native/smoke/document-window/Sources/Smoke.swift
+33 −9
native/smoke/document-window/Sources/Smoke.swiftLoading diff…