-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:edx/frontend-app-gradebook
- Loading branch information
Showing
170 changed files
with
21,196 additions
and
49,818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ dist/ | |
node_modules/ | ||
src/postcss.config.js | ||
src/segment.js | ||
src/lightning.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18.15 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 131 additions & 0 deletions
131
src/components/GradebookHeader/__snapshots__/index.test.jsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`GradebookHeader component render default view shapshot 1`] = ` | ||
<div | ||
className="gradebook-header" | ||
> | ||
<a | ||
className="mb-3" | ||
href="test-dashboard-url" | ||
> | ||
<span | ||
aria-hidden="true" | ||
> | ||
<< | ||
</span> | ||
Back to Dashboard | ||
</a> | ||
<h1> | ||
Gradebook | ||
</h1> | ||
<div | ||
className="subtitle-row d-flex justify-content-between align-items-center" | ||
> | ||
<h2> | ||
test-course-id | ||
</h2> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`GradebookHeader component render frozen grades snapshot: show frozen warning 1`] = ` | ||
<div | ||
className="gradebook-header" | ||
> | ||
<a | ||
className="mb-3" | ||
href="test-dashboard-url" | ||
> | ||
<span | ||
aria-hidden="true" | ||
> | ||
<< | ||
</span> | ||
Back to Dashboard | ||
</a> | ||
<h1> | ||
Gradebook | ||
</h1> | ||
<div | ||
className="subtitle-row d-flex justify-content-between align-items-center" | ||
> | ||
<h2> | ||
test-course-id | ||
</h2> | ||
</div> | ||
<div | ||
className="alert alert-warning" | ||
role="alert" | ||
> | ||
The grades for this course are now frozen. Editing of grades is no longer allowed. | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`GradebookHeader component render show bulk management snapshot: show toggle view message button with handleToggleViewClick method 1`] = ` | ||
<div | ||
className="gradebook-header" | ||
> | ||
<a | ||
className="mb-3" | ||
href="test-dashboard-url" | ||
> | ||
<span | ||
aria-hidden="true" | ||
> | ||
<< | ||
</span> | ||
Back to Dashboard | ||
</a> | ||
<h1> | ||
Gradebook | ||
</h1> | ||
<div | ||
className="subtitle-row d-flex justify-content-between align-items-center" | ||
> | ||
<h2> | ||
test-course-id | ||
</h2> | ||
<Button | ||
onClick={[MockFunction hooks.handleToggleViewClick]} | ||
variant="tertiary" | ||
> | ||
toggle-view-message | ||
</Button> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`GradebookHeader component render user cannot view gradebook snapshot: show unauthorized warning 1`] = ` | ||
<div | ||
className="gradebook-header" | ||
> | ||
<a | ||
className="mb-3" | ||
href="test-dashboard-url" | ||
> | ||
<span | ||
aria-hidden="true" | ||
> | ||
<< | ||
</span> | ||
Back to Dashboard | ||
</a> | ||
<h1> | ||
Gradebook | ||
</h1> | ||
<div | ||
className="subtitle-row d-flex justify-content-between align-items-center" | ||
> | ||
<h2> | ||
test-course-id | ||
</h2> | ||
</div> | ||
<div | ||
className="alert alert-warning" | ||
role="alert" | ||
> | ||
You are not authorized to view the gradebook for this course. | ||
</div> | ||
</div> | ||
`; |
Oops, something went wrong.