-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat(example app): add modals page example 204 #250
Conversation
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.
Looks good! Since this is meant to be a teaching tool, I made suggestions for how to match the behavior/implementation/naming between redux and hooks more closely. Sharing the TestModal
code between both could help.
I think these types of changes would make it easier to compare approaches.
@eamahanna General comment - If its not too messy could you point this off @suzubara branch? If we merge this PR alone, as written right now, it will bring in all of that work. Otherwise let's wait till that work merges to bring this in. |
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.
Thank you!! One small comment. Also making sure you saw this #250 (comment). If this doesn't resolve before you have to offboard you can assign me to the issue and I can make sure it gets merged 😄
commit 1054469 Author: Emily Mahanna <56279459+eamahanna@users.noreply.github.com> Date: Mon Jun 15 10:40:45 2020 -0800 feat(example app): add modals page example 204 (#250) * WIP Set up basic layout, router * Switch to react-router, add placeholder content * feat(example app): add modals example page * feat(example app): add redux for modals * hook up modals page * feat(example app): add hook modal * fix(modals page): fixes from PR review * fix(modals page): pr update * fix(modals page): remove comment * fix(modals page): add import back in Co-authored-by: Suzanne Rozier <suz@truss.works> commit 832decc Author: Suzanne Rozier <suz@truss.works> Date: Mon Jun 15 13:00:03 2020 -0500 docs(example-app): Example app UI #202 (#237) * WIP Set up basic layout, router * Switch to react-router, add placeholder content * Add docs and commands for running the example app
* WIP Set up basic layout, router * Switch to react-router, add placeholder content * feat(example app): add modals example page * feat(example app): add redux for modals * hook up modals page * feat(example app): add hook modal * fix(modals page): fixes from PR review * fix(modals page): pr update * fix(modals page): remove comment * fix(modals page): add import back in Co-authored-by: Suzanne Rozier <suz@truss.works>
Summary
This PR adds a modals page for the example app. On the modals page are two modals: one using redox and another that uses hooks.
Related Issues or PRs
closes #204
How To Test
Screenshots (optional)