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
Reduce menu dropdowns #14484
Reduce menu dropdowns #14484
Conversation
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.
Just a teeeennyyy little suggestion, and I'll be happy to merge!
Great job with this much-needed clean-up! ☕ 💯
{% if mozilla_monitor %} | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-v2-mozilla-monitor', fallback='navigation-v2-firefox-monitor') }}</h4> | ||
{% else %} | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-v2-firefox-monitor', fallback='navigation-firefox-monitor') }}</h4> |
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: Now that we're using the new Mozilla Monitor
string here, feel free to remove the (now obsolete) navigation-v2-firefox-monitor
string from the navigation_v2.ftl
file :) since it's been (much) more than 2 months (referencing the new rule we implemented of us deciding to remove obsolete strings from our codebase after ~2 months) from when we implemented the new string!
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.
👍 Makes sense. I felt the nav is rather "sensitive" to do any cleanups but after wandering around the locales I see the typical pattern: whenever the default string is used, it's amid of 80% untranslated elements in English anyways. And for a branding change, it's way better to have a fresh default, than an outdated name, even if localised. You got it.
bedrock/base/templates/includes/protocol/navigation/menus/products.html
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14484 +/- ##
=======================================
Coverage 76.44% 76.44%
=======================================
Files 148 148
Lines 7977 7978 +1
=======================================
+ Hits 6098 6099 +1
Misses 1879 1879 ☔ View full report in Codecov by Sentry. |
One-line summary
With upcoming sunset of sub-pages related to privacy value proposition, the prominent menu items in dropdown nav need removing — thus making all the columns rather uneven. I'm reshuffling the contents to move from 4-row grid to 3-row.
Significant changes and points to review
protocol_assets
Issue / Bugzilla link
Fixes #14458
Refs #14248
Testing
👇 👇 👇