-
Notifications
You must be signed in to change notification settings - Fork 54
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
Refactor/more redux reducers #622
Conversation
…factor/more-redux-reducers
seems like GitHub actions is down |
This is gonna be a massive PR to review if you finish it al; can you mark this one as ready and create another one? |
Could you also note down which reducers were refactored in the description? |
@@ -146,7 +147,7 @@ export const lockTimetable = (timetable) => (dispatch, getState) => { | |||
const state = getState(); | |||
|
|||
if (timetable.has_conflict) { | |||
dispatch({ type: ActionTypes.TURN_CONFLICTS_ON }); | |||
dispatch(preferencesActions.turnConflictsOn()); |
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.
Thinking of getting rid of the preferences modal soon, what do you think?
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.
Yes, the preference modal is kinda buggy, I think we should remove
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.
Okay, let's do that after redux reducers are refactored
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.
Looks good, check if the description covers everything and comment if it's right
Thanks lol, I think that's all |
It's good |
Description
Refactor more redux reducers
Progress
Current Progress: 11 completed, 8 left to be completed in another PR
Change Log
Refactored the following reducer into redux toolkit slice