Skip to content

Conversation

@sghoweri
Copy link
Contributor

@sghoweri sghoweri commented Mar 1, 2020

CleanShot 2020-03-01 at 14 26 06

Summary of changes:

  • Consolidates the iFrame routing logic to be less complex. Not a complete re-write here but definitely a bit less code than where we were previously at
  • Patches up some annoying browser history issues when going forward / backward
  • Adds "psuedo-404" support so trying to navigate to a Pattern Lab URL for a pattern that doesn't exist (ex. http://localhost:3000/?p=atoms-foobar) or clicking on a broken link within Pattern Lab should now take you to a simple 404 error message + link back to your main default page (see GIF above^) CC @thethomic

@sghoweri sghoweri requested a review from bmuenzenmeyer March 1, 2020 19:38
@sghoweri sghoweri added the uikit label Mar 1, 2020
@bmuenzenmeyer
Copy link
Member

works great @sghoweri !

@bmuenzenmeyer bmuenzenmeyer merged commit f89853e into dev Mar 23, 2020
@bmuenzenmeyer bmuenzenmeyer deleted the feature/add-404-support-plus-router-cleanup branch March 23, 2020 12:05
@sghoweri
Copy link
Contributor Author

Thanks @bmuenzenmeyer! 👍🏼

antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
…support-plus-router-cleanup

Refactor Iframe Routing Logic + Add Psuedo-404 Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants