Commit Graph

97 Commits

Author SHA1 Message Date
Ben Warzeski
587caff980 Demo (#86)
* feat: demo mode

* chore: update i18n for demo mode

* chore: re-use demo design

* fix: update snapshots

* chore: add more testing of demo feature
2022-03-29 12:02:39 -04:00
Ben Warzeski
38d40342db feat: demo mode (#78)
* feat: demo mode

* chore: update i18n for demo mode

* chore: re-use demo design

* fix: update snapshots
2022-03-29 11:56:05 -04:00
Ben Warzeski
257849b55f Chore: Au 340 (#82)
* chore: testing update

* fix: uncomment tests
2022-03-23 13:34:20 -04:00
Ben Warzeski
8ebd0497cf chore: update filter status component tests (#74)
* chore: update filter status component tests

* chore: move react stub to setupTests
2022-03-17 11:48:17 -04:00
Leangseu Kim
25aae2cec8 fix: fix bad export on filterStatusComponent 2022-03-17 07:13:53 -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 Kim
278ac101a7 feat: override filter status component
fix: review modal test failure

chore: update unit test

chore: update hook and test

chore: add unit test for set all filter

chore: update use callback mock
2022-03-15 12:04:20 -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
leangseu-edx
e549cfb598 feat: confirm close modal for unsaved work (#66)
* feat: confirm close modal for unsaved work

* chore: update prop
2022-02-23 09:23:36 -05:00
Leangseu Kim
4267206d58 fix: make feedback a text area 2022-02-15 11:39:32 -05:00
Leangseu Kim
054e6acfc6 fix: align icon link and ora header 2022-02-15 11:33:51 -05:00
leangseu-edx
664368fe17 fix: add margin between button (#62)
* fix: add margin between button

* chore: bump margin one size up
2022-02-15 11:33:24 -05:00
leangseu-edx
11a2838799 chore: update translation config (#53)
* chore: update translation config

* fix: fix duplicate id

* chore: update snapshot
2022-02-10 11:49:24 -05:00
leangseu-edx
e8550af85d fix: scroll enable on smaller screen (#51)
* fix: scroll enable on smaller screen

* fix: fixed review error width

* fix: make rubric and review error width align

* fix: rubric position to be sticky

* fix: remove double scroll bar at the bottom for small screen

* fix: make submission more response on small screen

* fix: rubric sticky and margin correctly on smaller screen

* chore: linting and update snapshot

* fix: make submission title resize to smaller on smaller screen

* fix: miss align rubic and submission file on the top

* fix: padding size on small screen

* feat: add optional on feedback comment for clarity

* chore: update test
2022-02-08 10:33:42 -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
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
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
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
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
71dc26b7ad refactor: update grading data flow 2021-11-15 11:55:34 -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
Ben Warzeski
9a1a7cd892 refactor: centralize paragon mocking 2021-11-05 16:04:55 -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
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
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
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
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
Ben Warzeski
e288579ccb fix: clean up ListViewBreadcrumbs snapshot 2021-10-26 15:41:27 -04:00
Ben Warzeski
fcdbc5034e fix: update snapshot mocking 2021-10-26 15:34:49 -04:00
Ben Warzeski
89ec764e2c feat: add helper classes to navigation buttons 2021-10-26 12:27:09 -04:00