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
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
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
7d21a3d4c9
feat: change feedback and delete icons to outline variants ( #198 )
2023-01-17 15:41:11 -05:00
Jesper Hodge
2c6679fe06
Feat raw olx editing. TNL-10218 ( #182 )
...
* refactor: move CodeEditor to shared components and remove circular dependency
* feat: add code editor to problem editor
* fix: typo
* feat: add save function to raw olx editor and add highlighting
* feat: simplify and add tests to edit problem view
* feat: add tests to problem edit view
* fix: update raw editor tests
* fix: code editor tests
* fix: package-lock
* fix: lint
2023-01-11 14:23:06 -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
connorhaugh
6f82e87574
feat: make delete and info icons outlines ( #150 )
...
* feat: make delete and info icons outlines
* feat:upgrade paragon
2022-12-14 11:44:41 -05:00
Raymond Zhou
73150817ca
feat: update paragon to v20.21.0 ( #155 )
2022-12-02 12:54:45 -05:00
Raymond Zhou
79ae64b562
feat: license widget ( #132 )
2022-11-02 10:41:40 -04:00
Kristin Aoki
84f35dad40
feat: add automatic thumbnail resampling for thumbnail widget
2022-10-13 15:07:08 -04:00
Kristin Aoki
e9a123c16b
feat: limit xblock title display
2022-10-13 12:44:56 -04:00
connorhaugh
564dcb8ebc
feat: improve raw HTML editing Experince. ( #101 )
...
* feat: add contents
* feat: add codemirror support to raw HTML editing
* feat: add test coverage
* fix: error
* fix: update codeeditor file path
* fix: update messages
2022-08-22 15:19:21 -04:00
connorhaugh
224720c32e
feat: reorganize dependancies ( #91 )
2022-07-11 16:19:31 -04:00
connorhaugh
2473c9a875
chore: upgrade paragon dep ( #89 )
...
* chore: upgrade paragon dep
* fix: eslint config
2022-07-05 09:08:15 -04:00
Ken Clary
d74f2b8ba9
chore: npm update, using node 16 / npm 8. TNL-9879.
2022-05-15 09:57:10 -04:00
Julia Eskew
51558fd17c
Add events sent to Segment for the save and cancel clicks for content editors. ( #44 )
...
* feat: Add events sent to Segment for the save and cancel clicks for a content editor.
Co-authored-by: rayzhou-bit <rzhou@edx.org >
2022-04-18 13:44:27 -04:00
Ben Warzeski
cb1c00bf3c
Feat: Video skeleton ( #58 )
...
* pt1
* feat: video skeleton
* fix: update tests
* chore: update snapshots and linting
* fix: fix image context button
* feat: re-usable editor pattern
* fix: css and bad hook
2022-04-14 15:01:04 -04:00
connorhaugh
c3d9109211
fix: remove merge artifiact ( #48 )
...
For repo health
2022-04-06 10:50:08 -04:00
Raymond Zhou
45758612a4
feat: empty gallery ( #46 )
...
Adds a new option to the behavior for when the gallery has no images in it.
2022-04-05 11:43:40 -04:00
connorhaugh
049b6a9211
Fix: release ci ( #47 )
...
* feat: add capabilities
* chore: more tests
* fix: use correct hook source for getDispatch
* fix: fix fetchImages data contract
* fix: make onClose method a callback for ImageUploadModal
* chore: lint and test updates
* chore: clean up propType warning
* fix: upload of file
* fix: error notifcations
* fix: improve test coverage
* fix: lint fixes
* fix: lint fix
* rebase: stept 1
* rebase: step 2
* fix: use correct hook source for getDispatch
* rebase: step 3
* rebase: step 4
* chore: clean up propType warning
* fix: upload of file
* rebase: step 5
* fix: improve test coverage
* fix: lint fixes
* fix: release CI
Co-authored-by: Ben Warzeski <bwarzeski@edx.org >
2022-04-04 09:17:34 -04:00
connorhaugh
fd35c1cb18
Feat: Add Request Alerts and upload file ( #43 )
...
Fixes to Upload data type, as well as adding in of two error alerts for upload and fetch.
Co-authored-by: Ben Warzeski <bwarzeski@edx.org >
Co-authored-by: Raymond Zhou <56318341+rayzhou-bit@users.noreply.github.com
2022-04-04 08:33:31 -04:00
Raymond Zhou
28516a0389
fix: text editor save ( #45 )
...
* fix: text editor save
* fix: update snapshot
2022-04-01 17:01:12 -04:00
Raymond Zhou
dca18b9b97
chore: i18n complete ( #37 )
...
* chore: i18n
2022-03-31 16:14:29 -04:00
Ben Warzeski
0f87a61639
feat: Select img api ( #41 )
...
* feat: add capabilities
* chore: more tests
* fix: use correct hook source for getDispatch
* fix: fix fetchImages data contract
* fix: make onClose method a callback for ImageUploadModal
* chore: lint and test updates
* chore: clean up propType warning
Co-authored-by: connorhaugh <chaugh21@amherst.edu >
2022-03-30 15:13:19 -04:00
Ben Warzeski
1a5497a5ae
Feat select image modal ( #38 )
...
* feat: select image modal
* chore: fix module config
2022-03-24 16:16:38 -04:00
Ben Warzeski
09e9d865c2
Chore: Test coverage hunt ( #36 )
...
* chore: add brand mocking in gallery view
* feat: dev gallery app
* chore: link mock block ids to real block type api
* feat: image settings page features
* chore: more tests
* chore: keystore util and more testing
* chore: more tests
* chore: re-install lint plugin...
* chore: lint fixes
* chore: moar tests
* chore: remove brand from module.config and link gallery to edx.org brand
2022-03-24 11:15:32 -04:00
Ben Warzeski
3b8a7780ac
I18n example ( #33 )
...
* feat: i18n pt 1
* fix: prevent float calculations when updating dimensions
2022-03-17 14:08:46 -04:00
Jawayria
9e84e0ecf0
fix: update dependencies ( #32 )
...
* fix: update dependencies
Co-authored-by: M Umar Khan <umar.khan@arbisoft.com >
2022-03-16 09:45:35 -04:00
connorhaugh
4ae2d1230b
feat: insert images into text editor html ( #29 )
...
This work adds the functionality that when an image is selected ineither the select image step of the image upload modal, or by using the toolbar inside tinymce, the requisite image is loaded into the settings page, and on the click of the save button, it is inserted into tinymce html.
2022-03-15 10:53:56 -04:00
Ben Warzeski
1a1900f213
feat: redux tests pt 1 ( #19 )
...
* feat: redux tests pt 1
* chore: add app thunkAction tests
* chore: resolve lint issues
* Update src/editors/data/redux/app/reducer.test.js
Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com >
Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com >
2022-02-24 16:59:30 -05:00
Ben Warzeski
5a1d71a62c
!refactor: Breaking Change refactor use Redux. No release
2022-02-18 13:16:36 -05:00
connorhaugh
d8c6b8dddd
feat: Text Editor and V2 Editor Framework ( #9 )
...
Text Editor and V2 Editor Framework. Documentation to come.
2022-01-25 14:04:57 -05:00
Ken Clary
bb7360ac93
fix: correct project links in package.json
2021-12-15 11:31:46 -05:00
Ken Clary
f44017e5f4
fix: update dependencies for security.
2021-12-14 17:12:22 -05:00
Ken Clary
a48eb0aaf4
feat: setup repo as NPM package with edX standards.
2021-12-01 12:41:54 -05:00