Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions locales/en-US/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ Home--record-instructions =
keyboard shortcuts. The icon is blue when a profile is recording.
Hit <kbd>Capture</kbd> to load the data into profiler.firefox.com.

Home--instructions-content =
Recording performance profiles requires <a>{ -firefox-brand-name }</a>.
Home--instructions-content2 =
Recording performance profiles requires <a>{ -firefox-brand-name } for desktop</a>.
However, existing profiles can be viewed in any modern browser.

Home--fenix-instructions-directly =
Expand Down
10 changes: 4 additions & 6 deletions src/components/app/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ type PopupInstallPhase =
class HomeImpl extends React.PureComponent<HomeProps, HomeState> {
constructor(props: HomeProps) {
super(props);
// Start by suggesting that we install the add-on.
let popupInstallPhase = 'other-browser';

if (_isFirefox()) {
Expand Down Expand Up @@ -570,16 +569,15 @@ class HomeImpl extends React.PureComponent<HomeProps, HomeState> {
<div>
<DocsButton />
<Localized
id="Home--instructions-content"
id="Home--instructions-content2"
elems={{
a: <a href="https://www.mozilla.org/en-US/firefox/new/" />,
a: <a href="https://www.firefox.com" />,
}}
>
<p>
Recording performance profiles requires{' '}
<a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a>
. However, existing profiles can be viewed in any modern
browser.
<a>Firefox for desktop</a>. However, existing profiles can be
viewed in any modern browser.
</p>
</Localized>
<Localized
Expand Down
4 changes: 2 additions & 2 deletions src/test/components/__snapshots__/Home.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -975,9 +975,9 @@ exports[`app/Home renders the information screen for other browsers 1`] = `
<p>
Recording performance profiles requires
<a
href="https://www.mozilla.org/en-US/firefox/new/"
href="https://www.firefox.com"
>
⁨Firefox⁩
⁨Firefox⁩ for desktop
</a>
.
However, existing profiles can be viewed in any modern browser.
Expand Down