-
Notifications
You must be signed in to change notification settings - Fork 712
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
Make Time Travel a modular component #2888
Conversation
0c89171
to
742a8c5
Compare
…ime travel is contained in one component.
Still reviewing this one @fbarl I will try to finish up by the end of the day tomorrow (10/17) |
No worries @jpellizzari, this PR is not blocking any work at the moment. Forgot to mention what might be obvious, but nothing in Time Travel behaviour should have changed with this PR, it's a pure refactoring one. |
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.
Nice job!
Fixes #2893.
Changes
TimeTravelComponent
, which communicates with the world only through forwarded props and is completely isolated from the Scope Redux state.styled-components
library to contain all the Time Travel styles in the component.ui-components
repo separatelyApp
component into the theme the same way it's done inservice-ui
repo, to start using more standardized colorset in Scope (note: I tried doing it inmain.js
andmain.dev.js
files instead, but that wouldn't work with local proxying soapp.js
was naturally my second choice).