-
Notifications
You must be signed in to change notification settings - Fork 8
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
Store Refactor (Draft) #231
Comments
Summary
Description The table click functionality of the This occurred via the actions
This logic will now be relocated to the store via overarching action |
Summary
Description In order to produce the table rows of the Instead, the refactored |
The functions below were removed from the categorization page relating to the
|
Hey @jarmoza and @rmanaem: we have our sketch of the store refactor from the miro board. Now we should implement what's on the board as state variables, mutations, and getters in the store. Ideally we can do this in very small and easy to understand increments, maybe even one mutation/getter/action/variable at a time. One problem will be (I think) that the end-to-end tests will continue failing until we have successfully stitched everything back together. That's a bit too wobbly for my taste - if a mutation is bugged, we'd ideally catch that right away. One answer is to use unit tests for the store methods (see #250) - and I think we should do that. Another (parallel) idea might be to figure out partial e2e tests that might already work even though the rest of the app is still broken (e.g. getting up to the categorization page, even though annotation is still broken). @jarmoza: any idea how feasible this might be? Let's collect some thoughts here on:
and then discuss |
We're (mostly) done with refactoring individual components. Now we want to find overlap in the getters and mutations that the components expect to access in the store, so that we can reuse these store methods as much as possible. We would like to reuse them so much, that we will consider small refactors of components to allow them to reuse an existing getter/mutation instead of needing a custom one (within reason).
This Epic is a place to track the work and to have some discussion about the overall approach.
Codeshare for our original I/O store refactor spec'ing: https://codeshare.io/r9WllY
The text was updated successfully, but these errors were encountered: