Make an attempt at refactoring the challenge id actions - remove setChallengeId and use only setActiveChallengeIds. Rename this to setChallengeIdContext.
Remove other setAndSyncChallengeId action/epic.
Fix bug setting active challenge ids on app initialization.
Fix bug related to setting media challenge completion state.
Log uncaught errors thrown from the epics stream.
Notes:
A lot of logic is wrapped up in with the active challenge changing (e.g. updating challenge blobs and status, etc.) so it's definitely possible there are some subtle bugs related to this (one already exists in current master). If this does well with the tests and manual QA and if the code review is good I think we can move forward with this approach and tackle any new bugs we may discover down the line.
This PR:
id
actions - removesetChallengeId
and use onlysetActiveChallengeIds
. Rename this tosetChallengeIdContext
.setAndSyncChallengeId
action/epic.Notes:
master
). If this does well with the tests and manual QA and if the code review is good I think we can move forward with this approach and tackle any new bugs we may discover down the line.