-
Notifications
You must be signed in to change notification settings - Fork 36
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
VersionChooser can now select versions #391
Conversation
4814644
to
d82d404
Compare
This is working but the storybook has an issue and I don't really know how to fix it yet: the component receives router props with empty |
d82d404
to
4020922
Compare
rebased! |
Codecov Report
@@ Coverage Diff @@
## master #391 +/- ##
=========================================
- Coverage 97.17% 97.08% -0.1%
=========================================
Files 35 35
Lines 673 686 +13
Branches 152 152
=========================================
+ Hits 654 666 +12
- Misses 18 19 +1
Partials 1 1
Continue to review full report at Codecov.
|
4020922
to
2479506
Compare
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.
It's cool to see this come together! I'll do a proper review when the others have landed.
d20d17f
to
fc05167
Compare
fc05167
to
c8fb354
Compare
This is ready for a review :) |
2c9e35a
to
939b6d4
Compare
I know it looks broken but it actually works :D Circle-CI isn't configured yet. |
939b6d4
to
76be055
Compare
76be055
to
e1ff2e7
Compare
Rebased! |
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.
Just a partial review amidst morning interruptions...
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.
r+wc
Fixes #321
⚠️ depends on #385
I believe this also fixes #111 🏆
This PR adds the logic to change versions in
VersionChooser
. It also ensures version order is correct (old < new). I did it in theVersionChooser
component because it would add too much logic into theCompare
component, but I can move everything in one place (I would understand that we want to keep the same logic in a unique file).Only the last commit is relevant.
Gif