Repository navigation
Let parent thread titles use the hidden quick-action space - #5530
Merged
Merged
Conversation
Parent rows with children kept a permanent right padding equal to the quick-action strip, even while the actions were invisible. The padding kept the disclosure chevron, which follows the title, from sliding under Archive when the actions appeared, but it truncated every long parent title about 30px early. Parent rows now reserve nothing. Quick actions stay at the trailing end when they fit beside the chevron. When the chevron would sit under them, a ResizeObserver measures the overlap and the actions open just left of the chevron instead, over the end of the title, which fades out under a mask while the actions are revealed. The chevron never moves and stays above the action overlay, so its hit target is unchanged. Leaf, cross-project and archived rows keep their existing behavior, and touch layouts (hover: none) are unaffected. Fixes #5125 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Closed
3 tasks done
3 tasks done
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.
Human comments
What was wrong
Parent thread rows in the sidebar always reserved 30px on the right for their quick actions, even while those actions were hidden (opacity 0), so long parent titles truncated well before the leaf titles around them (#5125).
What changed
ResizeObserverper parent row detects that overlap; short titles keep the actions at the row's end.Fixes #5125
How you verified
d722659a2); it touches only the thread-list row, its test and the shared hover-actions mask, none of the app-frame files.sidebar/Thread liststory in Chrome for Testing: parent rows with long, mid-length and short titles, at rest, hovered and keyboard-focused. Measured: at rest the long parent title is 200px wide (was 170px), level with leaf titles; hovering moves neither the title nor the arrow, and a click at the arrow's center still hits Expand/Collapse.experimental_ThreadStatusGlyphis added to Ladle's plugin SDK shim (apps/app/.ladle/plugin-sdk-app.ts); that is a separate pre-existing break on main, not touched here.Before and after
Captured from this diff on its earlier base · 2× PNGs, same story fixture and state in each pair.
Supersedes #5460, which was a layer of the app-frame stack; this change doesn't depend on the frame changes.
BB-Thread-ID: thr_eigbyjruhs
🤖 Generated with Claude Code