-
Notifications
You must be signed in to change notification settings - Fork 391
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
[deploy preview] Add a tab selector #5068
Open
canova
wants to merge
14
commits into
firefox-devtools:main
Choose a base branch
from
canova:tab-selector
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
… it work on the full view Previously this function was only working on the active tab view. It made sense at the time, but not anymore since we would like to have the same logic in the full view and remove the active tab view altogether in the future.
This was referenced Aug 3, 2024
The UI looks good to me! |
canova
added a commit
that referenced
this pull request
Aug 13, 2024
This is the second PR of #5068. It doesn't depend on the first PR, so you can review it independently. Also it's some refactoring and minor code changes without visible UI/UX changes. Previous and new tests should cover all the behaviors. Previously `extractProfileFilterPageData` was only working on the active tab view and was returning early for the full view, with this change it should be possible to run it in the full view as well. Similarly, I don't think it needs a deploy preview as it doesn't change anything, but let me know if you think otherwise.
canova
added a commit
that referenced
this pull request
Aug 20, 2024
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
added a commit
that referenced
this pull request
Aug 21, 2024
…ant threads per tab (#5087) This is the fourth PR of #5068. This PR creates a `getTabToThreadIndexesMap` selector to be used in the next patches. It is useful to quickly get which tab uses which threads in the timeline, as well as gathering the CPU activity scores per tab to be able to sort the tab selector list. Also added some tests to check the behavior.
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.
This PR adds a tab selector on the top left corner, inside the "Full Range" breadcrumbs root. By clicking that, you can select a different tab and this will change the amount of global tracks and local tracks you'll get. Allowing web developers to see only the tracks that they are interested in. Note that this doesn't filter the samples or markers, it filters only the tracks.
There are few things I would like to fix still but I'm happy to get feedback on the UX and the UI. Please let me know what you think!
Deploy preview
cc @julienw @AdamBrouwersHarries @mstange @fqueze