-
Notifications
You must be signed in to change notification settings - Fork 441
Hide track management UI in single track profiles. #5656
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
Hide track management UI in single track profiles. #5656
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5656 +/- ##
==========================================
- Coverage 85.63% 85.63% -0.01%
==========================================
Files 312 312
Lines 30867 30874 +7
Branches 8490 8497 +7
==========================================
+ Hits 26434 26439 +5
- Misses 4009 4010 +1
- Partials 424 425 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mstange
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.
Seems reasonable to me!
| hiddenTrackCount={hiddenTrackCount} | ||
| changeRightClickedTrack={changeRightClickedTrack} | ||
| /> | ||
| {hiddenTrackCount.total > 1 ? ( |
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.
Not caused by this patch, but I find hiddenTrackCount to be a very confusing variable name. This if check is checking the total track count.
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 was also confused while working on the patch! But it's not just the variable name, the selector is also named getHiddenTrackCount, and the type is called HiddenTrackCount. Would you like another PR to s/HiddenTrackCount/TrackCount/g?
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.
Yes please :)
Part of the list in #5655
Example profile: https://share.firefox.dev/4hIQCx7
Deploy preview: https://deploy-preview-5656--perf-html.netlify.app/public/xj65xfe8zwzmzx4r8chbkkfvyb9vkg6a6tr5v40/calltree/