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

source-academy / frontend / 5608703629
40%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2023 08:34AM UTC
Jobs 1
Files 543
Run time 9s
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

20 Jul 2023 08:29AM UTC coverage: 35.961% (-0.6%) from 36.562%
5608703629

push

github

web-flow
Add stories for source academy (#2424)

* Add stories for source academy

* Update snapshots post-merge

* fixed types to react 18 and resolved react router version errors

* Fix dependency errors

For some reason the types in the lockfile was still stuck to React 17
post-merge. In this commit we reset the lockfile to match `master` and
reran `yarn install` to update the dependencies to match what is
required for this PR. We also migrated one dependency that should have
been a devDependency instead.

* Remove RouteComponentProps from UseBlogDir

This prop is no longer necessary following the react-router v6 upgrade.

* Restore original WorkspaceLocation type constraint

* Rename SideContent to StoriesSideContent

* Rename StoriesSideContent props type

Prevents name collisions with the main SideContentProps type.

* Move env string to separate storyEnv prop

* Add TODO

* Remove unnecessary tabs from SourceBlock

* Fix incorrect SideContentProps import to SourceBlock

* Add stories key to workspace locations

* Comment out HTML tab from SourceBlock

* Remove usage of magic string in StoriesReducer

* Fix errors post-workspaceLocation type change

* Remove usage of magic string in SourceBlock

* Fix saga error post-workspaceLocation type change

* Fix router error

* Remove Enzyme testing

* Remove test files

* Hide stories while still in development

Done in preparation for merging.

* Redirect story routes to root
* Hide stories button from navigation bar

---------

Co-authored-by: Martin Henz <henz@comp.nus.edu.sg>
Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com>
Co-authored-by: Rena Ng <e0772915@u.nus.edu>

2049 of 6650 branches covered (30.81%)

Branch coverage included in aggregate %.

68 of 386 new or added lines in 23 files covered. (17.62%)

2 existing lines in 1 file now uncovered.

5454 of 14214 relevant lines covered (38.37%)

18.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.8
-0.86% src/commons/application/ApplicationTypes.ts
1
69.83
-1.34% src/commons/gitHubOverlay/FileExplorerDialog.tsx
1
88.5
-0.79% src/commons/workspace/WorkspaceActions.ts
1
0.0
0.0% src/pages/sourcecast/Sourcecast.tsx
6
64.71
src/features/stories/StoriesActions.ts
10
0.0
src/pages/stories/UserBlog.tsx
13
10.71
src/features/stories/storiesComponents/StoriesSideContent.tsx
15
0.0
src/pages/stories/UserBlogDir.tsx
17
65.75
-1.96% src/commons/sagas/WorkspaceSaga.ts
18
0.0
src/pages/stories/Stories.tsx
19
0.0
src/features/stories/storiesComponents/BackendAccess.ts
28
16.39
src/features/stories/StoriesReducer.ts
30
2.09
-0.52% src/features/github/GitHubUtils.tsx
33
0.0
src/pages/stories/NewStory.tsx
35
8.55
-2.32% src/commons/sagas/GitHubPersistenceSaga.ts
40
6.49
src/features/stories/storiesComponents/UserBlogContent.tsx
50
1.1
src/features/stories/storiesComponents/SourceBlock.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
2
2.09
-0.52% src/features/github/GitHubUtils.tsx
Jobs
ID Job ID Ran Files Coverage
1 5608703629.1 20 Jul 2023 08:34AM UTC 543
35.96
GitHub Action Run
Source Files on build 5608703629
  • Tree
  • List 543
  • Changed 120
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 254afaa1 on github
  • Prev Build on master (#5597756998)
  • Next Build on master (#5620468516)
  • 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