Skip to content

Provide correct instructions on the home page for Firefox for Android (Fenix)#5816

Merged
fatadel merged 10 commits intofirefox-devtools:mainfrom
fatadel:refine-message-on-fenix-2654
Feb 13, 2026
Merged

Provide correct instructions on the home page for Firefox for Android (Fenix)#5816
fatadel merged 10 commits intofirefox-devtools:mainfrom
fatadel:refine-message-on-fenix-2654

Conversation

@fatadel
Copy link
Contributor

@fatadel fatadel commented Feb 5, 2026

Closes #2654.

Before

Screenshot_1770294748

After

Screenshot_1770994910

@fatadel fatadel requested review from canova, julienw and mstange February 5, 2026 12:35
@fatadel fatadel requested a review from a team as a code owner February 5, 2026 12:35
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.58%. Comparing base (0587601) to head (9ad1498).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/components/app/Home.tsx 88.88% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5816   +/-   ##
=======================================
  Coverage   85.58%   85.58%           
=======================================
  Files         320      320           
  Lines       31450    31459    +9     
  Branches     8571     8662   +91     
=======================================
+ Hits        26915    26924    +9     
  Misses       4104     4104           
  Partials      431      431           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

I see that the first paragraph is saying that the profiling requires Firefox desktop, but in the second paragraph we tell them that they can also use the on device profiling. I think it would confuse our users. The old wording from the issue was actually suggested before we supported on device profiling, so it's not up-to-date anymore. See also my suggestions below.

Comment on lines 412 to 416
Recording performance profiles currently requires{' '}
<a href="https://www.firefox.com/en-US/browsers/desktop/">
Firefox for Desktop
</a>
. However, existing profiles can be viewed in any modern desktop
Copy link
Member

Choose a reason for hiding this comment

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

Ah, it looks like we have 2 different instructions now that kinda say the opposite things. Since we have a Localized component below that says it's possible to profile on an Android device, "Recording performance profiles currently requires Firefox for Desktop" is no longer true. Can we move the android on device profiling above, and add the remote profiling instruction below?

For the wording of remote profiling, maybe something like:

You can also profile Firefox for Android remotely from a desktop
computer. For more information, please consult this documentation:{' '}
<a>Profiling Firefox for Android remotely</a>.

<a>Profiling Firefox for Android directly on device</a>.
</p>
</Localized>
</div>
Copy link
Member

Choose a reason for hiding this comment

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

This wording is more suitable for the desktop message, since it says "You can also profile Firefox for Android.". Instead, I would prefer to have a new ftl key with a better wording suited specifically for Firefox for Android.

Maybe something like:

Firefox for Android can be profiled directly on this device. For
more information, please consult this documentation:{' '}
<a>Profiling Firefox for Android directly on device</a>.

@fatadel fatadel marked this pull request as draft February 10, 2026 10:29
@fatadel fatadel marked this pull request as ready for review February 10, 2026 16:57
@fatadel fatadel requested review from canova and flodolo February 10, 2026 16:57
@fatadel
Copy link
Contributor Author

fatadel commented Feb 10, 2026

Thanks for the valuable review, @canova! I've now incorporated your feedback. Please, re-review when you have a chance 😌

Home--fenix-instructions-directly =
{ -firefox-android-brand-name } can be profiled directly on this device. For
more information, please consult this documentation:
<a>Profiling { -firefox-android-brand-name } directly on device</a>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can probably simplify?

    { -firefox-android-brand-name } can be profiled directly on this device. For
    more information, read <a>Profiling { -firefox-android-brand-name } directly on device</a>.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good for me, wdyt @canova?

Copy link
Member

Choose a reason for hiding this comment

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

Sorry missed the ping. Looks great to me!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@canova no worries. This is done now. Can I have an approval, please? 😌 (or suggestions/questions if any)

fatadel and others added 2 commits February 11, 2026 15:32
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good to me!

A nit: Could you please update the PR title to explain the PR a bit better. Currently "Refine message on fenix" is a bit blurry to me (and maybe we can remove the issue number). These titles go directly to the release notes, so it's usually a good habit to explain it well.

>
<p>
You can also profile Firefox for Android remotely from Firefox
for Desktop. For more information, please consult this
Copy link
Member

Choose a reason for hiding this comment

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

nit: Can you also change the fallback text to lowercase "desktop" to keep it up-to-date with the ftl file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing to this, I've missed it!

@fatadel
Copy link
Contributor Author

fatadel commented Feb 13, 2026

Thanks for the PR! Looks good to me!

A nit: Could you please update the PR title to explain the PR a bit better. Currently "Refine message on fenix" is a bit blurry to me (and maybe we can remove the issue number). These titles go directly to the release notes, so it's usually a good habit to explain it well.

Oh sorry about that, apparently it comes from my branch name. I've taken it into account for the future!

@fatadel fatadel changed the title Refine message on fenix 2654 Provide correct instructions on the home page for Firefox for Android (Fenix) Feb 13, 2026
@fatadel fatadel merged commit 3bc6f8d into firefox-devtools:main Feb 13, 2026
22 checks passed
@fatadel fatadel deleted the refine-message-on-fenix-2654 branch February 13, 2026 17:28
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.

Detect Fenix to display a better message in the home page

3 participants