Uses action flags from API to control display of delete, duplicate, child new button and dragging.
Use isHeaderVisible flag to control display of subsection headers.
All these changes prepare outline for entrance exam section display.
feat: use actions flags for subsections
test: actions
* feat: video sharing option dropdown
* test: video sharing option
* fix: lint issues
* refactor: messages for video sharing options
* test: add failure test for video sharing
* refactor: rename course block api url
This PR improves the import tags functionality for existing taxonomies implemented at #675.
Co-authored-by: Jillian <jill@opencraft.com>
Co-authored-by: Braden MacDonald <mail@bradenm.com>
At the moment, editors served from V1 libraries are broken because they use the course authoring MFE url (because they use editors in the same way courses do).
refactor: hide tooltip based on arg
refactor: card header to include title link
feat: delete unit option
feat: duplicate unit option
refactor: title click handler name and remove unwanted scss properties
test: new unit and edit unit option
test: add delete unit and combine it with section and subsection test
test: add duplicate unit test and combine it with section & subsection test
refactor: replace act call by oneline
test: add publish unit & subsection test and combine it with section test
refactor: add jest-expect-message to add custom msg to tests
fix: lint issues
test: fix unit card tests
refactor: remove unnecessary css and message
refactor: pass title as component to card header
refactor: extract status badge to a component
fix: lint issues
refactor: rename status badge component
test: fix card header tests
refactor: new item button styling
feat: show loading spinner while sections are loading
refactor: new button style
refactor: remove delete unit hook and thunk till unit list is implemented
test: additional tests for sections
test: additional tests for subsections
test: replace query calls by button clicks
feat: use react-dnd library for drag and drop implementation
style: fix linting issues
fix: finalize section order on drop instead of hover
fix: prevent same index drag to start request and restore state on error
fix: restore sectionlist order
fix: prevent drag event while editing the text
style: fix linting issues
test: fix failing tests
test: add missing hooks to SectionCard component in test
test: add wrapping to SectionCard test component
test: add tests for checking the API that sets the ordering
fix: merge scroll-to-bottom with drag and drop implementations
fix: fix linting issues
refactor: update publish modal to handle subsections and units
refactor: rename current section state and handlers
refactor: generalize edit title for section, subsection and unit
feat: generalize delete modal
feat: generalize publish modal
refactor: use currentSection and currentSubsection to improve delete item
feat: generalize duplication functionality
feat: generalize add new item for sections and subsections
test: fix subsection tests
fix: lint issues and test arguments
test: fix card header, delete and publish modal tests
fix: invalid use of delete subsection query for unit
refactor: use current section for highlights modal
feat: add auto scroll to subsection and improve scroll behaviour
fix: jsdoc types
fix: rename util function and remove unused eslint comment
fix: fix tests by mocking scrollIntoView function
test: add assertion for checking call to mock function
Also refactor api and hooks
fix: publish button behaviour and card header tests
fix: warning in highlights and publish modal test
fix: courseoutline tests
test: add test for new section functionality
fix(lint): lint issues
refactor: remove unnecessary css in CardHeader
refactor: rename emptyPlaceholder test file
refactor: replace ternary operator with 'and' condition
refactor: add black color to expand/collapse button
refactor: display only changed subsection and units in publish modal
refactor: update messages and css
refactor: wrap urls in function call
refactor: fix jsdoc types
refactor: use helmet for document title
This change makes the following updates to the UX of the taxonomy pages:
* On the taxonomies list, display the full name of taxonomies in a tooltip if it's longer than what's displayed
* On the taxonomy detail page, please change the title of the "Value" column to "Tag name"
* On taxonomy detail page, remove the "child tags" column and put it in parentheses instead
* Update tags count color
* Several minor issues brought up here: https://github.com/openedx/modular-learning/issues/105#issuecomment-1829412705.
* Fix issue with scroll position not being reset on navigation
This change adds the ability to search content tags in the content tags
drawer, in order to filter tags. This change also refactors the way data
is loaded from the server, handling pre-loaded data and pagination.
* Revert "Fix tinymce editor problems (#743)"
This reverts commit e6ce05571f.
* chore: update flcc to working version
* chore: update flcc to version that disables plugins
Internal issue: https://2u-internal.atlassian.net/servicedesk/customer/portal/9/CR-6328?created=true
Reverted 6 merged PRs due to problems.
scroll was not working on editors
potential problems with editor content loading
------------------------------------------------------
* Revert "fix(deps): update dependency @edx/frontend-lib-content-components to v1.177.4 (#742)"
This reverts commit cc40e9d6cb.
* Revert "feat: add escalation email field for LTI-based proctoring providers (#736)"
This reverts commit 0f483dc4e1.
* Revert "fix: video downloads (#728)"
This reverts commit c5abd21569.
* Revert "fix: import api to chunk file (#734)"
This reverts commit 6f7a992847.
* Revert "feat: Taxonomy delete dialog (#684)"
This reverts commit 1eff489158.
* Revert "fix(deps): update dependency @edx/frontend-lib-content-components to v1.177.1 (#727)"
This reverts commit dcabb77218.
This commit adds an escalation email field for LTI-based proctoring providers to the Proctoring modal on the Pages & Resources page. This field behaves identically to the Proctortrack escalation email.
This adds:
New submenu 'Delete' on the Taxonomy card menu
Delete Dialog with the functionality to delete a Taxonomy
Show a Toast after delete the Taxonomy
Enable export for System defined Taxonomies
This commit adds the add/remove functionality of content tags where the
state is stored and changes are updated in the backend through the API.
Changes are reflected in the UI automatically.