kenclary
0367ef776e
Merge pull request #240 from openedx/kenclary/TNL-10433
...
fix: more correct parsing of settings, for scoring; use empty string instead of null for empty attempts. TNL-10433.
2023-02-10 12:01:10 -05:00
Raymond Zhou
eff3df7115
Feat allow singleselect to accept multiple correct answers ( #241 )
2023-02-10 11:31:52 -05:00
Kristin Aoki
a22ad54502
fix: update problem description in preview block ( #242 )
2023-02-10 11:00:49 -05:00
Ken Clary
38e262eee0
fix: more correct parsing of settings, for scoring; use empty string instead of null for empty attempts. TNL-10433.
2023-02-10 09:17:44 -05:00
connorhaugh
d69d3e1ce7
feat: Group, General Feedback Settings, Randomization
...
This Ticket adds three new settings widgets to the Problem Editor:
Randomization: This is a setting for advanced problems only which deals with python scripts.
General Feedback: This is feedback which is only applied to certain problem types for mass-adding feedback to incorrect problems.
Group Feedback: For certain problems, the user can provide specific feedback for a combination of specific answers.
2023-02-10 08:50:32 -05:00
kenclary
7c0309189f
Merge pull request #238 from openedx/kenclary/TNL-10426
...
feat: multiple numericalresponse tags no longer special-cased against going to the advanced editor. TNL-10426.
2023-02-09 18:40:59 -05:00
Raymond Zhou
1282a72acf
feat: green radio+checkbox only for valid Checker ( #239 )
2023-02-09 18:33:20 -05:00
Ken Clary
746cd7cc28
feat: multiple numericalresponse tags no longer special-cased against going to the advanced editor. TNL-10426.
2023-02-09 14:47:29 -05:00
Raymond Zhou
46427ee156
feat: make radio and checkbox green ( #234 )
2023-02-08 14:41:36 -05:00
Kristin Aoki
87aaa7f3ff
fix: add empty answer to problem without answers ( #235 )
2023-02-07 20:04:16 -05:00
Kristin Aoki
613b8d16ae
feat: update question parser to preserve text structure ( #232 )
2023-02-07 14:31:41 -05:00
Raymond Zhou
7e8f9a2f0c
feat: change title when problem type changes ( #231 )
2023-02-06 13:11:59 -05:00
kenclary
65b663bfc6
Merge pull request #229 from openedx/kenclary/TNL-10413
...
fix: correct question parsing/building after use of styling. TNL-10413.
2023-02-06 10:17:02 -05:00
Ken Clary
ea6c2c6658
fix: correct question parsing/building after use of styling. TNL-10413.
2023-02-03 11:28:20 -05:00
Raymond Zhou
d978725c35
feat: react to OLX parser process number answers ( #230 )
2023-02-02 15:30:05 -05:00
Kristin Aoki
57dd03f40f
feat: fix feedback box bugs ( #227 )
2023-02-02 13:51:58 -05:00
Kristin Aoki
796dd388f7
fix: selectTypeModal header z-index ( #228 )
2023-02-02 13:43:49 -05:00
Kristin Aoki
74b2b76beb
fix: add check for question length for parser ( #226 )
2023-02-01 15:00:03 -05:00
kenclary
2f1072812d
Merge pull request #224 from openedx/kenclary/TNL-10390
...
fix: correct css for text margins in question tinymce. TNL-10390.
2023-02-01 13:58:38 -05:00
Jesper Hodge
861b47b772
feat add olx solution support ( #225 )
...
This adds support for the tag in OLX and maps it to the description in the settings options on the ShowAnswer card.
https://2u-internal.atlassian.net/browse/TNL-10397
2023-02-01 13:28:14 -05:00
Ken Clary
b1201cdcef
fix: correct css for text margins in question tinymce. TNL-10390.
2023-02-01 12:49:38 -05:00
Kristin Aoki
83d45a249a
feat: add label button to question tinyMCE ( #221 )
2023-02-01 11:35:15 -05:00
kenclary
09d5ce35f3
Merge pull request #219 from openedx/kenclary/TNL-10395
...
fix: question field uses real placeholder instead of template. fixed blank question handling. TNL-10395, TNL-10411.
2023-01-31 13:31:36 -05:00
Kristin Aoki
787c4068f2
feat: add margin to prevent footer blocking content ( #222 )
2023-01-31 12:12:38 -05:00
Ken Clary
80f2689cc2
fix: question field uses real placeholder instead of template. fixed blank question handling. TNL-10395, TNL-10411.
2023-01-30 19:06:53 -05:00
kenclary
4a1bac3bdb
Merge pull request #218 from openedx/TNL-10400
...
fix: give QuestionWidget Editor a minimum height. TNL-10400.
2023-01-27 10:37:04 -05:00
Ken Clary
84fe6605c2
fix: give QuestionWidget Editor a minimum height. TNL-10400.
2023-01-26 16:48:21 -05:00
kenclary
fa2387ae00
Merge pull request #217 from openedx/kenclary/TNL-10401
...
fix: multiple non-numeric problems of the same type should also route to the advanced editor. TNL-10401.
2023-01-26 15:57:21 -05:00
Ken Clary
3b9681618c
fix: multiple non-numeric problems of the same type should also route to the advanced editor. TNL-10401.
2023-01-26 12:28:55 -05:00
Kristin Aoki
afec2865c0
fix: separate feedback onchange for each field ( #214 )
2023-01-26 09:48:43 -05:00
Jesper Hodge
83acc741f5
fix remove problem placeholder answer text ( #215 )
...
* refactor: rename hook correctly
* fix: problem templates
2023-01-25 15:02:35 -05:00
Kristin Aoki
2d669cbe3e
feat: update styling in advanced problem editor ( #216 )
2023-01-25 10:42:30 -05:00
Kristin Aoki
656e8f8568
feat: update answer helper text ( #213 )
2023-01-25 10:10:08 -05:00
Kristin Aoki
be6aca8e8e
feat: add function to remove empty hints ( #211 )
2023-01-24 13:12:41 -05:00
Jesper Hodge
1a2f175989
fix: problem editor styling ( #212 )
...
* fix: test name
* fix: make horizontal paddings 24px
* fix: space between widgets
* fix: remove settings heading
* fix: remove button hover effects
* fix: font size
* fix: make buttons small
* fix: change theme
* fix: reset buttons
* refactor: add Button component
* fix: hints widget
* fix: hints widget
* fix: tooltip
* fix: make settings fixed width
* fix: modal heading
* fix: center header text
* fix: modal header
* fix: settings fonts
* fix: settings fonts
* fix: fonts
* fix: padding
* fix: alignments
* fix: package.json
* fix: package.json
* fix: lint
2023-01-24 13:00:38 -05:00
Kristin Aoki
77afb7465b
feat: update onclick to close modal + top scroll ( #207 )
2023-01-24 11:34:55 -05:00
Raymond Zhou
f135bd2b4a
feat: align files with commit 5d52a28 and f9dff0 ( #210 )
...
This PR aims to fix the commit mistakes I made when trying to merge with a refactored fork. This will keep the changes I made in the refactor.
2023-01-24 09:43:01 -05:00
rayzhou-bit
acee24eaa7
Merge branch 'main' of https://github.com/openedx/frontend-lib-content-components
2023-01-23 15:42:18 -05:00
rayzhou-bit
b7c654399b
fix: fix revert
2023-01-23 15:42:13 -05:00
rayzhou-bit
1557fabf9e
Revert "Merge branch 'main' of github.com:rayzhou-bit/frontend-lib-content-components into rayzhou-bit-main"
...
This reverts commit f9dff0df85 , reversing
changes made to 5d52a289dc .
2023-01-23 15:12:32 -05:00
rayzhou-bit
bafc3c8de8
Revert "feat: merge conflicts"
...
This reverts commit 73ec807dd3 , reversing
changes made to 62cfecc456 .
2023-01-23 14:51:21 -05:00
rayzhou-bit
73ec807dd3
feat: merge conflicts
2023-01-23 13:49:25 -05:00
rayzhou-bit
f9dff0df85
Merge branch 'main' of github.com:rayzhou-bit/frontend-lib-content-components into rayzhou-bit-main
2023-01-23 13:42:15 -05:00
kenclary
5d52a289dc
Merge pull request #200 from openedx/kenclary/TNL-10332
...
fix: various style and UX fixes. TNL-10332.
2023-01-23 13:01:26 -05:00
Ken Clary
d3be3d4240
fix: Correct summary of number of attempts; new separator between attempts summary and points summary; hint text for both attempts and points settings; fixed some widget paddings; advanced problems do not show type setting, and type setting menu does not show advanced problems. TNL-10332.
2023-01-23 12:34:43 -05:00
Jesper Hodge
5aca835a4b
Fix problem editor margins and borders ( #203 )
...
* fix: fix border and allow customizing of tinymce style
* fix: make tinymce widget look like on figma
* fix: update settingsoptions card border
* fix: header typography
* fix: spacings
* chore: update snapshots
* Update src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* Update src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* Update src/editors/containers/ProblemEditor/components/EditProblemView/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* Update src/editors/containers/ProblemEditor/components/EditProblemView/QuestionWidget/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* Update src/editors/containers/ProblemEditor/components/EditProblemView/QuestionWidget/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* Update src/editors/containers/ProblemEditor/components/EditProblemView/QuestionWidget/index.jsx
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
* fix: html and react problems in problem editor
* chore: update snapshots
* chore: apply pr suggestions
* chore: fix test coverage
* chore: fix lint
* chore: fix tests
* chore: fix lint
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
2023-01-20 15:59:30 -05:00
Kristin Aoki
d6d3363866
feat: make problem select and preview a fixed size ( #204 )
2023-01-20 15:05:53 -05:00
Kristin Aoki
f08a662136
feat: remove drag and drop from advanced problems ( #206 )
...
Drag and drop V2 is still available in studio via the "Advanced" component.
2023-01-20 14:22:33 -05:00
Raymond Zhou
9c4077f32d
feat: set videoId to '' instead of null on load ( #205 )
2023-01-20 11:22:18 -05:00
rayzhou-bit
317cb48dbe
feat: fix to updateDuration call
2023-01-20 05:44:22 -05:00