-
Notifications
You must be signed in to change notification settings - Fork 46
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
Pattern Lab + Docs Site-related Enhancements & Fixes #1050
Conversation
…een size + layout mode
…g-renderer Chore: Pull In Twig Renderer Into PL Updates
…o while nav is in vertical mode; update deps
…ating / closing the drawer contents, updating the nav to show which link is active, and auto-closing the mobile nav to all work better when the UI is asynchronously rendered and loaded as things are ready to go
…de fewer bundles + preloading image assets in the main index.html file
…ite head + add fully inlined version to the site's footer template
…ort via form till wired up to redux
…fore trying to run it
Thanks @danielamorse! See notes below:
Just pushed a couple more updates to help address this -- should be all set!
Was this local or via a now.sh url? Locally (and on the https://feature-pattern-lab-refactor.boltdesignsystem.com/) I'm seeing the buttons render correctly in IE 11 so wanted to double-check.
The black background for the PL nav is 100% intentional (those are fallback styles for browsers that don't support CSS variables (outside of Bolt) since this will be how folks can more easily customize the overall look and feel of Pattern Lab's UI in the near future). Working as expected! |
@mikemai2awesome can another look at this when you get a chance? I've pushed up a bunch of updates to address the browser history-related issues (should be in a much better spot now) + made some CSS adjustments to the nav itself (increasing the target area of the chevron + add a little extra space for the scrollbar). Should hopefully be good to go! |
See latest updates -- updated code per PR feedback
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.
Links look much better, thanks!
I noticed some strange behavior with the navigation disappearing when resizing the width of the content. It only happens intermittently, though seems to happen pretty reliably if I open a new incognito window. Not a show-stopper IMO (hence why I'm approving the PR), but a nice-to-have if you have time and/or know what's up.
@sghoweri, pulled the branch down, ran clean, setup, and start... Fixed
Issues
Warnings
Are you not seeing either of these issues? |
… for iOS loading issue with the component's drawer content
…ctions vs only one
…hard-coded in the JS directly
…iewer JS; fix width of code displaying in drawer
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.
Tested again locally. Warnings are longer appear, and I understand that text issue is expected until you save a twig template. Approved 👍
Jira
Summary
Implements a number of improvements and bug fixes related to the docs site and Pattern Lab UI.
Details
Docs Site Updates / Misc Fixes:
Testing Steps
component nav section that gets automatically added when a component has aTESTING.md
fileMisc Component / Bolt Core Updates
Pattern Lab UIKit Fixes & Improvements:
Bonus: these updates should speed up the initial load and rendering times of Pattern Lab!
How to test