source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
103 stars 167 forks source link

Migrate to Redux Toolkit part 8 #2988

Closed RichDom2185 closed 6 months ago

RichDom2185 commented 6 months ago

Description

Migrated more sagas and action creators to use the new helpers.

Codebase is still a bit messy as it's in the midst of refactoring but it will be cleaned up in subsequent parts.

Type of change

How to test

Everything should still work.

Checklist

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 8959955754

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/commons/sagas/StoriesSaga.ts 0 1 0.0%
src/commons/sagas/WorkspaceSaga/helpers/evalCode.ts 3 4 75.0%
src/features/academy/AcademyActions.ts 4 5 80.0%
src/commons/sagas/BackendSaga.ts 17 20 85.0%
src/features/github/GitHubActions.ts 2 5 40.0%
src/commons/workspace/WorkspaceActions.ts 47 61 77.05%
src/commons/sagas/WorkspaceSaga/index.ts 62 85 72.94%
<!-- Total: 153 199 76.88% -->
Files with Coverage Reduction New Missed Lines %
src/commons/sagas/WorkspaceSaga/index.ts 2 55.47%
src/commons/sagas/SafeEffects.ts 5 47.06%
<!-- Total: 7 -->
Totals Coverage Status
Change from base Build 8959952918: -0.5%
Covered Lines: 4989
Relevant Lines: 14543

💛 - Coveralls