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

source-academy / frontend / 5608703629

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

2.09
/src/features/github/GitHubUtils.tsx


Source Not Available

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

© 2026 Coveralls, Inc