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

source-academy / frontend / 9050524219
40%

Build:
DEFAULT BRANCH: master
Ran 12 May 2024 09:59AM UTC
Jobs 1
Files 560
Run time 1min
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

12 May 2024 09:55AM UTC coverage: 31.962% (-0.1%) from 32.062%
9050524219

push

github

web-flow
Display Stories Users in Admin Panel (#2763)

* chore: initial copy from userConfigPanel

* feat: add stories user tab in admin panel

tab is still showing users, instead of stories users.

* chore: add type AdminPanelStoriesUsers

meant to be analagous to AdminPanelCourseRegistrations, based on the
return fields of /groups/{groupId}/users from stories backend.

* refactor: update types and parameters

Role to StoriesRole, courseRegId to id (to match StoriesUsers)

* refactor: update AdminPanelStoriesUsers type

* feat: fetch users from stories db

* feat: enable role column

* chore: update csv title and columns

* Merge master

* chore: fix merge conflicts

* fix: errors from merging and dep version bumps

suppressCellSelection of <AgGridReact> is now suppressCellFocus
(AG-5953).
cellRendererFramework of ColDef is now cellRenderer, see
[blog](https://blog.ag-grid.com/whats-new-in-ag-grid-27/).

* style: run yarn format

* feat: add deleting user and updating user roles

added sagas, actions, calls to the backend to enable functionality of
deleting user and updating their roles in the Stories Users panel.
updated some variable names (previously copied from Users panel) to
match newly created names.

* refactor: linter changes and dialog box text

refactored code based on changes made by linter during pre-push hook.
also refactored text shown in dialog box upon clicking Delete User
button in Stories User panel.

* style: run yarn format

* Migrate new actions to RTK

* Migrate new actions to RTK

* Fix compile errors post-merge

* Migrate new saga handlers post-merge

* Reformat new saga handlers post-merge

* Fix format

* Fix incorrect action creator signature

* Fix type errors

* Fix format

* Fix incorrect merge resolution

* Update stories `RolesCell`

To align with new updates in the default `RolesCell` component.

* Update StoriesUserActionsCell.tsx

Reflect new updat... (continued)

1907 of 6927 branches covered (27.53%)

Branch coverage included in aggregate %.

13 of 87 new or added lines in 11 files covered. (14.94%)

5033 of 14786 relevant lines covered (34.04%)

20.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
42.31
3.18% src/features/stories/StoriesActions.ts
1
13.64
-0.32% src/features/stories/StoriesReducer.ts
2
75.29
-1.25% src/commons/application/actions/SessionActions.ts
5
0.0
0.0% src/pages/academy/adminPanel/AdminPanel.tsx
6
0.0
src/pages/academy/adminPanel/subcomponents/storiesUserConfigPanel/RolesCell.tsx
13
0.0
src/pages/academy/adminPanel/subcomponents/storiesUserConfigPanel/StoriesUserActionsCell.tsx
13
0.0
src/pages/academy/adminPanel/subcomponents/storiesUserConfigPanel/StoriesUserConfigPanel.tsx
16
2.35
0.74% src/commons/sagas/StoriesSaga.ts
17
12.12
-0.21% src/features/stories/storiesComponents/BackendAccess.ts
Jobs
ID Job ID Ran Files Coverage
1 9050524219.1 12 May 2024 09:59AM UTC 560
31.96
GitHub Action Run
Source Files on build 9050524219
  • Tree
  • List 560
  • Changed 10
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4b63863a on github
  • Prev Build on master (#9049787385)
  • Next Build on master (#9050698198)
  • 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