Replace pebbles basic tempalate with protocol article template#7141
Replace pebbles basic tempalate with protocol article template#7141craigcook merged 9 commits intomozilla:masterfrom stephaniehobson:protocol-basic
Conversation
|
This is ready for review now. Note that I have left the firefox-enterprise style sheet in Pebbles because I'm working on the enterprise section of the site next week. |
|
This is blocking my work updating the Enterprise section. Upping the priority level of the review. |
|
Nits picked ✅ Thanks @pdehaan |
|
Upping the size of this review after talking to @craigcook |
alexgibson
left a comment
There was a problem hiding this comment.
This touches a lot of pages, not all of which I've gone through manually yet - but I took a first pass. Generally things look good, although I noted some potential UI issues. Some things still feel a little rough around the edges in places.
There's also an issue with the newsletter JS throwing errors, and the side menu is missing some JS to make it functional.
|
Well darn, I don't have enough information to populate the mobile version of the side menu and the component is not flexible enough to work without it. I'm going to mark this as blocked and remove the review priority while I think about how to handle this. |
|
Also blocked by mozilla/protocol#402 and a new version of Protocol. |
|
Unblocked. Turns out we have the word "Menu" in main.lang! And this update now includes Protocol 7.0.2 with half the fix to the newsletter related js error. Also, I lost a bike shedding argument with myself and changed the name space from "basic" to "article" as I thought was was more descriptive and easier to differentiate from "base". Still waiting on:
|
|
Okay, ready for re-review. |
|
D'oh! It's the |
craigcook
left a comment
There was a problem hiding this comment.
Looks great! I like the mobile menu treatment, and hooray for losing the highlight style headlines. Just some nitpicks about nested semantics and the overflowing pre, neither of which is actually a showstopper. Nice work!
|
Updated to remove article markup from security pages. Reviewing that commit with white-space changes hidden will make it much more readable. Still fighting with the |
- Add .mzp-t-mozilla where apprpriate - Edit and rename base-pebbles-basic to base-protocol-basic - Convert page specific .less files to .scss files - Convert page specific .scss files to use Protocol not Pebbles - Change classnames from prose to mzp-u-list-styled - Change classnames from data-table to mzp-u-data-table - Remove unused styles - Tweak page styles as needed
- Protocol 7.0.2
- Change template and assets to use "article" namespace instead of "basic"
- create basic-article.js bundle and include
- including making side-bar boxes shrink on mobile
|
Ready for re-review! |
|
Also filed mozilla/protocol#422 to back-port the fix for the |

Description
.mzp-t-mozillawhere appropriatebase-pebbles-basictobase-article.lessfiles to.scssfiles.scssfiles to use Protocol not Pebblesprosetomzp-u-list-styleddata-tabletomzp-u-data-tableIssue / Bugzilla link
#6822
Testing
<details>: