Daniel Valenzuela
76b5dd5925
fix: delete and remove modals styling ( #2243 )
2025-06-30 15:49:25 -05:00
Navin Karkera
701e41b664
fix: invalidate library queries on restore container ( #2231 )
...
Restoring containers should invalidate queries in the library to show the deleted component without needing to refresh.
2025-06-30 15:30:48 -05:00
Rômulo Penido
ac9faacc4d
feat: add ParentBreadcrumbs component [FC-0090] ( #2223 )
...
Adds the `ParentBreadcrumbs` component to show a list of parent containers on the Unit and Subsection breadcrumbs.
2025-06-30 12:30:48 -05:00
Daniel Valenzuela
e2da13d129
feat: remove unit/subsection from subsection/section ( #2149 )
...
Let the user remove a unit/subsection from a subsection/section.
2025-06-27 08:08:40 -05:00
Daniel Valenzuela
aeefcc639f
fix: open section/unit with keyboard inside section/subsection page ( #2209 )
...
When selecting a unit/subsection inside a subsection/section with the keyboard, opening it in the sidebar by pressing enter was not working.
2025-06-25 12:06:33 -05:00
Navin Karkera
4905f3bbc7
feat: container delete confirmation modal ( #2145 )
...
Update container delete confirmation modal based on #1982 and #1981
2025-06-24 12:37:14 -05:00
Brayan Cerón
60cebf703d
fix: clear selection on files & uploads page after deleting ( #2056 )
...
* refactor: remove selected rows when deleting or adding elements
* refactor: ensure unique asset IDs when adding new ones
* refactor: remove unnecessary loading checks in mockStore function
* test: add unit tests for TableActions component
2025-06-24 08:19:36 -07:00
jacobo-dominguez-wgu
71fa247c61
test: replacing snapshot tests with RTL tests part 11 ( #2214 )
2025-06-24 03:04:03 -07:00
jacobo-dominguez-wgu
085cd7d05c
test: replacing snapshot tests with RTL tests part 10 ( #2207 )
2025-06-24 02:50:54 -07:00
Muhammad Faraz Maqsood
810dd420fd
fix: course optimizer styling
2025-06-24 12:51:41 +05:00
Jillian
747f7b6133
Add subsection/unit to section/subsection full-page view within library [FC-0090] ( #2152 )
...
* Removes the "content type" tab bar from the "Add Existing Component/Unit/Subsection" modal, and in all cases where only one type of content is shown for selection.
* Updates the section/subsection sidebar to show "Existing Library Content" + "New Subsection" / "New Unit" buttons.
* Updates the "Add New Unit/Subsection" buttons to directly launch the new container modal, instead of going via the container sidebar.
* Ensures that whenever a subsection/unit is created from within a section/subsection, that it is linked to the parent section/subsection after created.
2025-06-24 02:05:35 -05:00
Chris Chávez
ebf4b7c162
feat: Open Manage tags on click tag count in section/subsection page [FC-0090] ( #2136 )
...
Add functionality to open the manage tags when clicking the tag count in the section/subsection page.
2025-06-23 12:11:09 -05:00
jacobo-dominguez-wgu
962b30bed9
test: replacing snapshot tests with RTL tests part 9 ( #2206 )
2025-06-20 12:05:34 -07:00
Chris Chávez
75ea7500e1
fix: Rename optimistic update in children containers ( #2141 )
...
Fix: When you update the title of a unit/subsection in the subsection/section page, the text returns to the previous value for a while
2025-06-19 16:11:13 -05:00
jacobo-dominguez-wgu
08c3d123d8
test: replacing snapshot tests with RTL tests part 7 ( #2181 )
2025-06-19 09:11:51 -07:00
Devasia Joseph
920f4a54e1
fix: TNL-10093 Removed inaccurate course rerun message
2025-06-19 14:49:50 +05:00
jacobo-dominguez-wgu
a5c17452e7
test: replacing snapshot tests with RTL tests part 8 ( #2184 )
2025-06-18 15:09:21 -07: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
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
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
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]
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
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
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
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