Skip to content
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

Add the ability to mark marker fields as hidden #5354

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

canova
Copy link
Member

@canova canova commented Feb 6, 2025

Fixes #5299

It was quite easy to add, simply it adds a new optional field called hidden. If it's true we don't show it in the marker tooltip or sidebar.

(For deploy preview, currently there is no marker that uses it, so nothing to see really)

@canova canova requested a review from mstange February 6, 2025 12:10
@canova canova force-pushed the marker-hidden-fields branch from 3afe244 to e59525d Compare February 6, 2025 12:10
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.84%. Comparing base (7f30744) to head (e59525d).

Files with missing lines Patch % Lines
src/components/tooltip/Marker.js 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5354      +/-   ##
==========================================
- Coverage   85.84%   85.84%   -0.01%     
==========================================
  Files         312      312              
  Lines       29827    29829       +2     
  Branches     8213     8214       +1     
==========================================
+ Hits        25605    25606       +1     
- Misses       3627     3628       +1     
  Partials      595      595              

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

Copy link
Contributor

@mstange mstange left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! Just one comment about the comment.

@canova canova force-pushed the marker-hidden-fields branch from 220ae3c to ac52040 Compare February 10, 2025 16:39
@canova canova merged commit a0fc8bc into firefox-devtools:main Feb 10, 2025
15 of 16 checks passed
@canova
Copy link
Member Author

canova commented Feb 10, 2025

Thanks for the review!

@canova canova deleted the marker-hidden-fields branch February 10, 2025 16:43
@canova canova mentioned this pull request Feb 19, 2025
canova added a commit that referenced this pull request Feb 19, 2025
## Updates:

[Nicolas Chevobbe] Make timeline ruler notches visible in High Contrast
Mode (#5346)
[Nazım Can Altınova] Add the ability to mark marker fields as hidden
(#5354)
[Maxx Crawford] Update guide-startup-shutdown.md (#5357)
[Nazım Can Altınova] Enable prettier on the docs-user markdown files
(#5358)
[Paul Adenot] Allow searching by Content-Type in the network marker view
(#5351)
[Florian Quèze] Hide the pid in global tracks if it is 0. (#5361)
[Markus Stange] Make inverting the call tree fast, by computing inverted
call nodes lazily (#4900)
[Markus Stange] Use 64-bit floats for call tree timings. (#5371)
[Markus Stange] Extend the workaround in the v53 upgrader to generate
missing subcategory columns. (#5369)

## Also thanks to our localizers:

de: Michael Köhler
el: Jim Spentzos
en-GB: Paul
es-CL: ravmn
fr: Théo Chevalier
fur: Fabio Tomat
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: Valery Ledovskoy
sv-SE: Luna Jernberg, Andreas Pettersson
tr: Grk
uk: Іhor Hordiichuk
zh-CN: Olvcpr423
zh-TW: Pin-guang Chen
mstange added a commit to mstange/perf.html that referenced this pull request Feb 25, 2025
mstange added a commit to mstange/perf.html that referenced this pull request Feb 25, 2025
julienw pushed a commit that referenced this pull request Feb 26, 2025
@julienw julienw mentioned this pull request Mar 3, 2025
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.

In the marker schema, add the ability to mark fields as hidden
2 participants