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
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
Kristin Aoki
adb24ef9ea
feat: change default question text ( #199 )
2023-01-18 12:50:26 -05:00
rayzhou-bit
34b7b3314c
feat: revert to connect
2023-01-18 06:12:49 -05:00
Kristin Aoki
1a370c12d9
feat: update problem type titles + small ui fixes ( #195 )
2023-01-13 10:04:01 -05:00
connorhaugh
2a9851544e
Fix: advanced problem template reference ( #194 )
...
* fix: correctly reference advanced problem templates
* fix: remove console log
2023-01-12 13:23:02 -05:00
Raymond Zhou
aad7a6b706
feat: video editor fix to disappearing transcript ( #178 )
...
* feat: video editor fix to disappearing transcript
2023-01-12 12:51:56 -05:00
rayzhou-bit
e66863795c
feat: tests argh
2023-01-11 20:14:03 -05:00
connorhaugh
9b2e284ee3
fix: remove test ( #188 )
2023-01-11 16:53:16 -05:00
Kristin Aoki
d23a790ad2
feat: allow feedback to copy when problem changed ( #184 )
2023-01-11 16:40:36 -05:00
connorhaugh
cf1daa3ba5
Feat add templates for default problems after problem select ( #185 )
...
https://2u-internal.atlassian.net/browse/TNL-10316 is the relevant bug.
Problems have default values when created using the select type page.
2023-01-11 14:26:46 -05:00
Kristin Aoki
af4cd55390
feat: unselect multiple choices type multi->single ( #181 )
2023-01-10 13:25:19 -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
rayzhou-bit
e946fb8711
feat: duration change first pass
2023-01-02 20:52:16 -05:00
Kristin Aoki
09bb1dab2b
feat: add import transcripts from youtube ( #176 )
2022-12-23 10:54:07 -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
Kristin Aoki
07202c0518
feat: separate video id and url fields into two ( #164 )
2022-12-12 10:55:32 -05:00
Raymond Zhou
bcb3c3f7fb
feat: parseTranscript to work with all languages ( #162 )
...
* feat: parseTranscript to work with all languages
2022-12-09 11:05:50 -05:00
Kristin Aoki
01c3a42eb2
fix: transcript styling ( #159 )
2022-12-07 11:16:02 -05:00
Kristin Aoki
0b199b1f5d
feat: add black canvas when current thumbnail is deleted ( #156 )
2022-12-02 16:47:00 -05:00
Kristin Aoki
f38ae87c95
fix: length error on undefined fallback videos ( #147 )
2022-11-29 12:44:56 -05:00
connorhaugh
3506db7c14
Feat improve transcript flow ( #141 )
...
https://2u-internal.atlassian.net/browse/TNL-10199
Rewrite of Transcripts widget to improve flow.
2022-11-15 12:03:04 -05:00
Kristin Aoki
af6e21e1fe
fix: non-blocking UI bugs for video settings ( #140 )
2022-11-09 12:32:36 -05:00
Ken Clary
a4f0a8f162
feat: duration widget for video settings. TNL-9823.
2022-11-03 17:55:05 -04:00
Raymond Zhou
79ae64b562
feat: license widget ( #132 )
2022-11-02 10:41:40 -04:00
connorhaugh
bfb4de6b1a
Fix: temp remove video preview text from settings editor ( #134 )
...
* fix: remove preview
* fix: unrelated remove removed fetchImages
2022-10-25 11:44:39 -04:00
Kristin Aoki
e6101ed3ac
feat: update setAssetToStaticUrl to include all assets
2022-10-24 13:44:33 -04:00
Kristin Aoki
cb01ff17a0
feat: add handout widget
2022-10-19 12:17:59 -04:00
Kristin Aoki
84f35dad40
feat: add automatic thumbnail resampling for thumbnail widget
2022-10-13 15:07:08 -04:00
Kristin Aoki
36576903ea
feat: thumbnail widget
2022-10-12 15:42:38 -04:00
Raymond Zhou
d2f07045f0
Feat video source integration ( #125 )
...
* feat: video source integration
Co-authored-by: KristinAoki <kaoki@2u.com >
2022-10-12 12:38:44 -04:00
kenclary
a7abab1236
Convert video settings from xblock metadata into the redux store. In-progress draft. TNL-10009. ( #119 )
...
* feat: Convert video settings from xblock metadata into the redux store. In-progress draft. TNL-10009.
Co-authored-by: rayzhou-bit <rzhou@2u.com >
2022-10-04 14:59:22 -04:00
Raymond Zhou
cc3a2d8b85
feat: videosource to backend ( #118 )
...
* feat: videosource to backend
2022-09-30 11:00:06 -04:00
connorhaugh
45215ba504
Feat: full transcript widget ( #117 )
2022-09-27 14:09:29 -04:00
Kristin Aoki
e5ea0a096c
feat: change image absolute urls to relative urls
2022-08-31 12:03:07 -04:00
Kristin Aoki
2d427da80f
feat: add tinyMCE functionality for drag resizing of images
2022-08-31 09:18:36 -04:00
Kristin Aoki
4e69fffbef
feat: remove the ability to use image tools for content libraries
2022-08-30 16:40:17 -04:00
Kristin Aoki
2b49304ecc
feat: change static url to asset url in editor
2022-08-24 12:53:18 -04:00
Kristin Aoki
f86e1fe97e
feat: update editor text to match studio styling
2022-08-12 10:47:11 -04:00
Raymond Zhou
476c450e6c
Feat updates to code block button ( #93 )
...
* feat: updates to code block button
* feat: updates to code block button
2022-08-10 12:59:03 -04:00
Kristin Aoki
d739bcbdb5
feat: Prevent image uploads larger than 10 MB and add spinner
2022-08-08 15:44:59 -04:00
KristinAoki
cc7e502011
fix: added underline option to toolbar. TNL-10003
2022-08-01 09:11:01 -04:00
Raymond Zhou
80dfc6ba15
feat: www gallery raw selection ( #88 )
...
* feat: www gallery raw selection
2022-07-22 10:58:55 -04:00
Raymond Zhou
b047f7a2a8
feat: raw html editor ( #86 )
...
raw html editor
2022-06-28 14:25:09 -04:00
connorhaugh
cc4e19cd2a
fix: redirect to correct learning context ( #83 )
...
For https://2u-internal.atlassian.net/browse/TNL-9955
there are multiple instantiations of the text editor in different contexts, so we need to handle them upfront to not break either experience flow” or something along those lines…
2022-06-09 09:41:31 -04:00