Commit Graph

135 Commits

Author SHA1 Message Date
Leangseu Kim
c6ed6938af fix: update setup test to mock locationId 2022-02-02 15:09:14 -05:00
leangseu-edx
81026ae013 feat: make the app reload submission on modal close (#50)
* feat: make the app reload submission on modal close

* chore: remove reloadSubmission request and reuse initial app
2022-01-25 14:00:51 -05:00
leangseu-edx
46ebc899ee tri-fix (#49)
* fix: response display to show medium size on even the content isn't big enough

* fix: don't show download button when there isn't submission files

* feat: additional default support file for image renderer
2022-01-24 14:30:07 -05:00
leangseu-edx
f7341efc71 fix: grade data is empty object when there isn't grade data (#48)
* fix: grade data is empty object when there isn't grade data

* test: update unit testing
2022-01-21 13:36:54 -05:00
leangseu-edx
c5bf0a7d11 feat: add file renderer that support common error handling and loading banner (#42)
* feat: add file renderer that support common error handling and loading banner

* chore: use axios instead of get from utils

* chore: fixed typo and update snapshots
2022-01-19 12:34:44 -05:00
leangseu-edx
b2aac6036e feat: show file size in file popover (#47)
* feat: show file size in file popover

* chore: update file popover content's props
2022-01-19 11:13:39 -05:00
Ben Warzeski
21dcc972ed chore: update integration tests through grade submission (#43) 2022-01-13 14:18:58 -05:00
Justin Lapierre
d629e4495b chore: Implement submissions selector unit tests (#46)
* chore: Adapted the selector unit test to exercise the submissions selectors

* chore: updated linting for new submissions selector unit tests
2022-01-11 15:46:39 -05:00
Ben Warzeski
579ff50c99 feat: Zip download (#41)
* integration tests through navigation

* more tests

* download-demo

* feat: file download and tests

* fix: update manifest styling
2022-01-10 10:29:13 -05:00
Ben Warzeski
b0be873722 fix: update repo name 2021-12-20 15:36:17 -05:00
leangseu-edx
771e79963e feat: txt file support (#40)
* feat: add txt renderer

* chore: remove supportedTypes and update snapshot

* chore: update css
2021-12-17 11:54:55 -05:00
Ben Warzeski
e584529cc5 feat: File Preview panel (#39)
* feat: update display preview panel

* chore: update package

* test: update unit testing

* test: update test

* test: update unit testing

* feat: update preview display to use custom renderer

* chore: use worker for react-pdf

* test: update unit testing

* chore: update requested change

* chore: update gitignore for sample files

* fix: hard-code filetype mappings

* fix: make integration test work again

* chore: update tests

* feat: add FileInfo to preview cards

Co-authored-by: Leangseu Kim <lkim@edx.org>
2021-12-10 14:57:56 -05:00
leangseu-edx
7e49670a95 feat: update lock/unlock logistic (#38)
* feat: update lock/unlock logistic

* chore: disable submit grade on lock pending

* chore: update mock for contested lock

* chore: update set lock success response

* chore: add failure reducer/action for set lock
2021-12-10 14:57:24 -05:00
Ben Warzeski
91c874e20d feat: Submit states (#37)
* feat: enable teams support

* feat: submit grade pending behavior

* feat: submit error behavior

* fix: Update src/data/services/lms/fakeData/testUtils.js

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>
2021-12-06 11:02:43 -05:00
Ben Warzeski
909516dbc7 feat: enable teams support (#35) 2021-12-03 11:22:15 -05:00
Ben Warzeski
97750dd525 feat: hide breadcrumbs when loading submission list (#34) 2021-11-24 14:57:06 -05:00
Ben Warzeski
7634e0ad7e feat: Load submission pending and error states (#32)
* feat: list pending and error states

* fix: merge clunk

* feat: fetchSubmission pending and error states

* fix: lint fix

* fix: fix tests

* refactor: combined submission fetch

* fix: make merge fixes happy

* fix: linting

* fix: simplify selectors and fix action bar score

* fix: fix tests

* Update src/data/redux/requests/selectors.js

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>

Co-authored-by: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com>
2021-11-24 13:05:18 -05:00
Leangseu Kim
67d91f4f98 feat: connect mfe and bff
test: update unit testing

chore: update requested change
2021-11-23 16:22:14 -05:00
Ben Warzeski
7f51ac833a Merge pull request #31 from muselesscreator/submissionUUID
refactor: Submission UUID
2021-11-22 11:21:57 -05:00
Ben Warzeski
7a7c0f6b22 refactor: downloadUrl => downloadURL 2021-11-22 11:09:24 -05:00
Ben Warzeski
bfcbb50b57 refactor: update api 2021-11-22 10:51:01 -05:00
Usama Sadiq
cfc66f8e31 Merge pull request #29 from edx/aht/BOM-2993-switch-CI-to-github-actions-from-travis
Shift CI from travis to github actions
2021-11-16 16:55:14 +05:00
Ben Warzeski
fab5f16ff4 feat: separate local and static grade data
fix: separate local and static grade data
2021-11-15 14:06:23 -05:00
Ben Warzeski
2bf8deb216 fix: remove unused hack 2021-11-15 14:02:07 -05:00
Ben Warzeski
71dc26b7ad refactor: update grading data flow 2021-11-15 11:55:34 -05:00
Ben Warzeski
0d3678b059 fix: remove duplicate selector 2021-11-11 23:01:29 -05:00
Ben Warzeski
8b9471b610 Update src/containers/CriterionContainer/CriterionFeedback.jsx 2021-11-11 23:01:29 -05:00
Ben Warzeski
595148a82b fix: separate local and static grade data 2021-11-11 23:01:28 -05:00
Leangseu Kim
e620bc0f59 feat: first draft of submit
test: update unit test

chore: update requested change
2021-11-10 16:48:32 -05:00
Mohammad Ahtasham ul Hassan
59559033d9 build: shift CI from travis to github actions 2021-11-10 17:42:56 +05:00
Ben Warzeski
2f4f0579f2 Merge pull request #27 from muselesscreator/mock-paragon
refactor: centralize paragon mocking
2021-11-05 16:06:11 -04:00
Ben Warzeski
9a1a7cd892 refactor: centralize paragon mocking 2021-11-05 16:04:55 -04:00
Ben Warzeski
6d9b80a568 Merge pull request #26 from muselesscreator/redux-slices
Redux slices
2021-11-05 15:56:20 -04:00
Ben Warzeski
266ada8595 fix: merge mess lost a new selector. replaced 2021-11-05 14:14:04 -04:00
Ben Warzeski
2b585f2218 fix: remove old redux directories and update integration test 2021-11-05 14:06:06 -04:00
Ben Warzeski
3e6eb4b269 fix: update tests for createSlice refactor 2021-11-05 14:05:37 -04:00
Ben Warzeski
a9252dedd2 fix: requests reducer 2021-11-05 14:05:17 -04:00
Ben Warzeski
15db8b70cf fix: move thunkActions into new redux shape 2021-11-05 14:05:17 -04:00
Ben Warzeski
9fb5f9f834 feat: use redux.createSlice 2021-11-05 14:05:15 -04:00
Leangseu Kim
a53d66ae54 feat: don't show file table when file upload response config disabled 2021-11-05 09:04:07 -04:00
leangseu-edx
d8ff52ab10 feat: updated submission display (#21)
* feat: first draft of updated submission display

* chore: update unit test

* fix: update requested change

* chore: internationalize the label
2021-11-03 15:19:47 -04:00
Justin Lapierre
2d28c02672 Merge pull request #22 from edx/AU-337
test: AU-337 Unit tests for E.S.G. Actions
2021-11-02 12:45:42 -04:00
Ben Warzeski
db959f18f0 feat: i18n-ize messages (Merge pull request #20 from muselesscreator/i18n)
Feat: I18n-ize messages
2021-11-02 10:43:20 -04:00
Justin Lapierre
9e44b5e05d test: AU-337 Unit tests for E.S.G. Actions 2021-11-01 07:32:49 -04:00
Leangseu Kim
5361080bc3 feat: submission files overview
chore: refactor css and file locations

chore: update fake data and file props

chore: create functional component for showing submission files

chore: update ResponseDisplay test

fix: fix bad snapshot

chore: update linting because husky does do it

chore: update snapshot

chore: update requested change

chore: update mock and snapshot
2021-10-29 11:01:46 -04:00
Ben Warzeski
b053335380 chore: update integration test 2021-10-29 10:26:16 -04:00
Ben Warzeski
7d0b281dd0 feat: i18n ListView and StatusBadge labels 2021-10-29 10:26:06 -04:00
Ben Warzeski
85c4df2304 feat: i18n ReviewActions 2021-10-29 10:25:33 -04:00
Ben Warzeski
e6247f458e feat: i18n Rubric 2021-10-29 10:25:20 -04:00
Ben Warzeski
b31d554be9 feat: i18n CriterionContainer 2021-10-29 10:25:10 -04:00