Daniel Valenzuela
966e1c3d91
feat: publish single library component ( #1407 )
2024-10-22 17:31:17 +00:00
Braden MacDonald
57e7baf59e
fix: this repo has been renamed to frontend-app-authoring ( #1419 )
2024-10-22 10:19:24 -07:00
Navin Karkera
675e02fcbd
feat: "add to collection" menu item functionality ( #1413 )
2024-10-22 09:49:51 -07:00
Braden MacDonald
841aede8cd
perf: don't load advanced info details (library components) before they're needed ( #1409 )
2024-10-21 14:07:28 -07:00
Braden MacDonald
6ae68bd122
feat: Menu option to delete a component + small fixes ( #1408 )
...
* feat: menu option to delete a component
* feat: close component sidebar if it's open when that component id deleted
* feat: hide unsupported block types from the "Add Content" menu
* fix: expand and internationalize the "component usage" text
2024-10-21 14:04:45 -07:00
Navin Karkera
d49fc85163
refactor: remove parentLocator and next button from lib component picker ( #1412 )
2024-10-21 10:05:04 -07:00
Navin Karkera
56e025a4f0
refactor: lib component picker modal to only post message with block info ( #1401 )
2024-10-19 11:55:25 -07:00
Max Sokolski
a94df2fdf0
fix: set original value for TypeaheadDropdown component
2024-10-18 16:35:53 -03:00
Jillian
cfe19894d1
feat: Let Studio Home REST API determine if libraries v1 and/or v2 are enabled ( #1329 )
2024-10-18 12:03:26 -07:00
Braden MacDonald
40a6ee9ca5
feat: View for comparing published version of library block to previous ( #1393 )
2024-10-18 11:27:10 -07:00
Chris Chávez
4facf1cf5d
feat: add tags to collections [FC-0062] ( #1379 )
...
* feat: Add ContentTagsDrawer to collection
* test: Add test to show ContentTagsDrawer on CollectionInfo
2024-10-16 21:50:17 -05:00
Rômulo Penido
b81f611a0e
feat: add library component picker ( #1356 )
2024-10-16 10:18:12 -07:00
Maria Grimaldi
8a4d1f4810
refactor!: turn on homepage course API V2 consumption by default ( #1307 )
...
* refactor!: turn on homepage course API V2 consumption by default
Turn on getting courses from the HomePageCourses API
which allows pagination, filtering and ordering. See https://github.com/openedx/edx-platform/pull/34173
for more details on the API implementation.
* fix: home page initial a-z course sort
---------
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
2024-10-16 12:29:20 -04:00
David Ormsbee
1bdea093b0
fix: disable static asset mangling for v2 Content Libraries
...
The static asset substitution used to make images show up properly when
in the TinyMCE editor doesn't work for Content Libraries. Unfortunately,
this will cause the static asset references in XBlock content to get
mangled and saved incorrectly. So until we can handle it correctly,
we're just going to disable it entirely if the LearningContext is a v2
Content Library.
This means that static assets won't display properly in the editor
itself, but it should at least get written/preserved correctly, so that
those assets will show up properly in XBlock previews.
2024-10-16 11:54:19 -04:00
David Ormsbee
a1181f3d49
refactor: switch Content Library XBlock preview to Studio
...
edx-platform commit 7316111 (PR #35598 ) moved the XBlock embed view so
that it can be rendered on either LMS or Studio. This commit moves the
frontend to actually call the Studio endpoint. This will make Content
Library static asset display easier, because that view will only be made
available through Studio and not the LMS.
2024-10-16 11:54:19 -04:00
Stanislav
ba8e3d448e
fix: Calendar icon over datepicker modal ( #1365 )
2024-10-16 10:20:27 -04:00
Jillian
1ee3229104
feat: UI to manage users/permissions for the content libraries ( #1362 )
2024-10-15 17:24:00 +00:00
Navin Karkera
84487602cc
feat: manage collections in component sidebar [FC-0062] ( #1373 )
...
* feat: add to collection in sidebar
* feat: manage collections
* test: add tests for manage collections
* feat: remove from collection menu option
2024-10-15 10:20:23 -05:00
Navin Karkera
7fb460019e
feat: add an allowlist of for supported blocks in library [FC-0062] ( #1378 )
...
* feat: show error msg from server on paste
* feat: add an allowlist of for supported blocks in library
Libraries v2 currently don't support editing blocks other than problem,
text and videos. This commit adds a configuration variable called
`LIBRARY_SUPPORTED_BLOCKS` to setup allowed list of block types users
can paste into libraries. By default it is set to support
'problem,text,video,html`.
* feat: enable add button for blocks based on setting
---------
Co-authored-by: Rômulo Penido <romulo@opencraft.com >
2024-10-15 09:52:35 -05:00
Braden MacDonald
66b14a5b16
docs: update the README with an easy way to run the MFE on your host ( #1364 )
2024-10-10 14:02:42 -07:00
ABBOUD Moncef
3696836de6
feat: save discussion alert dismissal ( #1245 )
2024-10-09 16:23:12 -04:00
Navin Karkera
434fea3a95
feat: delete collection [FC-0062] ( #1333 )
...
* feat: delete collection
* feat: update button status on delete
* test: add tests for collection delete
2024-10-08 16:59:06 +00:00
Braden MacDonald
75f937e11a
feat: Libraries v2: Advanced Component Info & OLX Editor ( #1346 )
2024-10-08 09:41:21 -07:00
Rômulo Penido
85b5730114
fix: change collection details component slots ( #1363 )
2024-10-07 21:34:48 -05:00
Braden MacDonald
8c125df9aa
feat: Open Editors in a Modal (library components only) [FC-0062] ( #1357 )
...
* feat: allow opening editors in modals
* refactor: add an EditorContext
* test: update tests accordingly
* test: make testUtils call clearAllMocks() automatically :)
2024-10-07 21:04:49 -05:00
edX requirements bot
83322e2052
chore: update browserslist DB ( #1367 )
...
Co-authored-by: abdullahwaheed <42172960+abdullahwaheed@users.noreply.github.com >
2024-10-07 10:15:40 -07:00
dependabot[bot]
b6eeec8e60
build(deps): bump actions/checkout from 3 to 4 ( #1371 )
2024-10-07 10:12:16 -07:00
Jillian
b957f3b4e3
Use block type label instead of Library block_types REST API [FC-0062] ( #1361 )
...
* style: avoid using reserved word "type" as variable name
use componentType or blockType instead.
* refactor: let BlockTypeLabel handle displaying the component label
including the child count, if one is provided.
This change removes hooks for the block_types REST API
* test: add tests for BlockTypeLabel
---------
Co-authored-by: Chris Chávez <xnpiochv@gmail.com >
2024-10-04 13:04:23 -05:00
Jillian
9c1fd5a68c
fix: Show spinner while loading library components ( #1331 )
2024-10-03 21:02:32 -07:00
Braden MacDonald
652af9f6a5
refactor: Improve LibraryContext, convert tests to testUtils ( #1345 )
2024-10-03 19:35:43 -07:00
Jillian
dc6ede4d80
fix: use "other" component type in decide Card header background ( #1359 )
...
if no other background color is found
2024-10-03 15:26:12 -07:00
Jesper Hodge
8c6bbb895f
fix: update express ( #1351 )
...
Just a package update
2024-10-03 15:21:37 -04:00
Braden MacDonald
4d0f92e265
fix: upload codecov report as a separate workflow step ( #1355 )
2024-10-02 10:49:38 -07:00
Rômulo Penido
0349188c42
feat: allow full width content in library authoring [FC-0062] ( #1258 )
...
* feat: allow full width content in library authoring
* chore: update header and footer versions
---------
Co-authored-by: Jillian <jill@opencraft.com >
2024-10-02 06:16:25 -05:00
Rômulo Penido
b1772383f4
fix: component preview modal overflow ( #1348 )
2024-10-01 16:56:58 -07:00
Kristin Aoki
b71f2148c9
feat: update ora settings to only be flexible peer grading ( #1332 )
2024-10-01 13:11:52 -04:00
edX requirements bot
e9c10c7f9e
chore: update browserslist DB ( #1347 )
...
Co-authored-by: abdullahwaheed <42172960+abdullahwaheed@users.noreply.github.com >
2024-09-29 17:35:01 -07:00
Rômulo Penido
4d67e8bda9
feat: improve collection sidebar ( #1320 )
...
* feat: improve collection sidebar
* feat: add comments to splice blockTypesArray code
Co-authored-by: Jillian <jill@opencraft.com >
---------
Co-authored-by: Jillian <jill@opencraft.com >
Co-authored-by: Chris Chávez <xnpiochv@gmail.com >
2024-09-27 21:24:12 -05:00
Dmytro
c80483c053
fix: Create button remains deactivated until pick a new org ( #1279 )
...
Co-authored-by: Dima Alipov <dimaalipov@192.168 .1.101>
2024-09-27 11:37:32 -04:00
Chris Chávez
2cd77ce455
feat: Add tags to manage sidebar of library components ( #1299 )
2024-09-26 23:33:36 -07:00
Braden MacDonald
95c17537c1
fix: don't revert to advanced problem editor when max_attempts is set ( #1326 )
2024-09-26 09:50:28 -07:00
Braden MacDonald
3662fadad4
feat!: Remove support for the (deprecated) library authoring MFE ( #1327 )
2024-09-26 08:38:16 -07:00
Braden MacDonald
ccce44a1c8
fix: library metadata times are actually displayed in local time ( #1309 )
2024-09-25 17:26:36 -07:00
Rômulo Penido
ff67c9a952
feat: add component Details sidebar [FC-0062] ( #1303 )
...
* feat: add ComponentDetails component
---------
Co-authored-by: Jillian <jill@opencraft.com >
2024-09-25 14:33:45 -05:00
renovate[bot]
c13ab00344
chore(deps): update dependency @openedx/frontend-build to v14.1.4 ( #1308 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 10:17:08 -07:00
Rômulo Penido
b6ec5e1e3a
fix: remove preview overlay from library component sidebar ( #1323 )
2024-09-25 09:32:49 -07:00
Braden MacDonald
5f41db83c2
feat: Enable the Video editor in content libraries [FC-0062] ( #1319 )
...
* feat: enable video editor in libraries
* fix: a11y issue in video editor - URL and ID fields were combined
* test: tests for video editor
2024-09-24 21:11:06 -05:00
Braden MacDonald
95521d3b8d
Cleanups for the video editor [FC-0062] ( #1318 )
...
* refactor: cleanups to video editor code
* test: ignore coverage of blank default data
2024-09-24 20:55:15 -05:00
Braden MacDonald
64d718d198
fix: Use soft nav when clicking a library from studio home ( #1306 )
2024-09-24 09:32:56 -07:00
edX requirements bot
353ef508df
chore: update browserslist DB ( #1312 )
...
Co-authored-by: abdullahwaheed <42172960+abdullahwaheed@users.noreply.github.com >
2024-09-23 13:22:37 -07:00