Add selectedMarker to the console APIs#5107
Merged
Merged
Conversation
I know that this is a silly commit, but I really wanted to fix this for years to make my OCD side happy. Now when I select the message on devtools console, it will show a proper block of whitespace instead of the uneven whitespace
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5107 +/- ##
==========================================
- Coverage 88.42% 88.41% -0.01%
==========================================
Files 304 304
Lines 27549 27552 +3
Branches 7450 7450
==========================================
+ Hits 24360 24361 +1
- Misses 2961 2963 +2
Partials 228 228 ☔ View full report in Codecov by Sentry. |
36d9812 to
da763a3
Compare
julienw
approved these changes
Sep 3, 2024
Comment on lines
+309
to
+314
| // "window.retrieveRawProfileDataFromBrowser" | ||
| bold, | ||
| reset, | ||
| // "window.saveToDisk" | ||
| bold, | ||
| reset, |
Merged
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.
This file contains hidden or 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
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
window.selectedMarkerto the console API so we can access is easily.It also has 2 more commits, one of them fixes a silly problem I had with the firefox profile ascii art. It always had uneven whitespaces which was triggering my OCD side :D
And the other commit fixes the console message styling which was broken after #5105.