Provide correct instructions on the home page for Firefox for Android (Fenix)#5816
Conversation
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
canova
left a comment
There was a problem hiding this comment.
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.
src/components/app/Home.tsx
Outdated
| 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 |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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>.
|
Thanks for the valuable review, @canova! I've now incorporated your feedback. Please, re-review when you have a chance 😌 |
locales/en-US/app.ftl
Outdated
| 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>. |
There was a problem hiding this comment.
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>.
There was a problem hiding this comment.
Sorry missed the ping. Looks great to me!
There was a problem hiding this comment.
@canova no worries. This is done now. Can I have an approval, please? 😌 (or suggestions/questions if any)
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
canova
left a comment
There was a problem hiding this comment.
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.
src/components/app/Home.tsx
Outdated
| > | ||
| <p> | ||
| You can also profile Firefox for Android remotely from Firefox | ||
| for Desktop. For more information, please consult this |
There was a problem hiding this comment.
nit: Can you also change the fallback text to lowercase "desktop" to keep it up-to-date with the ftl file?
There was a problem hiding this comment.
Thanks for pointing to this, I've missed it!
Oh sorry about that, apparently it comes from my branch name. I've taken it into account for the future! |
Closes #2654.
Before
After