You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migrate `evalStory` handler to Stories Saga
* Add Redux utils
Originally done in f1cf593.
Amended to fix some bugs with types.
---------
Co-authored-by: Lee Yi <[email protected]>
* Migrate some stories actions to use helper
Type errors will be fixed later.
* Migrate more stories actions to use helper
* Fix old reducer/actions helper compatibility issues
* Migrate new stories users handler to BackendSaga
Done to align with where the action creator is located.
* Migrate StoriesSaga to use helper
Original implementation in bbf4f09.
Adapted to match current state of codebase.
---------
Co-authored-by: Lee Yi <[email protected]>
* Fix tests
* Fix compile errors
Also added a TODO for a testing util.
* Remove unnecessary rootReducer creator
* Fix combineSagaHandlers
* Migrate SessionActions to use helper
Some are left unmigrated to preserve the readability of the diff.
* Remove old session types
* Update tests and non-related sagas
Only updated sagas that require a simple fix of the imported action
types. Remaining sagas will be done in a later commit.
* Fix SessionActions compatibility with ActionsHelper
* Comment out most of mock backend saga
To minimise potentially unnecessary development effort while pending
removal decision outcome. Only commented handlers that are incompatible
with the type changes.
* Fix SessionReducer tests
* Use action creator in components
Use the action creator instead of creating the action object manually to
enforce abstraction.
* Migrate BackendSaga to use new helpers
Intentionally done in a very specific way, mixing new and old code
styles, in order to keep the diff legible for such a large migration.
Further refactoring will be done in the future.
* Update backend saga tests
* Remove duplicate action types
* Migrate mock backend to RTK action types
---------
Co-authored-by: Lee Yi <[email protected]>
Co-authored-by: En Rong <[email protected]>
0 commit comments