Repository navigation
feat(web): UX ports — truncation, timestamps, right-click open-diff, undo - #236
Closed
TheDarkPhantom wants to merge 7 commits into
Closed
TheDarkPhantom wants to merge 7 commits into
TheDarkPhantom wants to merge 7 commits into
Conversation
Hand-ported from upstream t3code pingdotgg#12805. Adds a MiddleTruncate component that keeps the meaningful ends of branch names and paths (dates, file names) instead of tail-cutting them, and wires it into the branch toolbar, branch selector, and changed-files tree. ThreadCommandSubtitle and WorktreeSetupCard call sites are omitted (absent in this fork). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hand-ported from upstream t3code pingdotgg#8641. Adds a hover-revealed timestamp with a full-date tooltip to turn-fold rows, matching the message-row treatment. The upstream tool-row and work-entry timestamps are not ported: this fork's timeline uses a different work-row model (a show-more toggle without a per-row timestamp) and has no PlainWorkEntryRow, so only the turn-fold case maps cleanly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hand-ported from upstream t3code pingdotgg#11842. Adds a fileContextMenu module (reveal in file manager, open with editor) wired into the file browser and the changed-files diff tree. Adapted to the fork: reveal rides the file-manager editor id rather than upstream's shellRevealInFileManager server flag (absent here), and path resolution matches openDiffFilePrimaryAction. The DiffPanel call site is left for a follow-up. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hand-ported from upstream t3code pingdotgg#12848 onto the fork's thread-action layer. Archiving or snoozing a thread now shows an Undo toast, and mod+z undoes the most recent one (yielding to native undo inside text fields). Reconciles with the existing Ctrl+Shift+T reopen-last-archived chord, which stays and walks archive history. Settle is left silent, matching the fork's high-frequency design, so only archive and snooze get undo toasts. Ports threadUndo (claim supersession), showUndoToast (rebuilt on the fork's stackedThreadToast), and editableFocus, plus a thread.undo / mod+z keybinding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second batch of the 2026-09 upstream backport: the UX features that needed hand-adaptation to the fork's structure. Stacked on #235.
What landed
MiddleTruncatewired into the branch toolbar, branch selector, and changed-files tree.fileContextMenumodule (reveal in file manager, open with editor) wired into the file browser and the changed-files diff tree.threadUndo(claim supersession),showUndoToast(rebuilt on the fork'sstackedThreadToast), andeditableFocus.Scoped down during execution (fork differences)
file-managereditor id, not upstream's absentshellRevealInFileManagerflag; the DiffPanel call site is left for a follow-up.ThreadCommandSubtitle/WorktreeSetupCardare absent in this fork and omitted.Verification
tsgoclean forapps/web,packages/contracts,packages/shared.middle-truncate,fileContextMenu,threadUndo(new),MessagesTimeline.logic,ChangedFilesTree,keybindings,useThreadActions,parseChangelog.vp run check:avicodepasses.🤖 Generated with Claude Code