-
Notifications
You must be signed in to change notification settings - Fork 130
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
Theme: Remove hardcoded post-JS HTML markup #2196
Theme: Remove hardcoded post-JS HTML markup #2196
Conversation
Approved upon successful testing |
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.
Knowing that you have found we updated by mistake the gc-followus pattern on page which shouldn't. I suggest to get that fixed before we forget about it. If I do have time today, I will add a new commit fixing this.
I am going to match the follow us pattern along with the current DTO documentation based on the wireframe which is currently published as today By default all should use the old follow us include "gc-follow-us/follow.html" Will use the new follow us "gc-follow-us/gc-follow-us.html"
The template "localnav" look more as a variant of the topic page or a subsite section. Suggest to move it or rename it |
@EricDunsworth I fixed the follow-us include and added working example of secondary menu (by marking it deprecated) Can you fix the merge conflicts? Feel free to replay or includes any changes that I made via the new commit. |
@EricDunsworth , wondering if the conflict with the master can be fixed? Thanks |
@polmih I'll try to rebase and make any necessary adjustments to this PR at some point today 💯. |
* Remove the following hardcoded markup: * wb-init and wb-*-inited classes * wb-auto-* IDs * Note: Fixes broken local links caused by duplicate IDs * Update modified dates of: * Pages containing affected code samples * Pages that reference updated samples/includes * Spinoff of wet-boew#2179
… of secondary-menu
* Bump initial commit's page modified dates to current date * Change modified dates in several extra pages that are now using the old follow-us include (components/gc-follow-us/follow.html, _includes/components/gc-follow-us/follow.html) via @duboisp's commit
79bd7c1
to
5c241e0
Compare
@polmih @duboisp I think this is ready to rock and roll now :). Just did the following:
|
@polmih ready for your review. Once reviewed and tested, this has been pre-approved during the technical review. |
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.
reviewed and locally tested.
Thanks @polmih Change type: |
WET-380 Ajax Fetch Working Example Content - Follow us, Lowest topic section, HTML cleanup - Code maintenance and fixing/adjusting examples (wet-boew#2196) * Theme: Remove hardcoded post-JS HTML markup * Remove the following hardcoded markup: * wb-init and wb-*-inited classes * wb-auto-* IDs * Note: Fixes broken local links caused by duplicate IDs * Update modified dates of: * Pages containing affected code samples * Pages that reference updated samples/includes * Spinoff of wet-boew#2179 * Content - Ajust template with the follow-us include and added example of secondary-menu * Theme: Update page modified dates with post-JS changes * Bump initial commit's page modified dates to current date * Change modified dates in several extra pages that are now using the old follow-us include (components/gc-follow-us/follow.html, _includes/components/gc-follow-us/follow.html) via @duboisp's commit GCWeb - Content - Remove hardcoded post-JS HTML markup, GCWeb - Content - Adjusted the follow us component used on various page to match the stable example vs beta template, GCWeb - Content - Adding working example with secondary navigation (fixing the lowest-topic section example) GCWeb Jekyll - Minor - Add basic support for content with a secondary menu --------- Co-authored-by: Pierre Dubois <[email protected]> Step by step navigation: adding documentation méli-mélo 2023-09-menu - Initial commit (wet-boew#2247) Co-authored-by: gjb-pch <[email protected]> Page feedback: hiding page feedback by default and updating doc> > Co-authored-by: Pierre Dubois <[email protected]> Release v13.8.0 GC Tables: Improve display for empty cells Méli-mélo - Initial commit for: 2023-09-distance-calculator and 2023-09-collection-sort (wet-boew#2245) Initial commit of new méli-mélo project * 2023-09-distance-calculator: Initial commit * 2023-09-collection-sort: Initial commit Release v13.9.0 docs: Update guidance links in feedback docs WET-347 Fonts: fixing font loading Update campaign-menu.js Update to set focus on menu item Feedback: updating doc to add migration from RAP to PFT Release v13.9.1 Content - Review of a few components metadata (wet-boew#2261) Reviewed the component title and description for: * gc-subway * header-rwd Content - Review of a few components metadata Content - Feedback - Update documentation (wet-boew#2262) * Content - Feedback - Update documentation * Apply updates to implementation as discussed with DTO during office hours * Improved the code sample displayed in the working example * Fix the grunt script to not rely on a generated file when initiating any task * Updated the generated content * Content - Feedback - Apply suggestions from code review Co-authored-by: Garneauma <[email protected]> * Content - Feedback - Update ajax URL in code sample --------- Co-authored-by: Garneauma <[email protected]> WET-410 Created a wet-boew section in GCWeb github Changes to pre-assesments for components: language wb-tabs gc-topic gcweb-menu
# This is the 1st commit message: Accessibility Project - Pre-assessments # This is the commit message wet-boew#2: WET-380 Ajax Fetch Working Example # This is the commit message wet-boew#3: Content - Follow us, Lowest topic section, HTML cleanup - Code maintenance and fixing/adjusting examples (wet-boew#2196) * Theme: Remove hardcoded post-JS HTML markup * Remove the following hardcoded markup: * wb-init and wb-*-inited classes * wb-auto-* IDs * Note: Fixes broken local links caused by duplicate IDs * Update modified dates of: * Pages containing affected code samples * Pages that reference updated samples/includes * Spinoff of wet-boew#2179 * Content - Ajust template with the follow-us include and added example of secondary-menu * Theme: Update page modified dates with post-JS changes * Bump initial commit's page modified dates to current date * Change modified dates in several extra pages that are now using the old follow-us include (components/gc-follow-us/follow.html, _includes/components/gc-follow-us/follow.html) via @duboisp's commit GCWeb - Content - Remove hardcoded post-JS HTML markup, GCWeb - Content - Adjusted the follow us component used on various page to match the stable example vs beta template, GCWeb - Content - Adding working example with secondary navigation (fixing the lowest-topic section example) GCWeb Jekyll - Minor - Add basic support for content with a secondary menu --------- Co-authored-by: Pierre Dubois <[email protected]> # This is the commit message wet-boew#4: Step by step navigation: adding documentation # This is the commit message wet-boew#5: méli-mélo 2023-09-menu - Initial commit (wet-boew#2247) Co-authored-by: gjb-pch <[email protected]> # This is the commit message wet-boew#6: Page feedback: hiding page feedback by default and updating doc> > Co-authored-by: Pierre Dubois <[email protected]> # This is the commit message wet-boew#7: Release v13.8.0 # This is the commit message wet-boew#8: GC Tables: Improve display for empty cells # This is the commit message wet-boew#9: Méli-mélo - Initial commit for: 2023-09-distance-calculator and 2023-09-collection-sort (wet-boew#2245) Initial commit of new méli-mélo project * 2023-09-distance-calculator: Initial commit * 2023-09-collection-sort: Initial commit # This is the commit message wet-boew#10: Release v13.9.0 # This is the commit message wet-boew#11: docs: Update guidance links in feedback docs # This is the commit message wet-boew#12: WET-347 # This is the commit message wet-boew#13: Fonts: fixing font loading # This is the commit message wet-boew#14: Update campaign-menu.js Update to set focus on menu item # This is the commit message wet-boew#15: Feedback: updating doc to add migration from RAP to PFT # This is the commit message wet-boew#16: Release v13.9.1 # This is the commit message wet-boew#17: Content - Review of a few components metadata (wet-boew#2261) Reviewed the component title and description for: * gc-subway * header-rwd Content - Review of a few components metadata # This is the commit message wet-boew#18: Content - Feedback - Update documentation (wet-boew#2262) * Content - Feedback - Update documentation * Apply updates to implementation as discussed with DTO during office hours * Improved the code sample displayed in the working example * Fix the grunt script to not rely on a generated file when initiating any task * Updated the generated content * Content - Feedback - Apply suggestions from code review Co-authored-by: Garneauma <[email protected]> * Content - Feedback - Update ajax URL in code sample --------- Co-authored-by: Garneauma <[email protected]> # This is the commit message wet-boew#19: WET-410 Created a wet-boew section in GCWeb github
# This is the 1st commit message: Accessibility Project - Pre-assessments # This is the commit message wet-boew#2: WET-380 Ajax Fetch Working Example # This is the commit message wet-boew#3: Content - Follow us, Lowest topic section, HTML cleanup - Code maintenance and fixing/adjusting examples (wet-boew#2196) * Theme: Remove hardcoded post-JS HTML markup * Remove the following hardcoded markup: * wb-init and wb-*-inited classes * wb-auto-* IDs * Note: Fixes broken local links caused by duplicate IDs * Update modified dates of: * Pages containing affected code samples * Pages that reference updated samples/includes * Spinoff of wet-boew#2179 * Content - Ajust template with the follow-us include and added example of secondary-menu * Theme: Update page modified dates with post-JS changes * Bump initial commit's page modified dates to current date * Change modified dates in several extra pages that are now using the old follow-us include (components/gc-follow-us/follow.html, _includes/components/gc-follow-us/follow.html) via @duboisp's commit GCWeb - Content - Remove hardcoded post-JS HTML markup, GCWeb - Content - Adjusted the follow us component used on various page to match the stable example vs beta template, GCWeb - Content - Adding working example with secondary navigation (fixing the lowest-topic section example) GCWeb Jekyll - Minor - Add basic support for content with a secondary menu --------- Co-authored-by: Pierre Dubois <[email protected]> # This is the commit message wet-boew#4: Step by step navigation: adding documentation # This is the commit message wet-boew#5: méli-mélo 2023-09-menu - Initial commit (wet-boew#2247) Co-authored-by: gjb-pch <[email protected]> # This is the commit message wet-boew#6: Page feedback: hiding page feedback by default and updating doc> > Co-authored-by: Pierre Dubois <[email protected]>
…nance and fixing/adjusting examples (wet-boew#2196) * Theme: Remove hardcoded post-JS HTML markup * Remove the following hardcoded markup: * wb-init and wb-*-inited classes * wb-auto-* IDs * Note: Fixes broken local links caused by duplicate IDs * Update modified dates of: * Pages containing affected code samples * Pages that reference updated samples/includes * Spinoff of wet-boew#2179 * Content - Ajust template with the follow-us include and added example of secondary-menu * Theme: Update page modified dates with post-JS changes * Bump initial commit's page modified dates to current date * Change modified dates in several extra pages that are now using the old follow-us include (components/gc-follow-us/follow.html, _includes/components/gc-follow-us/follow.html) via @duboisp's commit GCWeb - Content - Remove hardcoded post-JS HTML markup, GCWeb - Content - Adjusted the follow us component used on various page to match the stable example vs beta template, GCWeb - Content - Adding working example with secondary navigation (fixing the lowest-topic section example) GCWeb Jekyll - Minor - Add basic support for content with a secondary menu --------- Co-authored-by: Pierre Dubois <[email protected]>
wb-init
andwb-*-inited
classeswb-auto-*
IDs