Skip to content

UIKit Code Panel + View All / Clean Public Fixes! #1074

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

Closed
wants to merge 10 commits into from

Conversation

sghoweri
Copy link
Contributor

Summary

  • Fixes several long running bugs relating to Code Panels, including View All page panels being completely broken after the first initial build of Pattern Lab, only being able to open one panel at a time while on View All pages (when they do work), and panels only being able to be opened / closed once before breaking...
  • Also fixes a semi-related issue I encountered regarding the broken cleanPublic config option... turns out that without the cleanPublic option enabled, the code panels also don't appear to get the data needed in order to work properly!
  • This PR also tries to patch up some Navigation / Viewport bugs I've observed where loading up certain pages for the first time (via query string parameter) don't (always?) end up loading up in the iframe as expected
    • Note: I haven't 100% confirmed this however this could actually be related to the cleanPublic option not working as expected...
  • Finally this PR also does some minor CSS cleanup with the code panel so the copy button doesn't start to overflow off the screen + the code panel height on View All pages (when expanded) is the height of the content itself (at least on larger screen sizes)

Bugs Fixed

@sghoweri sghoweri added bug 🐛 enhancement ✨ hacktoberfest 🌾 https://hacktoberfest.digitalocean.com uikit labels Oct 13, 2019
@coveralls
Copy link

coveralls commented Oct 13, 2019

Coverage Status

Coverage decreased (-0.7%) to 73.688% when pulling 5f53f60 on feature/uikit-panel-related-fixes into 2fe8cd4 on dev.

@bmuenzenmeyer
Copy link
Member

bmuenzenmeyer commented Oct 16, 2019

@sghoweri curious if you are also seeing this ? (when clicking on the logo)

image

on the hosted dev preview I see this:

image

@sghoweri sghoweri closed this Oct 16, 2019
@sghoweri sghoweri reopened this Oct 16, 2019
@sghoweri
Copy link
Contributor Author

Hmmm 🤔

@bmuenzenmeyer let me dig a bit more into this one — I might try to split this up into two PRs (plus see if I can sprinkle a little Jest help as well to start chipping away at UIKit testing coverage...)

Hang tight!

@bmuenzenmeyer
Copy link
Member

bmuenzenmeyer commented Oct 16, 2019 via email

@bmuenzenmeyer
Copy link
Member

the hosted preview now also shows the same behavior i was seeing locally

@bmuenzenmeyer
Copy link
Member

superceded by #1094

@sghoweri if I am misunderstanding - please reopen

@sghoweri
Copy link
Contributor Author

superceded by #1094

@sghoweri if I am misunderstanding - please reopen

Nope, all good. #1094 supersedes this one 👍🏼

bmuenzenmeyer added a commit that referenced this pull request Nov 12, 2019
@bmuenzenmeyer bmuenzenmeyer deleted the feature/uikit-panel-related-fixes branch February 9, 2020 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 enhancement ✨ hacktoberfest 🌾 https://hacktoberfest.digitalocean.com uikit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants