Chris Chávez
6738faa8f7
feat: Avoid to close tag drawer when click outside ( #34740 )
2024-05-09 17:29:21 +05:30
Maria Grimaldi
f544a4825d
feat: make hide from TOC a visibility section setting ( #33952 )
...
Exposes the hide_from_toc xblock attribute so course authors can configure it as a section visibility option in Studio. Before this change, the Hide from TOC functionality was mainly used by OLX components. Hence, it wasn't available for configuration through the Studio UI. Still, its implementation existed in the platform and could be used by setting the attribute: hide_from_toc=true as part of the OLX definition.
Ref: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
2024-02-29 11:13:33 -04:00
Pooja Kulkarni
f5b246d0e9
feat: copy/paste unit from within a unit in Studio - feature flagged ( #33724 )
...
(requires the contentstore.enable_copy_paste_units waffle flag)
2023-12-01 11:33:34 -08:00
Chris Chávez
f72710e261
feat: Display tags on the Unit page in Studio (feature-flagged) - Take 2 ( #33761 )
2023-11-21 12:12:17 -08:00
Rebecca Graber
c66ed87f65
Revert "feat: Tag List on Unit page (feature-flagged) ( #33645 )" ( #33740 )
...
This reverts commit 104d42c67a .
2023-11-17 20:12:47 +00:00
Chris Chávez
104d42c67a
feat: Tag List on Unit page (feature-flagged) ( #33645 )
2023-11-17 10:03:28 -08:00
Syed Ali Abbas Zaidi
8480dbc228
chore: apply amnesty on existing not fixable issues ( #32215 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* chore: apply amnesty on all existing issues
* fix: failing xss-lint issues
* refactor: apply amnesty on remaining issues
* refactor: apply amnesty on new issues
* fix: remove file level suppressions
* refactor: apply amnesty on new issues
2023-08-07 19:13:19 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Syed Ali Abbas Zaidi
5549db4d80
fix: migrate remaining eslint-config-edx ( #31760 )
...
* fix: migrate remaining eslint-config-edx
* refactor: updated eslint rules according to eslint-config-edx-es5
* refactor: add custom rules to suppress unnecessary eslint issues
* refactor: add custom rules to internal eslint configs
* fix: fix all indentation issues
* chore: update lock file
2023-03-02 16:16:50 +05:00
adeelehsan
98590dbddf
Fixed xss lint issues
...
PROD-1609
PROD-1610
PROD-1614
PROD-1615
PROD-1616
2020-05-21 17:22:32 +05:00
Calen Pennington
07a15c681f
Reapply the XBlock RequireJS -> Webpack changes
...
This reverts commit 105db2cf59 , reversing
changes made to 447457594f .
2018-06-27 22:27:07 -04:00
Eric Fischer
e72549cdbe
Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
...
This reverts commit 9a70ca78a5 , reversing
changes made to efd5b9abbd .
Hopefully fixes EDUCATOR-3053
2018-06-15 13:18:27 -04:00
Calen Pennington
be3c7e05c5
Reapply "Switch container factory to webpack"
...
This reverts commit 18d93b00ba .
2018-06-07 15:52:05 -04:00
Calen Pennington
18d93b00ba
Revert "Switch container factory to webpack"
2018-06-07 13:46:47 -04:00
Calen Pennington
0abe75a7c6
Re-apply the changes to convert XBlocks to Webpack
...
Reapplies edx/edx-platform#17509
This reverts commit 0f7e2373d0 .
2018-06-06 12:52:12 -04:00
Calen Pennington
0f7e2373d0
Revert "Switch container factory to webpack"
2018-05-29 16:01:38 -04:00
Calen Pennington
61855b2b30
Extract a new webpack-based suite of cms javascript tests
2018-05-29 12:28:19 -04:00
Eric Fischer
5bc6b31e29
eslint --fix
2017-12-08 14:38:41 -05:00
Mushtaq Ali
e83bee65bd
Fixed Backend: Move component directly to content experiment level (component will now be the sibling of groups)
...
Fixed Move button is disabled when moving components inside conditional module
Fixed When navigating upward/backward, target parent is not set correct, resulting source to be moved in the previously selected parent
2017-03-08 16:48:52 +05:00
Mushtaq Ali
e9b8e17fc8
Enable disable move - TNL-6063
2017-03-01 19:27:01 +05:00
Mushtaq Ali
e856f07b87
Move and undo move XBlock
...
- TNL-6062
- TNL-6229
2017-03-01 19:27:00 +05:00
muhammad-ammar
1b011af7e2
move dialog
...
TNL-6047
2017-03-01 19:21:38 +05:00
Mushtaq Ali
a31a728a95
Add duplicate functionality for unit, sub-section and section - TNL-5797, TNL-5798
2016-11-18 12:39:35 +05:00
Brian Jacobel
d43e915dab
Run eslint autofixer on /cms
2016-08-08 15:04:06 -04:00
Brian Jacobel
a32fd27d60
Replace JSHint ignore directives with ESLint ones
2016-08-04 16:22:59 -04:00
cahrens
292cd93131
Focus seems to be flaky when running tests.
...
TNL-4561
2016-05-28 22:03:35 -04:00
Douglas Hall
37a7fdc0f2
Added subsection gating feature
2016-01-28 14:05:20 -05:00
Zia Fazal
2cb2233dde
initial change set. add org autocomplete
...
added unit tests and fixed JS tests
added bok choy tests
fixed broken botchoy tests
fixed course discovery broken test
removed monkey patch at class level
changes after feedback from matte
2015-12-11 18:39:55 +05:00
muhammad-ammar
6134e8b5ed
Move studio dialog code into common
2015-08-26 20:26:27 +05:00
Xavier Antoviaque
0c7620a544
Merge pull request #6637 from open-craft/mtyaka/validate-chars
...
Improve JS course key validation to not allow special chars.
2015-01-20 16:02:32 +01:00
Bertrand Marron
c4a7d770cc
Remove all ellipses
...
It's a problem for accessibility
2015-01-15 09:03:12 -05:00
Matjaz Gregoric
d8e076566d
Improve JS course key validation to not allow special chars.
...
Course and Library keys cannot contiain !'()* special characters,
but the JS validation on the new course/library failed to detect
these characters.
`encodeURIComponent` is used to check the string for special characters,
but `encodeURIComponent` does not encode these characters: -_!~*'().
(see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent )
The -_~ characters are allowed in course keys, but !'()* are not,
so add an explicit check for these characters to make sure a field
containing these characters does not pass the validation.
2015-01-15 08:32:19 +01:00
Jonathan Piacenti
91469f902f
Refactored shared elements of create factories into base class.
2015-01-12 13:42:54 +03:00
E. Kolpakov
99caf602cb
Refactoring create_course_utils and create_library_utils to reduce the amount of differences (mostly renames
2015-01-12 13:42:54 +03:00
Matjaz Gregoric
0b8471d6b3
Toggle aria-disabled attribute on New Course/New Library buttons.
2015-01-12 13:42:50 +03:00
Braden MacDonald
3e0f08ebc2
Studio support for creating and editing libraries (PR 6046)
...
SOL-1, SOL-2, SOL-3
2015-01-12 13:37:50 +03:00
Syed Hassan Raza
1e11baede4
Add aria-disabled attribute
...
TNL-997
2015-01-06 17:21:49 +05:00
Ben McMorran
d943204199
Fix i18n on course outline and show error message for long names
2014-08-21 12:11:28 -04:00
Ben McMorran
baee2da278
Improve javascript test coverage
2014-08-21 12:11:28 -04:00
Ben McMorran
1778c15703
Refactor dismissNotification uses into shared logic in view_utils
2014-08-21 12:11:27 -04:00
Ben McMorran
63603d70f4
Refactor shared course creation validation into create_course_utils
2014-08-21 12:11:27 -04:00
Ben McMorran
12a5781725
Add ability to set staff lock from course outline
2014-08-16 15:58:42 -04:00
Alexander Kryklia
a63cc0b30f
Edit section/subsection release dates and grading types.
...
Fix bok_choy test by changing course separator.
Change format of the modal title to '[Subsection/Section Name] Settings'.
Improve bok_choy test stability.
Studio: correcting modal window size name for outline settings editor
Specify full date in bok_choy tests.
Refactor bok_choy tests.
Remove .modal-editor from basic-modal.underscore
Set classes in modal window dynamically.
Studio: revising outline edit modal tip content and overall size
Rename isEditable to isEditableOnCourseOutline.
Interpolate display name.
Use graded instead of format as flag.
Studio: revising outline settings edit modal size
Fix selectors in bok_choy tests.
2014-08-07 12:27:17 -04:00
Ben McMorran
ce06e7f7e7
Fix delete messages in course outline
...
STUD-2019
2014-08-07 12:27:16 -04:00
cahrens
6d82cf09a4
Correct publish titles, code review feedback.
2014-08-07 12:27:14 -04:00
Andy Armstrong
ef581e1146
Apply code review comments and fix tests
2014-08-07 12:27:14 -04:00
Andy Armstrong
a359065329
Integrate visual styling into the course outline
2014-08-07 12:27:13 -04:00
cahrens
d447c07540
Support staff locking on the unit page
...
STUD-1873
2014-08-07 12:16:22 -04:00