• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 5309748402
40%

Build:
DEFAULT BRANCH: master
Ran 19 Jun 2023 08:49AM UTC
Jobs 1
Files 526
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 22 Sep 2024 02:35PM UTC via web
5309748402

push

github

web-flow
Use `useTypedSelector` and `useDispatch` in AssessmentWorkspace (#2517)

* Migrate most AssessmentWorkspace state props

Now uses `useTypedSelector` instead of `mapStateToProps`.

* Use named imports for React hooks

* Memoize AssessmentWorkspace state handlers

* Fix compile error in test file

* Update test snapshots

* Refactor AssessmentWorkspace

* Memoize more handlers
* Rewrite reset workspace logic for better safety

* Migrate remaining state handlers to use dispatch

* Remove unused state props

* Update tests and snapshots

* Migrate remaining state props to useTypedSelector

* Remove AssessmentWorkspaceContainer and related types

* Update tests and snapshots

* Refactor AssessmentWorkspace

* Create a new AssessmentUtils file
* Migrate `onClickProgress` to the utils file and update its signature
  in the process, to better abstract its logic
* Memoize some functions
* Reformat some code
* Reduce code duplication

* Refactor side content tabs logic

* Fix testcases

---------

Co-authored-by: En Rong <53928333+chownces@users.noreply.github.com>

1976 of 6291 branches covered (31.41%)

Branch coverage included in aggregate %.

132 of 132 new or added lines in 3 files covered. (100.0%)

5242 of 13548 relevant lines covered (38.69%)

18.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
68.85
0.0% src/commons/assessment/Assessment.tsx
16
3.03
src/features/assessments/AssessmentUtils.ts
23
72.67
9.34% src/commons/assessmentWorkspace/AssessmentWorkspace.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
6
72.67
9.34% src/commons/assessmentWorkspace/AssessmentWorkspace.tsx
Jobs
ID Job ID Ran Files Coverage
1 5309748402.1 19 Jun 2023 08:49AM UTC 526
36.38
GitHub Action Run
Source Files on build 5309748402
  • Tree
  • List 526
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9eecc3a4 on github
  • Prev Build on master (#5308282054)
  • Next Build on master (#5318452213)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc