Commit Graph

34 Commits

Author SHA1 Message Date
Jansen Kantor
3c03358d4e fix: failing tests 2026-01-08 15:14:48 -05:00
Jansen Kantor
f7e6e30d99 style: formatting 2026-01-08 14:57:56 -05:00
Jansen Kantor
ae365b6951 test: add test coverage 2025-11-05 15:49:26 -05:00
Jansen Kantor
729cb40c66 feat: add prompt to grading screen 2025-11-05 15:10:01 -05:00
vladislavkeblysh
4ce7209230 fix: image rendering and blockquote styles (#333) 2025-09-23 11:19:36 -03:00
Diana Villalvazo
a579455e58 test: Remove unwanted mocks, unmocks and deprecate react-unit-test-utils package (#465)
* test: remove last snapshot

* test: remove unwanted mocks, remove unmocks, refactor renderWithIntl

* test: refactor renderWithIntl with small improvements

* test: remove react-unit-test-utils

* test: change fireEvent for userEvent
2025-09-05 12:34:28 -04:00
Victor Navarro
b10aa63723 test: deprecate react-unit-test-utils part-5 (#439)
* test: deprecate react-unit-test-utils part-5

* test: fixes due to rebase

* test: change fireEvent to userEvent

* test: improve tests and address feedback

---------

Co-authored-by: diana-villalvazo-wgu <diana.villalvazo@wgu.edu>
2025-09-04 10:16:52 -04:00
Victor Navarro
8e7bba5365 test: deprecate react-unit-test-utils part-6 (#440) 2025-09-02 11:42:37 -04:00
Victor Navarro
e4c0b1843d test: deprecate react-unit-test-utils part-7 (#442)
* test: deprecate react-unit-test-utils part-7

* test: change fireEvent for userEvent

---------

Co-authored-by: diana-villalvazo-wgu <diana.villalvazo@wgu.edu>
2025-08-29 20:27:15 -04:00
Jacobo Dominguez
57022ed294 refactor: replacing injectIntl with useIntl() part 2 (#459) 2025-08-22 12:24:39 -04:00
Brian Smith
715cc60c1c feat!: add design tokens support (#441)
BREAKING CHANGE: Pre-design-tokens theming is no longer supported.

Co-authored-by: Diana Olarte <diana.olarte@edunext.co>
2025-06-18 16:05:04 -04:00
Bilal Qamar
5bcb6fe6f3 refactor: updated snapshots for failing tests 2024-04-15 15:44:02 +05:00
Mashal Malik
f67ffdd480 refactor: replace @edx/paragon and @edx/frontend-build (#294)
* refactor: replace @edx/paragon and @edx/frontend-build

* refactor: updated edx packages

* fix: fixed failing test cases by remmoving paragon mock

* fix: updated lock file to fix build issues

---------

Co-authored-by: mashal-m <mashal.malik@arbisoft.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
Co-authored-by: Muhammad Abdullah Waheed <abdullah.waheed@arbisoft.com>
2024-02-28 13:04:23 -03:00
Syed Ali Abbas Zaidi
5bed90b659 feat: migrate enzyme to edx/react-unit-test-utils (#295)
* feat: migrate enzyme to edx/react-unit-test-utils

* refactor: remove shallowWrapper usage

* refactor: remove unnecessary _instance usage
2024-02-10 00:35:02 +05:00
Emad Rad
e25a5a9549 Persian language (#246)
* fix: corrected typos

explaination -> explanation
Critera -> Criteria
addtional -> additional
arbitary -> arbitrary
penging -> pending
downladFiles -> downloadFiles
isLoadeed -> isLoaded
selectror -> selector
commnents -> comments
stirng -> string
isGragrding -> isGrading
queu -> queue
seleted -> selected
feecback -> feedback

* feat: Persian language (fa_IR) added

* chore: Persian translations added

* chore: sort language codes alphabetically

* chore: camelCase variable used for translated messages

* chore: deprecated styling updated

---------

Co-authored-by: Leangseu Kim <lkim@edx.org>
2023-09-11 09:15:52 -04:00
Leangseu Kim
956dee9a6d chore: change card body to card section 2022-07-19 11:28:15 -04:00
leangseu-edx
d4f1383822 fix: make student response persist break line on display (#125)
* fix: make student response persist break line on display

* chore: scroll bug when selecting text
2022-07-07 11:54:47 -04:00
Ben Warzeski
5f12c4fb8e chore: renderer test coverage (#103)
* chore: renderer test coverage

* fix: lint

* chore: api tests

* chore: tests for app reducer and StartGradeButton

* chore: lint

* fix: update reducer tests

* chore: more test coverage

* chore: test coverage

* chore: update test for merge conflicts
2022-04-29 14:54:33 -04:00
Leangseu Kim
74423bf359 feat: prevent download large files 2022-04-21 09:37:11 -04: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-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 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
9a1a7cd892 refactor: centralize paragon mocking 2021-11-05 16:04:55 -04:00
Ben Warzeski
3e6eb4b269 fix: update tests for createSlice refactor 2021-11-05 14:05:37 -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
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