-
Notifications
You must be signed in to change notification settings - Fork 404
UIKit Refactor Part 6: Refactor Search / Typeahead Component, Bug Fixes, and Improved Scrolling #949
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
UIKit Refactor Part 6: Refactor Search / Typeahead Component, Bug Fixes, and Improved Scrolling #949
Conversation
…uikit-refactor-p6
…d in virtually every single component in Pattern Lab
…ad search functionality; add new keyboard event binding for handling cross-iframe bindings
…tion of the search component
… update Sass to pull in component-specific styling till Shadow DOM integration worked on
…e.js so external configs properly get picked up
…esolution approach (for real life usage)
@bmuenzenmeyer any ideas on why the [Travis build](url I’m not seeing any errors per say here, just a timeout from Travis after not seeing any activity after 10 minutes... 🤔 |
…are no longer inlined
…o use the latest version up on pattern-lab/patternlab-node#949
@sghoweri that is odd - I can take a look during my next session. Also just kicked it off again to see if that helps |
…library instead of react-autocomplete; new library has much more consistent behavior + better community support
@bmuenzenmeyer just a heads up that the original buggy behavior I mentioned in my original PR shouldn't be an issue anymore. Ended up swapping out the original React Autocomplete library I had in here for the much better maintained / less buggy React Autosuggest library which did the trick. This should all buttoned up now when you get a chance to review this! |
@bradfrost @bmuenzenmeyer btw, we have the combined updates from #949 and #946 both up on our staging site here if you wanted to play around with these updates! https://feature-v2-upgrade-patternlab.boltdesignsystem.com/pattern-lab/?p=viewall-components-button |
… button's placement + logic for opting out, including an example in the HTML template
…riations / responsive behavior. add missing light theme interactive states to link styles. also globally improves focus state styles so outlines don't spill out / get cut off by other components
…ith latest updates
…nts users from knowing content is scrollable. also fix accessibility in global PL navigation which had been preventing full keyboard navigation
…s navigation via keyboard
…s are open; update sidebar layout to ensure viewport tools are still available on larger screens
Hey @bmuenzenmeyer and @bradfrost — I’m getting kinda nervous about this + #946 waiting in limbo... I’ve got a bunch of misc cross-browser fixes and tweaks after some deep Safari for Mac and Safari for iPhone XS Max testing yesterday (spoiler: mobile support in PL is about to get much, much more usable), however I’m kind of stuck on getting that + the already finished UIKit panel / modal refactor I’ve been sitting on for a month if these two PRs are dying on the vine 😢 Anything I can do to help? |
@sghoweri thanks for the poke. What can you do to help? Check your slack DMs |
@sghoweri I'm not totally sure what I can do to help, but if you have some things in mind just let me know! |
# Conflicts: # packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js # packages/uikit-workshop/src/scripts/utils/polyfills.js
…results the first time the component is focused
…articular styles via JS isn't needed just yet
@bmuenzenmeyer this PR should be good to review! After pulling in the latest from dev and testing this out locally, I realized that I had to pull in some of the additional updates from #960 in order to make sure the bugs and over UI fixes I made it in here (updated both PR descriptions accordingly). |
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 another outstanding bit of work @sghoweri
Thank you so much for helping breathe new life into the UI.
…or-p6--search-component UIKit Refactor Part 6: Refactor Search / Typeahead Component, Bug Fixes, and Improved Scrolling
Major refactor of Pattern Lab's Search Component + major improvements to overall scroll behavior (especially on mobile / touch devices!) This PR includes misc bug fixes and cross-browser related updates that popped up in testing the previous round of UIKit updates. 🎉
New Search Component
command
+f
; key combo. fixed the code so this now works consistently both inside and outside the Pattern Lab iframe!Bug Fixes
Before
After
Known Issues
Search-specific
<pl-search>
component in the nav dropdown (fixed)General
CC @pattern-lab/devs