8000 Remove undo/redo transport buttons (keyboard-only) by johannboehme · Pull Request #147 · johannboehme/tk-1 · GitHub
[go: up one dir, main page]

Skip to content

Remove undo/redo transport buttons (keyboard-only) - #147

Merged
johannboehme merged 1 commit into
mainfrom
claude/remove-undo-redo-buttons-50ab64
Jul 11, 2026
Merged

johannboehme merged 1 commit into
mainfrom
claude/remove-undo-redo-buttons-50ab64

Conversation

@johannboehme
Copy link
Copy Markdown
Owner

Was

Die neuen Undo/Redo-Buttons in der Transport-Bar haben das Layout zerschossen. Dieser PR entfernt die beiden Buttons wieder. Undo/Redo bleibt vollständig per Tastenkombi erhalten (Cmd/Ctrl+Z, Cmd/Ctrl+Shift+Z) — nur die On-Screen-Buttons fallen weg.

Änderungen

  • Undo/Redo-Button-Block (desktop-only) aus TransportBar.tsx entfernt, inkl. des zugehörigen Dividers
  • Nicht mehr genutzte Imports aufgeräumt: history-Funktionen, UndoIcon/RedoIcon, sowie die history-Store-Subscription
  • TransportBar.undo.test.tsx gelöscht (testete ausschließlich die Buttons)

Bleibt unangetastet

  • Keyboard-Handler in Editor.tsx
  • Das history-Modul
  • Die Shortcut-Hilfe-Einträge (rendern die Icons weiterhin)

Verifikation

  • tsc --noEmit: sauber
  • Vitest: 16 Files, 141 Tests grün

🤖 Generated with Claude Code

The two undo/redo buttons broke the transport-bar layout. Undo/redo
stays available via the existing Cmd/Ctrl+Z and Cmd/Ctrl+Shift+Z
shortcuts; only the on-screen buttons are removed.

- Remove the desktop-only undo/redo button block from TransportBar
- Drop the now-unused history imports, Undo/RedoIcon imports, and the
  history store subscription
- Delete TransportBar.undo.test.tsx (exercised only the buttons)

Keyboard handlers (Editor.tsx), the history module, and the shortcut
help entries (which still render the icons) are untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
86B6
@johannboehme
johannboehme merged commit 24bacbd into main Jul 11, 2026
1 check passed
@johannboehme
johannboehme deleted the claude/remove-undo-redo-buttons-50ab64 branch July 11, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0