renovate[bot]
d9e1a4dea6
chore(deps): update dependency @openedx/frontend-build to v14.6.1 ( #1561 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 15:31:30 -07:00
renovate[bot]
8b9a80eb04
chore(deps): update dependency @tanstack/react-query to v4.40.0 ( #2155 )
...
* fix(deps): update dependency @tanstack/react-query to v4.40.0
* fix: npm was trying to install react-native which conflicted with React 18
The problem is that react-query 4.40.0 specifies an optional, unpinned peerDependency on react-native, and then it depends on @types/react 19, causing a conflict with our React 18. Putting an explicit dependency on the React types solves this. As would upgrading to React Query v5.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Braden MacDonald <braden@opencraft.com >
2025-06-18 22:12:04 +00:00
jacobo-dominguez-wgu
a5c17452e7
test: replacing snapshot tests with RTL tests part 8 ( #2184 )
2025-06-18 15:09:21 -07:00
renovate[bot]
4b4ab92383
chore(deps): update dependency redux to v4.2.1 ( #1936 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 21:51:17 +00:00
Chris Chávez
97710c262e
fix: Truncated text in InplaceTextEditor [FC-0090] ( #2146 )
...
* Fix the truncated text in InplaceTextEditor.
* Fix the truncated text in the breadcrumbs in the subsection page
2025-06-18 21:38:17 +00:00
Muhammad Faraz Maqsood
b510b6f69f
fix: update advanced module list not working ( #2189 )
...
Backend was still expecting `{'advanced_modules', {'value': ['poll', 'problem-builder', 'h5pxblock']}}` but without this change, it was receiving `{'advancedModules', ['poll', 'problem-builder', 'h5pxblock']}`
Follow up to https://github.com/openedx/frontend-app-authoring/pull/1581
Co-authored-by: Muhammad Faraz Maqsood <faraz.maqsood@A006-01130.local >
2025-06-18 13:33:03 -07:00
Kyle McCormick
488173ebdb
fix: Subsections should come before Sections
2025-06-18 12:19:50 -07:00
Brian Smith
5a84d8c52f
feat!: add design tokens support ( #2187 )
...
BREAKING CHANGE: Pre-design-tokens theming is no longer supported.
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
2025-06-18 15:17:18 -04:00
Daniel Valenzuela
ac7f90065d
feat: create subsections, units from within containers ( #2104 )
...
Functionality to create subsections, and units from within sections, and subsections respectively.
2025-06-18 12:58:03 -05:00
jacobo-dominguez-wgu
19f81cc05d
test: replacing snapshot tests with RTL tests part 6 ( #2173 )
...
* test: replacing snapshot tests with rtl tests part 6
* fix: removing testing purposed text
* test: fixing test mocking issues
2025-06-17 12:29:34 -07:00
Jillian
fa9d66c5e5
fix: show "This <containerType> is empty" ( #2157 )
...
Shows "This is empty" text when container child list is empty for units, subsections, and sections.
2025-06-16 17:09:55 -05:00
renovate[bot]
dc16b226f0
chore(deps): update dependency @openedx/paragon to v22.20.2 ( #2150 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 17:12:41 +00:00
jacobo-dominguez-wgu
cba4e684ab
test: replacing snapshot tests with RTL tests part 5 ( #2143 )
...
* test: replacing snapshot tests with rtl tests part 5
* test: removig extra tests
* test: snaps update
* test: adding import shorthand and turning tests into ts
* docs: clarify which line the comment is about
---------
Co-authored-by: Braden MacDonald <braden@opencraft.com >
2025-06-16 16:56:59 +00:00
renovate[bot]
96df339be5
chore(deps): update dependency @types/lodash to v4.17.17 ( #2154 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 09:54:23 -07:00
Muhammad Faraz Maqsood
eaee5257bd
fix: disable tolerance for multiple answers
...
As tolerance was being only applied to first correct answer. So, disable tolerance and do not apply it in case of multiple correct answers for Numerical input problem type according to the given documentation: https://docs.openedx.org/en/latest/educators/how-tos/course_development/exercise_tools/manage_numerical_input_problem.html#add-a-tolerance:~:text=hints%20to%20problems.-,Add%20Multiple%20Correct%20Responses%20via%20the%20Advanced%20Editor,text%20string%20as%20correct%20answers .
2025-06-16 11:10:57 +05:00
edX requirements bot
154b411ad8
chore: update browserslist DB ( #2153 )
...
Co-authored-by: abdullahwaheed <42172960+abdullahwaheed@users.noreply.github.com >
2025-06-16 00:22:22 +00:00
José Ignacio Palma
284e9c7d68
fix: advanced-settings api should not camel-case return value ( #1581 )
2025-06-13 23:54:32 +00:00
bydawen
fcf1e5cb33
fix: Text truncate issue in the search modal ( #2137 )
2025-06-13 16:28:29 -07:00
jacobo-dominguez-wgu
2e9b5b7e78
test: replacing snapshot tests with RTL tests part 3 ( #2134 )
...
* test: replacing snapshot tests with rtl tests part 3
* test: addint alt text to icon buttons and test refactor
2025-06-13 09:05:48 -07:00
renovate[bot]
8a423ebf10
chore: update dependency yup to v0.32.11 ( #1937 )
2025-06-12 15:50:38 -07:00
renovate[bot]
b6db457c6f
chore: update dependency @edx/browserslist-config to v1.5.0 ( #1562 )
2025-06-12 22:47:12 +00:00
renovate[bot]
80dabca88e
chore: update dependency @edx/frontend-platform to v8.4.0 ( #2086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-12 15:32:22 -07:00
renovate[bot]
376414a653
chore: update dependency @openedx/paragon to v22.20.1 ( #2023 )
...
* fix(deps): update dependency @openedx/paragon to v22.20.1
* fix: minor type warnings from new Paragon version
* test: update snapshot test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Braden MacDonald <braden@opencraft.com >
2025-06-12 15:29:01 -07:00
jacobo-dominguez-wgu
ca85ca8e4b
test: replacing snapshot tests with RTL tests part 4 ( #2135 )
...
* test: replacing snapshot tests with rtl tests part 4
* test: removing not needed icon mocks, and changing name to render function for editors
2025-06-12 14:12:28 -07:00
Braden MacDonald
4a1f454855
fix: searching "all courses" from studio home wasn't working ( #2083 )
2025-06-12 09:25:31 -07:00
Chris Chávez
4adf2ff087
fix: Refresh section list on subsection page ( #2103 )
...
Invalidates the query in the subsection page used to get the list of sections that contains the subsection
2025-06-12 00:57:25 +00:00
Chris Chávez
569a981a85
fix: show unit published name in sidebar on content picker ( #2100 )
...
Fix the bug for show unit published name in sidebar on content picker.
2025-06-12 00:48:56 +00:00
jacobo-dominguez-wgu
3097976b7b
test: replacing snapshot tests with RTL tests part 2 ( #2132 )
2025-06-11 10:15:59 -07:00
Diana Villalvazo
acef2e70cc
fix: remove icon and empty breadcrumb from libraries ( #2129 )
2025-06-11 09:36:45 -07:00
Jillian
c1d874f94f
fix: show Preview tab in sidebar when container child selected [FC-0090] ( #2128 )
...
Shows the sidebar Preview tab when a container child is selected, while hiding the Preview tab when sidebar shows the container itself, since it's "preview" is already in the main page body.
Adds tests to ensure this behavior is maintained.
2025-06-10 20:05:11 -05:00
jacobo-dominguez-wgu
dc16c42746
test: replacing snapshot tests with RTL tests part 1 ( #2108 )
...
* test: replacing snapshot tests with rtl tests part 1
* test: using screen to query and refactor some tests
2025-06-10 15:09:19 -07:00
Ihor Romaniuk
ea33c15b36
fix: remove an extra editing xblock modal on unit page ( #2111 )
2025-06-10 10:11:01 -07:00
Muhammad Anas
d440394067
fix: remove duplicate markdown_edited save request ( #2112 )
...
Removes the unnecessary duplicate save request of markdown_edited
value to the backend.
Part of: https://github.com/openedx/frontend-app-authoring/issues/2099
Will be backported to Teak.
2025-06-10 11:59:23 -04:00
Arunmozhi
73ac6d725a
feat: add v2 CourseAuthoringUnitSidebarSlot ( #2000 )
2025-06-10 11:46:27 -04:00
Chris Chávez
0e2cab2838
fix: Issue on the in-place editor when renaming library containers ( #2101 )
...
* fix: Rename icon size & make the button disappear while editing
* style: Use the correct type in useUpdateContainer
2025-06-09 13:48:51 -07:00
Jillian
b3605fa1b8
refactor: make the unit sidebar code work for any type of container [FC-0090] ( #2066 )
...
Refactors the library sidebar and unit info code to make it work for subsections and subsections too
2025-06-09 17:28:58 +00:00
Chris Chávez
be13c18e5d
feat: Section/Subsection Card Preview [FC-0090] ( #2057 )
...
Section/Subsection card previews
2025-06-09 11:10:18 -05:00
edX requirements bot
019eede7c2
chore: update browserslist DB ( #2105 )
...
Co-authored-by: abdullahwaheed <42172960+abdullahwaheed@users.noreply.github.com >
2025-06-09 00:22:11 +00:00
Braden MacDonald
5991fd3997
refactor: Load waffle flags using React Query ( #2068 )
...
* refactor: use React Query to load waffle flags
* test: add test case
* fix: more clear handling of data loading and fallbacks
* refactor: simplify handling of useReactMarkdownEditor
* test: use new mockWaffleFlags() helper
* test: simplify test mocks in hooks.test.js
* refactor: avoid duplicating flag names, clarify how defaults work
2025-06-05 11:02:57 -07:00
Ihor Romaniuk
9a2dac6d4b
fix: load sequences in unit page ( #1867 )
...
This handles loading errors when opening the course unit page via direct link as an unauthorized user.
2025-06-05 09:39:43 -03:00
jacobo-dominguez-wgu
061855c31e
feat: update to latest footer component, remove broken links ( #2072 )
2025-06-04 16:17:13 -07:00
diana-villalvazo-wgu
5df4cd941d
fix: refactor best practices checklist logic ( #2038 )
...
The Best Practices Checklist behavior was wrong for some cases:
* Video: if duration is null it shouldn't be marked as completed
* Video: if there are no videos it shouldn't be marked as completed
* Unit depth: if course doesn't have units it shouldn't be marked as completed
* Diverse learning sequence: description mentions that 80% should contain multiple content types, so if it is exactly 80% it should be marked as completed
2025-06-04 16:46:01 -03:00
Adolfo R. Brandes
7274316eb8
chore: Remove extraneous config file
2025-06-04 16:31:32 -03:00
diana-villalvazo-wgu
151b3e30bf
fix: files & uploads menu was truncated due to overflow-x ( #2071 )
2025-06-04 10:45:22 -07:00
Navin Karkera
dd6780ff41
feat: library section and subsection page ( #2032 )
...
* Adds section and subsection library pages.
* Refactors routing to support them and fix routing from collections page to other pages.
* Refactors library context to reliably set component, unit, and other container ids even when the url changes when user goes back in history rapidly.
2025-06-04 17:32:29 +00:00
Muhammad Anas
99e11d3534
fix: markdown editor issues in modal ( #2074 )
...
This PR resolves rendering issues with the Markdown editor inside the modal.
The problem began after a PR [1] introduced the use of modals for the editor.
The EditorPage [2] component expects a `isMarkdownEditorEnabledForCourse` prop,
which was missing in that implementation.
[1] https://github.com/openedx/frontend-app-authoring/pull/1838
[2] https://github.com/openedx/frontend-app-authoring/pull/1838/files#diff-147218ef88726880178ea895988a5d3feaf2c0c4459086a8de7a4080cbe37de7R226
2025-06-04 12:13:55 -04:00
Victor Navarro
ee7992bde5
fix: Expand all now expands subsections ( #1998 )
...
* fix: Expand all now expands subsections
* fix: test cases
2025-06-04 13:02:41 -03:00
Braden MacDonald
1dee2bba58
test: refactor many test suites to use testUtils/initializeMocks ( #2067 )
...
Simplifies a bunch of test code by converting it to use our handy testUtils module.
None of the app code is change, just test code. And none of the test cases are modified in any meaningful way - this just simplifies the setup/cleanup significantly.
2025-06-03 15:52:56 -05:00
dependabot[bot]
d806b6150d
chore(deps): bump tar-fs ( #2069 )
...
Bumps and [tar-fs](https://github.com/mafintosh/tar-fs ). These dependencies needed to be updated together.
Updates `tar-fs` from 2.1.2 to 3.0.9
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.2...v3.0.9 )
Updates `tar-fs` from 3.0.8 to 3.0.9
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.2...v3.0.9 )
---
updated-dependencies:
- dependency-name: tar-fs
dependency-version: 3.0.9
dependency-type: indirect
- dependency-name: tar-fs
dependency-version: 3.0.9
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-03 10:12:59 -07:00
Muhammad Faraz Maqsood
c7f3e26798
feat: keep content inside the card
2025-06-03 15:11:04 +05:00