-
Notifications
You must be signed in to change notification settings - Fork 919
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 WNP128 for Firefox #14720
Add WNP128 for Firefox #14720
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14720 +/- ##
==========================================
+ Coverage 77.16% 77.18% +0.01%
==========================================
Files 159 159
Lines 8203 8239 +36
==========================================
+ Hits 6330 6359 +29
- Misses 1873 1880 +7 ☔ View full report in Codecov by Sentry. |
f456cda
to
16638c9
Compare
232c325
to
396566b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, mostly just some odds and ends that can be cleaned up. Nice work!
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-eu-addons.html
Outdated
Show resolved
Hide resolved
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-na.html
Outdated
Show resolved
Hide resolved
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-eu-donate.html
Outdated
Show resolved
Hide resolved
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-eu-donate.html
Outdated
Show resolved
Hide resolved
bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there might be one fluent issue now, otherwise just random nits & bits;)
{#- This will appear as <meta property="og:description"> which can be used for social share -#} | ||
{% block page_og_desc %}{{ ftl('whatsnew-page-description') }}{% endblock %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Would this be better in whatsnew/base to just set and forget?
(or another base template for that matter — i silently expected the og:description being set to the same as meta description tbh…)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, og sets self.page_desc()
:
<meta property="og:description" content="{% filter striptags %}{% block page_og_desc %}{{ self.page_desc() }}{% endblock %}{% endfilter %}"> |
& meta leaves to the page_desc
block:
<meta name="description" content="{% filter striptags %}{% block page_desc %}{% endblock %}{% endfilter %}"> |
that is never set further (firefox/base or whatsnew/base) so that means empty description in this case.
Which leads me to adding {% block page_desc %}{{ ftl('whatsnew-page-description') }}{% endblock %}
to the whatsnew/base should actually fix both the meta and og descriptions for all WNPs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good suggestion. I think initially when these templates were started we had a different description for each page but somewhere along the way stopped doing that and it's been the same ever since. I'll do a follow-up PR to update the base template(s).
bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html
Outdated
Show resolved
Hide resolved
<span class="mzp-c-button-icon-start"> | ||
<svg width="16" height="16" viewBox="0 0 16 16"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW I'm not sure how well the image+text renders for you, I'm having better results with additional e.g. line-height: 2
aligning it better inside the button.
One-line summary
Adds the Whats New page v128 for Firefox, for both NA and E
Launch date: July 9th 2024
Brief doc
Significant changes and points to review
Issue / Bugzilla link
Fixes #14713
Testing
Local testing
NA
EU
Version A: Add-ons (UK, DE, FR, IT, ES, PL)
Version B: Donate [Fx angle] (UK, DE, FR)
Version C: Donate [MoFo angle] (UK, DE, FR)
Demo servers
NA
EU
Version A: Add-ons (UK, DE, FR, IT, ES, PL)
Version B: Donate [Fx angle] (UK, DE, FR)
Version C: Donate [MoFo angle] (UK, DE, FR)