Skip to content

Show Chrome extension instructions in the homepage if visited from Chromium browsers#5251

Merged
canova merged 2 commits into
firefox-devtools:mainfrom
canova:chrome-link
Dec 9, 2024
Merged

Show Chrome extension instructions in the homepage if visited from Chromium browsers#5251
canova merged 2 commits into
firefox-devtools:mainfrom
canova:chrome-link

Conversation

@canova

@canova canova commented Dec 9, 2024

Copy link
Copy Markdown
Member

Now that we have a Chrome extension, let's show an instruction to install it in the profiler home page if it's visited from Chromium based browsers.

I was also thinking about showing the recording instructions if we detect that the chrome extension is already installed, but I don't think we have to have that for the first iteration as this is a clear improvement to the previous version. I would prefer to implement that as a follow-up, as it will require changes in the extension code and we will have to publish that new extension version.

Screenshot:

Screenshot 2024-12-09 at 12 59 06 PM

@canova canova requested a review from julienw December 9, 2024 11:49
@canova canova requested a review from a team as a code owner December 9, 2024 11:49
@codecov

codecov Bot commented Dec 9, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.62%. Comparing base (6a683fa) to head (1863710).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5251   +/-   ##
=======================================
  Coverage   88.62%   88.62%           
=======================================
  Files         308      308           
  Lines       28096    28105    +9     
  Branches     7619     7621    +2     
=======================================
+ Hits        24899    24908    +9     
  Misses       2983     2983           
  Partials      214      214           

☔ 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.

Thanks, this looks good to me

Comment thread locales/en-US/app.ftl Outdated
own importer</write>.

Home--install-chrome-extension = Install the Chrome extension
Home--chrome-extension-instructions = Use the <a>{ -profiler-brand-name } Chrome Extension</a>

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.

Suggested change
Home--chrome-extension-instructions = Use the <a>{ -profiler-brand-name } Chrome Extension</a>
Home--chrome-extension-instructions = Use the <a>{ -profiler-brand-name } extension for Chrome</a>

Might be slightly more readable?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sounds good to me! Changed it.

@canova

canova commented Dec 9, 2024

Copy link
Copy Markdown
Member Author

Thanks for the quick reviews!

@canova canova merged commit 6306555 into firefox-devtools:main Dec 9, 2024
@canova canova deleted the chrome-link branch December 9, 2024 13:19
@canova canova mentioned this pull request Dec 12, 2024
canova added a commit that referenced this pull request Dec 12, 2024
[Sean Kim] Add Class of Service for a request in the profiler network
tab (#5228)
[Nisarg Jhaveri] Allow loading gzipped profiles from more endpoints
(#5215)
[Nicolas Chevobbe] Adapt Tree row toggle button to High Contrast Mode.
(#5238)
[Jon Coppeard] Display malloc heap size data in GCMajor markers (#5239)
[Nicolas Chevobbe] Opt-out of forced-colors for colored-square and
colored-border (#5237)
[Yuval Mizrachi] Support colored bandwidth and memory tracks (#5232)
[Nicolas Chevobbe] Adapt context menu to High Contrast Mode (#5244)
[Nazım Can Altınova] Show Chrome extension instructions in the homepage
if visited from Chromium browsers (#5251)

And thanks to our localizers:
de: Michael Köhler
en-GB: Ian Neal
fr: Théo Chevalier
fr: felash
fy-NL: Fjoerfoks
it: Francesco Lodolo [:flod]
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: Valery Ledovskoy
uk: Francesco Lodolo [:flod]
uk: Markevych Dmytro Vitaliyovych
zh-CN: Olvcpr423
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.

3 participants