Skip to content

[Tab selector 3] Generate page information for all tabs#5082

Merged
canova merged 3 commits into
firefox-devtools:mainfrom
canova:tab-selector-3
Aug 20, 2024
Merged

[Tab selector 3] Generate page information for all tabs#5082
canova merged 3 commits into
firefox-devtools:mainfrom
canova:tab-selector-3

Conversation

@canova

@canova canova commented Aug 13, 2024

Copy link
Copy Markdown
Member

This is the third PR of #5068.

Previously we were only generating page information for the selected/active tab. But for the tab selector to work, we need page information of all tabs. So this PR makes sure that we extract the data for all of them.
Again, this is not a user visible change.

@canova canova requested a review from julienw August 13, 2024 09:39
@codecov

codecov Bot commented Aug 13, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 91.17647% with 3 lines in your changes missing coverage. Please review.

Project coverage is 88.49%. Comparing base (8fa9241) to head (66d4f7d).
Report is 4 commits behind head on main.

Files Patch % Lines
src/profile-logic/profile-data.js 88.46% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5082   +/-   ##
=======================================
  Coverage   88.49%   88.49%           
=======================================
  Files         304      304           
  Lines       27470    27477    +7     
  Branches     7433     7433           
=======================================
+ Hits        24309    24317    +8     
+ Misses       2936     2935    -1     
  Partials      225      225           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to me, good work!

Comment thread src/profile-logic/profile-data.js Outdated
Comment thread src/profile-logic/profile-data.js Outdated
Comment thread src/test/unit/profile-data.test.js
Co-authored-by: Julien Wajsberg <felash@gmail.com>
@canova

canova commented Aug 20, 2024

Copy link
Copy Markdown
Member Author

Thanks for the review!

@canova canova merged commit c7726b1 into firefox-devtools:main Aug 20, 2024
@canova canova deleted the tab-selector-3 branch August 20, 2024 13:52
@canova canova mentioned this pull request Sep 5, 2024
canova added a commit that referenced this pull request Sep 5, 2024
[Tatsuyuki Ish] Fix type error in getPagesMap (#5063)
[Nazım Can Altınova] [Tab selector 1] Add a redux state for the tab
filter (#5072)
[Markus Stange] Remove a test for the inverted stack chart. (#5075)
[Markus Stange] Add an inverted tree test for getSamplesSelectedStates
and getTreeOrderComparator (#5076)
[Nazım Can Altınova] [Tab selector 2] Extract the page data in the full
view (#5073)
[Nazım Can Altınova] Do not crash on timeline hover/selection when a
profile doesn't have any samples or markers (#5086)
[Nazım Can Altınova] [Tab selector 3] Generate page information for all
tabs (#5082)
[Nazım Can Altınova] [Tab selector 4] Add a getTabToThreadIndexesMap
selector to get relevant threads per tab (#5087)
[joshuaobrien] Use the word 'archive' instead of 'zip file' in copy
(#5081)
[Markus Stange] Send a UserAgent header to the symbolication server
again (#5103)
[Julien Wajsberg] Add some console utilities to retrieve the current
profile and save it to disk (#5105)
[Nazım Can Altınova]  Add `selectedMarker` to the console APIs (#5107)
And various dependency updates.
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