-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove lib/products-list #22901
Closed
Closed
Remove lib/products-list #22901
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spen
added
the
[Feature Group] Emails & Domains
Features related to email integrations and domain management.
label
Mar 1, 2018
Closed
spen
force-pushed
the
try/remove-lib-products-list
branch
from
April 14, 2018 16:53
e71c9bf
to
e1dfec6
Compare
Rebased. |
spen
force-pushed
the
try/remove-lib-products-list
branch
from
April 14, 2018 20:18
e1dfec6
to
259ef99
Compare
This branch needs a rebase. Is this PR still required? |
I believe this PR was superseded by other PRs 👌 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature Group] Emails & Domains
Features related to email integrations and domain management.
Framework
State
[Status] Needs Rebase
[Type] Janitorial
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: This ended up being a huge chunk of work. I'm happy to cherry-pick out commits if that would help reviewing - just let me know :)
Summary
While I was in the air✈️ I wanted to do some janitorial work on the project. One thing I'm always happy to do is 🔪mixin usage and anything fluxxy!
The rabbit hole I chose to dive in to on this trip was to reduce some usage of the observe mixin, in this case by removing
products-list
.We we're already half way there, with
products-list
already having a full set of redux reducers and actions so it was more a case of plugging wires in to the right places.Testing
Of course, everything should work exactly as before. I foresee the biggest pain point being in fetching/sync timing. The flux store had a handy getter that would fetch data where needed, something we don't have a direct mirror of with redux (the issue is solved by dispatching a fetch action via a query component)... So please be very vigilant about this point and assume that I've missed something, somewhere.
Run the full unit test suite
npm run test-client
- there should of course be no regressions that cause any tests to fail.Domain Management
List view:
Item view:
Email
Upgrades - Google Apps
Coming...
Signup - Domains
Signup - Cart
Currently not working ❌
At the point at which the cart is built with items from signup (domain, plan etc.) the products have not been fetched or stored in redux state. The fix may be quite involved as this needs to be done via the dispatcher and needs to be synchronous (We need those products in redux before building the cart).
Checkout
Coming...
Coming...
This is a work in progress and isn't something I can dedicate a big chunk of my own time to. I'll get there eventually but if anybody is able to help iron out the remaining issues and get a fully successful run through the complete test plan I would appreciate that very much!
I've added to the 'Reduxify Flux: One Project to Rule Them All' project board, feel free to remove if I've done so wrongly.
Seems to relate to: #5046 & #6709