Skip to content

Fix an issue where a local track wasn't unselected when its global track is hidden#4158

Merged
julienw merged 2 commits into
firefox-devtools:mainfrom
julienw:fix-selected-thread-when-hidden
Jul 28, 2022
Merged

Fix an issue where a local track wasn't unselected when its global track is hidden#4158
julienw merged 2 commits into
firefox-devtools:mainfrom
julienw:fix-selected-thread-when-hidden

Conversation

@julienw

@julienw julienw commented Jul 27, 2022

Copy link
Copy Markdown
Contributor

I noticed this issue when working on #4138.

STR is:

  1. select a local track that's not the first one in a process
  2. hide the full process (with right click + hide this process)

=> the old track is still selected

production / deploy preview

@julienw julienw changed the title Fix an issue where a local track wasn't unselected when its global tr… Fix an issue where a local track wasn't unselected when its global track is hidden Jul 27, 2022
@julienw julienw requested a review from canova July 27, 2022 14:01
* ' - show [thread Renderer]',
* ]
*/
function getProfileWithMoreNiceTracks() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: I'll reuse this profile in the tests for #4138

@codecov

codecov Bot commented Jul 27, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4158 (0d695d1) into main (7b291ee) will decrease coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 0d695d1 differs from pull request most recent head 3f73f15. Consider uploading reports for the commit 3f73f15 to get more accurate results

@@            Coverage Diff             @@
##             main    #4158      +/-   ##
==========================================
- Coverage   88.31%   88.31%   -0.01%     
==========================================
  Files         280      280              
  Lines       24408    24407       -1     
  Branches     6488     6488              
==========================================
- Hits        21555    21554       -1     
  Misses       2650     2650              
  Partials      203      203              
Impacted Files Coverage Δ
src/actions/profile-view.js 83.27% <ø> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b291ee...3f73f15. Read the comment docs.

julienw added a commit to julienw/perf.html that referenced this pull request Jul 27, 2022
…track wasn't unselected when its global track is hidden

@canova canova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Looks good to me.

@julienw julienw enabled auto-merge (squash) July 28, 2022 16:52
@julienw julienw merged commit 4d3569b into firefox-devtools:main Jul 28, 2022
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.

2 participants