* feat: Permission check (#718)
This feature allows to fetch the User Permissions and check on every
page for the right permission to allow the user to make actions or even
to see the content depending on the page and the permission.
Co-authored-by: hsinkoff <hsinkoff@2u.com>
* feat: add proctoring exam link to actions
* feat: prerequisite settings in advanced tab
* refactor: use formik for configuration modal in outline
* feat: proctoring exam settings in subsection configuration
test: prereq & proctoring settings
* feat: outline alerts
test: outline page alerts
* refactor: replace highlights badge with bubble
* feat: discussion badge in outline
* refactor: status bar style and date format
* Fix spacing between checklist and highlights button
* Fix title alignment in status bar
* Align learn more link to center with respect to button
* Update start date display in local format
* fix: unit url
* refactor: redesign item header
* move status to end of card
* move edit icon next to title
* make it visible on hover
* test: improve coverage
* refactor: update messages and alert colors
* feat: Course unit - add new component section
* feat: Course unit - make Discussion and Drag-and-Drop button functional
* feat: Course unit - make Problem button functional
* feat: Unit page - make Video button functional
Adds a new prompt on the import new taxonomy workflow to enter the export_id, and adds the export_id on the Taxonomy page details.
Implements modular-learning#183 '[Tagging] An "Export ID" identifies each Taxonomy'
This makes sure the following feature flags work with dynamic runtime
configuration:
* ENABLE_NEW_EDITOR_PAGES
* ENABLE_UNIT_PAGE
* ENABLE_VIDEO_UPLOAD_PAGE_LINK_IN_CONTENT_DROPDOWN
* ENABLE_TAGGING_TAXONOMY_PAGES
We also remove flags from the `.env*` files that are no longer in use.
feat: add custom relative dates flag to state
refactor: add gated status type
refactor: alert style
feat: add status text to units
test: add tests
fix: lint issues
refactor: break up xblock status component
fix: selector for isCustomRelativeDatesActive
fix: prereq default value
- install atlas
- remove `--filter` to pull all languages by default
- use ATLAS_OPTIONS to allow custom `--filter`
- include frontend-platform, ai-translations and lib-contents in `atlas pull` command
Refs: FC-0012 OEP-58
This change makes minor improvements in the search taxonomy UI. It expands taxonomies that match the search and highlight the search term, and adds a "No tag found with search term '....'" message.
Uses the permissions added to the Tagging REST API by openedx/openedx-learning#138 to decide what actions (e.g. import, export, edit, delete) to present to the current user when viewing Tagging-related content.
* feat: modify AppSettingsModal to add bodyChildren prop and to make the learnMoreText prop optional
This commit adds a new bodyChildren prop to the AppSettingsModal component. This prop is meant to be used by a parent to pass through React components that should be rendered between the enable toggle and the form. This allows parents to specify additional UI that doesn't belong in the form. For example, additional documentation about the feature or additional links are examples of additional UI that can be rendered this way.
This commit modifies the learnMoreText prop to the AppSettingsModal component optional. The learnMoreText prop is used as the text for the "learn more configuration" link. This link is rendered only if the corresponding documentationLink is provided, and this link is optional. Therefore, the corresponding learnMoreText prop should also be optional.
* feat: modify PagesAndResources to support additional pages in the "content permissions" section
This commit modifies the way that the PagesAndResources component renders pages in the "content permissions" section to enable additional pages in this section beyond just the Xpert unit summaries feature.
* feat: add settings modal for Xpert Learning Assistant feature
This commit adds a settings modal for the Xpert Learning Assistant feature.
test: add render and API tests
fix: fix non saving options and add review style changes
fix: remove additional tab in the section configuration
fix: remove isSubsection state, fix css issues and fix tests
fix: add review changes, fix advanced tab hour selection and update tests
test: fix failing test in courseOutline.test.jsx
fix: remove unused state, add TODO comment, fix stack rendering and NaN values
feat: show previous state in autosuggest if an invalid option is provided and fix warnings
test: fix failing test
test: add tests for move options
refactor: disable move option instead of hiding
fix: incorrect variable name in tests
feat: move up & down menu action for units
test: add tests for unit move options
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>