-
Notifications
You must be signed in to change notification settings - Fork 452
Fix issues related to the track borders #5484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5484 +/- ##
=======================================
Coverage 86.04% 86.04%
=======================================
Files 312 312
Lines 30368 30368
Branches 8299 8299
=======================================
Hits 26129 26129
Misses 3644 3644
Partials 595 595 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e4c3d5a to
b701676
Compare
julienw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good to me, included in high-contrast mode.
Can you please change the comment in line 174 too? As it's not reflecting the situation after this patch.
src/components/timeline/Track.css
Outdated
| /* We want the width to look like it's 150px, but need to substract the | ||
| * margin and the 1px border */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the comment is incorrect, it was copied from timelineTrackLabel.
It might be worth using variables for the global trrack's width (150px) and the local track's margin (15px), and still use a calc here for documentation purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it, thanks.
1055614 to
a4ba7fe
Compare
Previously it was doing a lot more `calc`s because it was happening in the parent div. This commit changes the box-shadow into an inset box-shadow so we don't have to change the width all the time. But we still need to change the width once to remove the left border for the local tracks.
…ldren instead Adding the border to the children, so we can right click on the left track label and that would still open the context menu.
a4ba7fe to
b40d197
Compare
Changes: [Nazım Can Altınova] Fix issues related to the track borders (#5484) [Nazım Can Altınova] Remove the active tab and origins views (#5483) [Julien Wajsberg] Automatically request reviews for dependency updates (#5490) [Julien Wajsberg] Update fetch-mock-jest to @fetch-mock/jest (#5488) [Steve Fink] Document marker filter syntax (#5493) [Nazım Can Altınova] Update all of jest 29.7.0 → 30.0.0 (major) (#5495) [Nazım Can Altınova] Order global tracks by activity and select the most active non-parent process by default (#5491) [Paul Adenot] Allow searching for HTTP response status in marker views (#5504) [Nazım Can Altınova] Expose a `totalMarkerDuration` function in console (#5507) [Nazım Can Altınova] 🔃 Sync: l10n -> main (July 11, 2025) (#5510) And thanks to our localizers: el: Jim Spentzos kab: ZiriSut tr: Grk tr: Selim Şumlu uk: Artem Polivanchuk
Fixes #5458.
This PR fixes these track border/horizontal separator issues:
First commit fixes the issue where it's not right clickable on the blue active thread indicator. It also tries to simplify this indicator by removing a bunch of
calcs.Second commit fixes the issue that it's not right clickable on the top border of the thread label.
Deploy preview / production