Raymond Zhou
741b83bdf2
fix: delete answers without changing expandable ( #328 )
2023-05-17 14:22:51 -04:00
Kristin Aoki
99cd3bf1d9
chore: refactor OLXParser and related doc strings ( #330 )
2023-05-11 13:30:47 -04:00
Raymond Zhou
286d2209cb
feat: XMLBuilder and XMLParser performing unwanted processing in encoding / parsing ( #304 )
2023-04-13 12:25:43 -04:00
connorhaugh
73a4b893f7
Feat parse solution as sibling ( #303 )
...
* fear: parse solution as siblings
* feat: add error resliancy to solution check.
2023-04-11 09:23:02 -04:00
connorhaugh
d58f349e1f
feat: parse solution as siblings ( #301 )
...
this creates the ability for explanations to work if they are:
Not a child of a response type
Use an h2 tag for the explanation title
do not use the "Explanation" title.
2023-04-10 15:37:02 -04:00
connorhaugh
8a7dbdf4be
fix: parse description/label as children ( #300 )
...
* fix: parse description/label as children
* fix: bounce problem tag attributes to advanced
2023-04-10 10:38:30 -04:00
Kristin Aoki
f99421f493
feat: add catch for script tags in question ( #292 )
2023-04-03 11:50:35 -04:00
connorhaugh
c2b67429d3
feat: add answer range ( #291 )
...
* feat: add answer range
* feat: add margin for doropdown
* fix: improve test converage
2023-03-30 10:34:45 -04:00
connorhaugh
3bfa83220f
feat: error on funky multiple choice tags. ( #288 )
...
This change increases the frequency at which odd tags (like shuffle) on multiple choice problems don't go to the visual editor.
Instead, they will now divert to the advanced editor. There might be other places where we need to follow a similar pattern, but we don't know those yet.
2023-03-24 10:05:21 -04:00
connorhaugh
df5af3efd9
feat: tolerance Setting Widget ( #286 )
...
* feat: tolerance Setting Widget
* fix: tolerance position and percent summary
2023-03-22 14:31:02 -04:00
Kristin Aoki
16003a7f4a
feat: move explanation to main body of editor ( #287 )
2023-03-22 09:36:01 -04:00
Kristin Aoki
fa14365d54
feat: update text areas to expandable text areas ( #274 )
2023-03-16 13:17:01 -04:00
connorhaugh
7a8a182d5a
fix: explantion data parse ( #260 )
2023-03-02 09:20:37 -05:00
Kristin Aoki
eeaa0e3f68
fix: getGeneralFeedback selectedFeedback error ( #243 )
2023-02-10 14:54:56 -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
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
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
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
Kristin Aoki
57dd03f40f
feat: fix feedback box bugs ( #227 )
2023-02-02 13:51:58 -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
Kristin Aoki
83d45a249a
feat: add label button to question tinyMCE ( #221 )
2023-02-01 11:35:15 -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
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
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
bafc3c8de8
Revert "feat: merge conflicts"
...
This reverts commit 73ec807dd3 , reversing
changes made to 62cfecc456 .
2023-01-23 14:51:21 -05:00
Kristin Aoki
adb24ef9ea
feat: change default question text ( #199 )
2023-01-18 12:50:26 -05:00
connorhaugh
880d205cbb
Feat: raw editor ingress and egress logic ( #179 )
...
* feat: conditional rendering of olx editor.
* fix: open the raw editor if advanced is chosen
* fix: add test fix
* feat: add button to switch visual->advanced
* fix: add tests + lint for visual->advanced button
* feat: revert to advanced if parser fails
* fix: improve coverage
* feat: add confirm dialog to switch
* fix: load settings with advanced
* fix: refactor + lint fix
2023-01-10 09:42:44 -05:00
connorhaugh
2896393c53
feat: add problem type select
...
Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com >
Co-authored-by: Raymond Zhou <56318341+rayzhou-bit@users.noreply.github.com >
2022-12-22 16:52:21 -05:00
connorhaugh
8dea72de99
feat:problem editor
...
Co-authored-by: Farhaan Bukhsh <farhaan@opencraft.com >
Co-authored-by: Navin Karkera <navin@disroot.org >
Co-authored-by: Kaustav Banerjee <kaustav@opencraft.com >
2022-12-20 14:52:20 -05:00