Commit e6febe6
chore: teak 2 update (#10)
* refactor: remove custom order function from course libraries list (openedx#1865) (openedx#1888)
(cherry picked from commit bc18fff)
* perf: use Library search results to populate container card preview [FC-0083] [TEAK] (openedx#1889)
* fix: several library unit page UX bugs (openedx#1868)
* fix: rename "Organize" tab to "Manage"
* fix: duplicate key warnings
* fix: uniform messages while adding to collection
* fix: do not allow units be added to a unit
(cherry picked from commit 0fdc460)
* perf: use Library search results to populate container card preview (openedx#1820)
* fix: use Library search results to populate container card preview
* feat: show published children when showing only published Unit content
* fix: nits
(cherry picked from commit 24e4695)
---------
Co-authored-by: Rômulo Penido <romulo.penido@gmail.com>
* fix: manage access modal on duplicated xblock (openedx#1874)
* fix: unit pages ux bugs [FC-0083] (openedx#1884) (openedx#1916)
This PR fixes some UX bugs related to the unit pages:
* Sort for "recently modified" on unit tab does not update after adding new components to units
* Change component delete warning message
It's a backport of openedx#1884
* fix: UX issues in unit page (openedx#1913) (openedx#1923)
Fixes the following issues:
* Selection behavior
* Component selection is by header click only
* Newly created blocks within a unit should be selected on creation/save, appear selected, and have their sidebar open
* Some long text components seem to display at the default height rather than a longer height
* Within the full-page unit view, the "add to collection" overflow menu item on components does not seem to work/only opens the sidebar.
* Draft status indicator text is not vertically centered with icon
* When reordering, dragging a short component past a long component often causes a strange stutter effect.
* When dragging to reorder a component, moving quickly or scrolling often causes the drag handle to be lost / causes the block to jump somewhere else
* Reordering may not consistently support a keyboard-accessible option to change order, like in course authoring
* Tag button on component header opens the old tag side pane
(cherry picked from commit 8c3fab3)
* fix: invalidate search results when publishing all changes in library (openedx#1925) (openedx#1927)
(cherry picked from commit cdb8016)
Co-authored-by: Braden MacDonald <braden@opencraft.com>
* fix: improve focus/selected style on library authoring (openedx#1918) (openedx#1930)
Improves the focus and selected styles from the LibraryPage and UnitPage.
* fix: review/sync bugs [FC-0083] (openedx#1905) (openedx#1941)
Fixes issues related to component libraries' review/sync flow
* Inconsistent sync pane title versions
* Library content shown in preview warning only appears in review changes modal when that modal is opened from the review tab
* Some new changes only appear within library review tab on scroll at top of list
* Vertically misaligned sync icon in review changes message on course outline
* Show available updates whenever content is updated, regardless of number of updates available
* fix: Issue with read-only units in libraries & published version of units in library units picker (openedx#1940)
Fixes the issues from openedx#1633 (comment)
* In successfully added units, the "add new component" widget appears sometimes
* In the "add existing unit" modal, the preview shows draft versions of units
* fix: search modal refresh on typing (openedx#1938) (openedx#1948)
* [Teak] backport openedx#1949, openedx#1999 and openedx#2002 (openedx#2006)
* feat: select component and show sidebar on edit (openedx#1949)
Select component that is being edited in library and show its sidebar. Also fixes issue with children component listing in library unit page
(cherry picked from commit 08ac1c0)
* fix: search text flickering (openedx#1999)
Fix flickering issue in search field.
(cherry picked from commit 6f3b7ab)
* feat: open collection or unit page on double click only (openedx#2002)
Opens collection or unit page only on double click.
(cherry picked from commit 503642b)
* fix: change InplaceTextEditor style and add optimistic update (openedx#1953) (openedx#2014)
* Optimistic update for renaming Components, Collections and Containers
* Change the InplaceTextEditor to show the new text until the onSave promise resolves
* Change the InplaceTextEditor style to: Always show the rename button
* fix: rename library publish button (openedx#2015)
* fix: do open editor of new xblock when duplicating (openedx#2017)
* feat: display editors as modals (openedx#1838)
* fix: do open editor of new xblock when duplicating (openedx#1887)
Fixes bug where after duplicating an xblock, the editor modal of the old xblock is being open instead of the new copied xblock.
* [Teak] fix: Inconsistent publish status filter menu placement & fix: Remove never published filter from component picker (openedx#2021)
* fix: Inconsistent publish status filter menu placement (openedx#1966)
* fix: Remove never published filter from component picker (openedx#1947)
Removes the never-published filter option from the component picker and unit picker.
* fix: refresh xblock inline after accepting/rejecting library sync (openedx#2022) (openedx#2028)
Instead of reloading the entire Unit after syncing changes from the
library, just reload the xblock that was changed.
(cherry picked from commit ac5574d)
* fix: set maxHeight on TextEditor TinyMce widget [FC-0090] (openedx#2024) (openedx#2030)
Sets a max_height=500px for the TinyMCE editor when editing a Text/Html component.
This prevents the autoresize plugin from expanding the editor textarea beyond the bounds of the editor modal.
1 parent 98dab67 commit e6febe6
21 files changed
Lines changed: 358 additions & 36 deletions
File tree
- src
- course-unit
- course-sequence
- data
- sidebar
- xblock-container-iframe
- editors/data/redux/thunkActions
- files-and-videos
- files-page
- data
- generic
- table-components
- plugin-slots
- AdditionalCourseContentPluginSlot
- AdditionalCoursePluginSlot
- images
- AdditionalTranslationsComponentSlot
- images
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
215 | 217 | | |
216 | 218 | | |
217 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
218 | 238 | | |
219 | 239 | | |
220 | 240 | | |
| 241 | + | |
221 | 242 | | |
222 | 243 | | |
223 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
73 | 97 | | |
74 | 98 | | |
75 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
| |||
0 commit comments