Skip to content
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 7: Modal Refactor #960

Merged
merged 17 commits into from
Jul 9, 2019

Conversation

sghoweri
Copy link
Contributor

@sghoweri sghoweri commented Oct 15, 2018

Note: I’m marking this PR as WIP given that these updates build off of #946 and #949 and any feedback or potential changes there should be reflected here

Summary

1st round refactor of Pattern Lab's modal / drawer UI.

Link to our Pattern Lab instance with these latest UIKit improvements:
https://uikit-refactor-p7.now.sh/pattern-lab/index.html

Before (left) and After (right)



Enhancements

Refactor "Modal" UI; ports to new <pl-drawer> component

Add New <pl-toggle-info> component

  • This PR also adds a new <pl-toggle-info> component that's toggles the drawer's state + automatically updates behavior when on viewall pages

…all PL layout, cross browser fixes and scrolling improvements. add prettier and prettier-quick dev-dependencies to always run, even when not globally available
…s to know if you can scroll and if so, in what direction
…he latest refactored component Sass + legacy partials in alphabetical order
@bmuenzenmeyer
Copy link
Member

At least this CI failure is more straightforward

@sghoweri
Copy link
Contributor Author

@bmuenzenmeyer lol - meanwhile, I was arguing with myself... "crap - should I toss these eslint / prettier fixes in, even though I wasn't working on those files..."

image

@sghoweri
Copy link
Contributor Author

@bmuenzenmeyer PR description updated

# Conflicts:
#	packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js
#	packages/uikit-workshop/package.json
#	packages/uikit-workshop/src/scripts/utils/polyfills.js
@sghoweri sghoweri changed the title WIP: UIKit Refactor Part 7: Bug Fixes, Drawer (Modal) Refactor, and Scroll Improvements UIKit Refactor Part 7: Modal Refactor Oct 27, 2018
@bmuenzenmeyer
Copy link
Member

@sghoweri this is the last PR! let me know when ready for review

# Conflicts:
#	packages/uikit-workshop/dist/index.html
#	packages/uikit-workshop/dist/styleguide/css/pattern-lab.css
#	packages/uikit-workshop/dist/styleguide/js/patternlab-pattern.js
#	packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js
#	packages/uikit-workshop/package.json
#	packages/uikit-workshop/src/html/index.html
#	packages/uikit-workshop/src/html/partials/modal.html
#	packages/uikit-workshop/src/sass/pattern-lab.scss
#	packages/uikit-workshop/src/sass/scss/04-components/_header.scss
#	packages/uikit-workshop/src/sass/scss/04-components/_navigation.scss
#	packages/uikit-workshop/src/sass/scss/04-components/_pattern-info.scss
#	packages/uikit-workshop/src/sass/scss/04-components/_tabs.scss
#	packages/uikit-workshop/src/sass/scss/04-components/_viewport.scss
#	packages/uikit-workshop/src/sass/scss/05-themes/_light-theme.scss
#	packages/uikit-workshop/src/scripts/components/pl-drawer/pl-drawer.scss
#	packages/uikit-workshop/src/scripts/components/pl-layout/pl-layout.scss
#	packages/uikit-workshop/src/scripts/components/pl-search/pl-search.scss
#	packages/uikit-workshop/src/scripts/patternlab-pattern.js
@sghoweri
Copy link
Contributor Author

@sghoweri this is the last PR! let me know when ready for review

@bmuenzenmeyer I just finished pushing up a couple small small fixes after merging in the latest from dev -- should be all set to review!

@bmuenzenmeyer
Copy link
Member

@sghoweri do the pattern info panels open for you on view all pages? I think this has been broken for a bit, and is perhaps related to #890

@sghoweri
Copy link
Contributor Author

sghoweri commented Oct 29, 2018

@sghoweri do the pattern info panels open for you on view all pages? I think this has been broken for a bit, and is perhaps related to #890

@bmuenzenmeyer yeah, I noticed that the viewall page’s info / code panels weren’t opening — either directly or indirectly related to some Pattern-specific JSON data that appears to be missing from the generated HTML...

I definitely want to make sure we double-check that the accordion-like functionality still works as expected on the viewall pages with these updates here. I know the original version of this PR worked as expected in PL PHP — (at least I know it did before I made a couple updates after further testing this out in the Handlebars demo, so I’ll double check that 😉).

I suspect the missing viewall page’s JSON data and #890 are likely related and need to get fixed in order to get this on PR wrapped up.

@stale
Copy link

stale bot commented Dec 29, 2018

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@bradfrost
Copy link
Member

What's the status of this guy? Just trying to keep stalebot at bay.

…uikit-refactor-p7

# Conflicts:
#	packages/uikit-workshop/package.json
…uikit-refactor-p7

# Conflicts:
#	packages/uikit-workshop/dist/styleguide/css/pattern-lab.css
#	packages/uikit-workshop/dist/styleguide/js/patternlab-pattern.js
#	packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js
@stale
Copy link

stale bot commented Apr 3, 2019

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@sghoweri
Copy link
Contributor Author

sghoweri commented Apr 3, 2019

Bump. Still open. I owe @bradfrost some PR review info to get this ball rolling again.

sghoweri added a commit to sghoweri/patternlab-node that referenced this pull request Apr 16, 2019
@stale
Copy link

stale bot commented Jun 2, 2019

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

@bmuenzenmeyer
Copy link
Member

@sghoweri is this ready for review?

@sghoweri
Copy link
Contributor Author

sghoweri commented Jul 9, 2019

@sghoweri is this ready for review?

@bmuenzenmeyer besides resolving the merge conflicts, yeah, I think this is still ready to go.

Definitely would be nice to see the light at the end of the tunnel with this one, #973 and #1008, since that's pretty darn close to where our UIKit implementation is currently at: https://boltdesignsystem.com/pattern-lab/?p=components-overview

@bmuenzenmeyer bmuenzenmeyer self-requested a review July 9, 2019 14:35
@bmuenzenmeyer bmuenzenmeyer self-assigned this Jul 9, 2019
@bmuenzenmeyer bmuenzenmeyer merged commit b97cbf6 into pattern-lab:dev Jul 9, 2019
@bmuenzenmeyer
Copy link
Member

This comment is still relevant - opening an issue for that

antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants