fix/cell-editing-optimistic
Makefile
+9 −2
MakefileLoading diff…
docs/superpowers/specs/2026-08-30-sheets-design.md
+24 −1
docs/superpowers/specs/2026-08-30-sheets-design.mdLoading diff…
internal/sheets/static/clipboard.js
+3 −2
internal/sheets/static/clipboard.jsLoading diff…
internal/sheets/static/commands.js
+5 −2
internal/sheets/static/commands.jsLoading diff…
internal/sheets/static/grid.js
+31 −31
internal/sheets/static/grid.jsLoading diff…
internal/sheets/static/sheets.css
+18 −0
internal/sheets/static/sheets.cssLoading diff…
internal/sheets/static/typestart.js
+172 −0
internal/sheets/static/typestart.jsLoading diff…
internal/sheets/templates/sheet.html
+1 −0
internal/sheets/templates/sheet.htmlLoading diff…
internal/sheets/typestart_browser_test.go
+183 −0
internal/sheets/typestart_browser_test.goLoading diff…
internal/sheets/typestart_leave_browser_test.go
+270 −0
internal/sheets/typestart_leave_browser_test.goLoading diff…
native/README.md
+18 −6
native/README.mdLoading diff…
native/apple/Sources/SheetsKit/Resources/ar.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/ar.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/bn.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/bn.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/en.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/en.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/es.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/es.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/ga.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/ga.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/hi.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/hi.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/ja.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/ja.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/pt.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/pt.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/ru.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/ru.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/vi.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/vi.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/yue.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/yue.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/Resources/zh-Hans.lproj/Mac.strings
+5 −0
native/apple/Sources/SheetsKit/Resources/zh-Hans.lproj/Mac.stringsLoading diff…
native/apple/Sources/SheetsKit/SheetAutoSize.swift
+1 −1
native/apple/Sources/SheetsKit/SheetAutoSize.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetCell.swift
+125 −38
native/apple/Sources/SheetsKit/SheetCell.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetCellEditor.swift
+15 −4
native/apple/Sources/SheetsKit/SheetCellEditor.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetClipboard.swift
+9 −9
native/apple/Sources/SheetsKit/SheetClipboard.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetCloseGuard.swift
+29 −3
native/apple/Sources/SheetsKit/SheetCloseGuard.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetEditingControls.swift
+22 −5
native/apple/Sources/SheetsKit/SheetEditingControls.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetFiles.swift
+2 −1
native/apple/Sources/SheetsKit/SheetFiles.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetFormatMenu.swift
+1 −1
native/apple/Sources/SheetsKit/SheetFormatMenu.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetGrid.swift
+462 −133
native/apple/Sources/SheetsKit/SheetGrid.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetKeySink.swift
+230 −0
native/apple/Sources/SheetsKit/SheetKeySink.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetModel.swift
+69 −27
native/apple/Sources/SheetsKit/SheetModel.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetTable.swift
+3 −3
native/apple/Sources/SheetsKit/SheetTable.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetTypeAhead.swift
+138 −0
native/apple/Sources/SheetsKit/SheetTypeAhead.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetWire.swift
+1 −1
native/apple/Sources/SheetsKit/SheetWire.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetWrites.swift
+240 −38
native/apple/Sources/SheetsKit/SheetWrites.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetsDocumentMenu.swift
+1 −1
native/apple/Sources/SheetsKit/SheetsDocumentMenu.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetsEditorCommands.swift
+2 −2
native/apple/Sources/SheetsKit/SheetsEditorCommands.swiftLoading diff…
native/apple/Sources/SheetsKit/SheetsWorkspace.swift
+7 −15
native/apple/Sources/SheetsKit/SheetsWorkspace.swiftLoading diff…
native/apple/Sources/SheetsReview/Review.swift
+6 −0
native/apple/Sources/SheetsReview/Review.swiftLoading diff…
native/apple/Tests/SheetsKitTests/EditingTests.swift
+0 −17
native/apple/Tests/SheetsKitTests/EditingTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/FirstKeystrokeTests.swift
+411 −0
native/apple/Tests/SheetsKitTests/FirstKeystrokeTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/GridGeometryTests.swift
+216 −0
native/apple/Tests/SheetsKitTests/GridGeometryTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/KeySinkTests.swift
+150 −0
native/apple/Tests/SheetsKitTests/KeySinkTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/OptimisticEditTests.swift
+379 −0
native/apple/Tests/SheetsKitTests/OptimisticEditTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/SheetNativeInteractionTests.swift
+15 −7
native/apple/Tests/SheetsKitTests/SheetNativeInteractionTests.swiftLoading diff…
native/apple/Tests/SheetsKitTests/SheetServerFixture.swift
+161 −0
native/apple/Tests/SheetsKitTests/SheetServerFixture.swiftLoading diff…
native/ios/UITests/NativeUITests.swift
+7 −4
native/ios/UITests/NativeUITests.swiftLoading diff…