Commit Graph

80 Commits

Author SHA1 Message Date
leangseu-edx
91dd10917f fix: cannot select criterion (#100)
* fix: cannot select criterion

* fix: refactor fill grade data

* fix: update tests

Co-authored-by: Ben Warzeski <bwarzeski@edx.org>
2022-04-18 16:43:37 -04:00
leangseu-edx
64ac98c310 download filename, error handling and cache busting (#98)
* feat: handle download error and display them

* chore: update test environment for easier single file test

* feat: add cache bursting to the download
2022-04-14 13:52:39 -04:00
Ben Warzeski
56c6c88638 feat: connect batch unlock to the api 2022-04-07 15:55:49 -04:00
edX requirements bot
9c564c5781 build: Added support for node v16 (#54)
* feat: Added support for node v16

* test: update test for download

Co-authored-by: Leangseu Kim <lkim@edx.org>
2022-04-06 14:13:25 -04:00
Ben Warzeski
6c9673cc06 feat: Demo flag (#89)
* fix: preserve gradingData on navigation

* feat: demo linking and clear-all on close review

* fix: fix assets url

* chore: update snapshot

* fix: update routing for images

* fix: update snapshot
2022-04-05 15:11:20 -04:00
Leangseu Kim
d033fa310d feat: make zip support larger files
chore: improve code readability
2022-03-30 13:12:56 -04:00
Leangseu Kim
876f5d9413 fix: make gradeData check for empty object and null/undefined
chore: remove duplicate/unused function
2022-03-29 12:05:09 -04:00
Ben Warzeski
257849b55f Chore: Au 340 (#82)
* chore: testing update

* fix: uncomment tests
2022-03-23 13:34:20 -04:00
leangseu-edx
0de9807c94 Revert "Chore: Au 340 (#79)"
This reverts commit e1442f7890.
2022-03-18 12:24:56 -04:00
Ben Warzeski
e1442f7890 Chore: Au 340 (#79)
* chore: update tests for grading selectors

Co-authored-by: Justin Lapierre <jlapierre@edx.org>
2022-03-18 09:29:22 -04:00
Leangseu Kim
e656534a51 feat: empty submission components
chore: update usage of empty submission in list view

chore: remove unused

test: add unit testing
2022-03-15 12:20:11 -04:00
leangseu-edx
59c57028a0 chore: remove reloadSubmissions key from request and use initialize to reloadSubmissions table (#65)
Co-authored-by: Justin Lapierre <jlapierre@edx.org>
2022-02-23 09:25:34 -05:00
Ben Warzeski
42535c5f80 feat: switch over to real bff api (#56) 2022-02-10 11:25:44 -05:00
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
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
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
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
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
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
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
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
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
7d0b281dd0 feat: i18n ListView and StatusBadge labels 2021-10-29 10:26:06 -04:00
Ben Warzeski
39047272ca feat: split cancel and stop grading actions 2021-10-26 12:27:13 -04:00
Ben Warzeski
eccc4e36a3 fix: only load response from current into neighbor when navigating 2021-10-26 12:27:13 -04:00
Ben Warzeski
22ce2de8c2 fix: move request-tracking to after callbacks and add docstring 2021-10-25 12:20:00 -04:00