Daniel Valenzuela
966e1c3d91
feat: publish single library component ( #1407 )
2024-10-22 17:31:17 +00:00
Navin Karkera
675e02fcbd
feat: "add to collection" menu item functionality ( #1413 )
2024-10-22 09:49:51 -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
Rômulo Penido
b81f611a0e
feat: add library component picker ( #1356 )
2024-10-16 10:18:12 -07: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
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
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
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
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
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
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
Navin Karkera
b7ae82bde2
feat: Collections page (in libraries) ( #1281 )
2024-09-20 10:15:25 -07:00
Navin Karkera
9d3a05f1bd
feat: show children count in collection card ( #1298 )
2024-09-19 09:50:38 -07:00
Rômulo Penido
fc4b700624
fix: responsiveness on library authoring sidebar ( #1293 )
...
* fix: responsiveness on library authoring sidebar
* fix: adjust margin to prevent height change
* fix: prevent button stretch
2024-09-18 11:19:56 -07:00
Braden MacDonald
314dfa60e2
feat: Enable capa problem editor for components in libraries ( #1290 )
...
* feat: enable the problem editor for library components
* fix: don't try to load "advanced settings" when editing problem in library
* fix: don't fetch images when editing problem in library
* docs: add a note about plans for the editor modal
* fix: choosing a problem type then cancelling resulted in an error
* chore: remove unused mockApi, clean up problematic 'module' self import
* test: update workflow test to test problem editor
* feat: show capa content summary on cards in library search results
* docs: fix comment typos found in code review
* refactor: add 'key-utils' to consolidate opaque key logic
2024-09-18 17:45:41 +00:00
Rômulo Penido
dd7e4d4297
feat: add component sidebar manage tab [FC-0062] ( #1275 )
2024-09-16 14:13:41 -05:00
Braden MacDonald
fd48fef299
feat: edit Text components within content libraries [FC-0062] ( #1240 )
2024-09-12 19:39:42 -07:00
Navin Karkera
9b61037311
feat: collections tab [FC-0062] ( #1257 )
...
* feat: add collections query to search results
* feat: collections tab with basic cards
* feat: add collection card also fix inifinite scroll for collections
* feat: collection empty states
* test: add test for collections card
2024-09-12 18:55:34 -05:00
Braden MacDonald
6255768c97
test: refactor and fix flakiness of LibraryAuthoringTest ( #1263 )
2024-09-10 13:34:22 -07:00
Braden MacDonald
f9c11f8129
feat: Add type stubs for frontend-platform/i18n ( #1251 )
2024-09-09 09:30:14 -07:00
Rômulo Penido
48e0ec1f70
feat: add library component sidebar [FC-0062] ( #1217 )
2024-08-29 07:22:13 -05:00
Yusuf Musleh
95ac0983a3
feat: Add "Paste from Clipboard" to lib v2 sidebar ( #1187 )
2024-08-15 10:03:39 -07:00
Rômulo Penido
bb88101255
feat: add "copy to clipboard" feature to library authoring UI ( #1197 )
2024-08-08 09:32:04 -07:00
Chris Chávez
a7645afd22
fix: UI fixes for read-only libraries etc. ( #1198 )
...
* fix: Hide open Create content buttons without permissions
* feat: Read only badge on library Home
* refactor: library authoring to get canEditLibrary from useContentLibrary
* style: Typo on the code
2024-08-07 18:26:32 -07:00
Jillian
4f88948844
feat: adds sort widget to search manager and library component page ( #1147 )
2024-07-30 09:41:10 -07:00
Rômulo Penido
25ab1fffa1
feat: adds filter by tags and contentType to library home ( #1141 )
...
Refactor to add search-manager feature.
Co-authored-by: Yusuf Musleh <yusuf@opencraft.com >
2024-07-24 12:13:24 -07:00
Chris Chávez
77135cde1d
feat: Library v2 components tab ( #1109 )
2024-07-22 18:04:57 -07:00