Commit Graph

673 Commits

Author SHA1 Message Date
Irtaza Akram
0c46334636 fix: ugetext and ngettext deprecation warnings (#33097) 2023-08-25 14:58:53 +05:00
Usama Sadiq
852246db8c fix: replace ugettext with gettext (#33022) 2023-08-16 17:07:23 +05:00
Muhammad Adeel Tajamul
c758291ebd fix: removed switch experience bar from legacy (#31138)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-10-12 12:00:32 +05:00
Navin Karkera
40180a688e [BD-38] fix: hide discussion xblock for openedx provider (#30845)
* fix: hide discussion xblock for openedx provider

* fix: test cases

* refactor: hide xblock is provider not legacy and add message in studio

* fix: lint issue

* refactor: update discussion block studio msg

* fix: test discussion xblock query number
2022-09-02 14:38:53 +05:00
Mehak Nasir
f79e35dfcb style: icon design fixed by adding svg (#30763)
fix: style fix added for legacy button
2022-07-25 13:50:09 +05:00
Mehak Nasir
341c058223 style: bootstrap tooltip added to fix text visibility issue (#30731) 2022-07-15 15:58:07 +05:00
Mehak Nasir
d639c055d1 style: changes to banner design (#30710)
style: tooltip added for switch legacy

fix: add feedback button added in legacy view and text improved
2022-07-14 16:25:22 +05:00
Mehak Nasir
fefbbcbdba style: button font reduced to reduce button size (#30256) 2022-04-15 16:57:14 +05:00
Mehak Nasir
7cf037f540 style: banner height reduced to space screen size (#30241) 2022-04-14 13:14:27 +05:00
Ahtisham Shahid
4138c2cc16 fix: Updated discussions banner text as per changed requirements (#29961) 2022-02-22 13:03:03 +05:00
Ahtisham Shahid
af86e1612c fix: moved new discussions mfe behind waffle flag (#29941) 2022-02-21 21:04:50 +05:00
Awais Ansari
5a4cbc56ae feat: link discussions feedback URL with feedback button (#29919)
* feat: link discussions feedback URL with feedback button
2022-02-15 17:28:03 +05:00
Awais Ansari
be5b27b06e feat: update the discussion preview bar text (#29916)
* feat: update the discussion preview bar text

* fix: update the legacy view button color

* test: fix discussion preview bar failing test cases after text update
2022-02-15 16:41:31 +05:00
Kshitij Sobti
5708787527 feat: show share feedback button only for discussions MFE when URL is configured (#29785)
Removes the share feedback button unless a URL is configured, and only shows it for the discussions MFE view.
2022-02-07 14:57:32 +05:00
Kshitij Sobti
2bbf447ab5 feat: banner for staff users that displays a message for testing the new MFE experience (#29698)
Adds a new banner allowing staff users to preview and switch between the new and legacy forum experience.
2022-01-18 11:18:59 +05:00
Awais Jibran
88c6d412e5 Add switch to disable forum digest in prod. 2020-03-10 13:25:55 +05:00
Jillian Vogel
d3ce0b759e SE-1151 Campus.il Inlines all 36 discussion underscore templates (fixed) (#21094)
Inlines all 36 discussion underscore templates

imported by lms/templates/discussion/_underscore_templates.html
to reduce file system load when displaying inline discussion blocks.

Ignored error where fix required changing the translated text string,
due to differences between underscore and HtmlUtils format strings.
2019-07-15 20:51:42 -04:00
David Ormsbee
930d7f2867 Revert "SE-1151 Campus.il Inlines all 36 discussion underscore templates (#20742)"
This reverts commit 44562a1592.
2019-07-10 11:45:28 -04:00
Jillian Vogel
44562a1592 SE-1151 Campus.il Inlines all 36 discussion underscore templates (#20742)
Inlines all 36 discussion underscore templates

imported by lms/templates/discussion/_underscore_templates.html
to reduce file system load when displaying inline discussion blocks.

Ignored error where fix required changing the translated text string,
due to differences between underscore and HtmlUtils format strings.
2019-07-08 11:26:43 -04:00
Nimisha Asthagiri
c606aaeb57 Discussion consolidation: quality 2019-05-03 12:09:47 -04:00
Nimisha Asthagiri
ef0e06cc0a Revert "Discussions consolidation" 2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
c2e232a3d4 Discussion consolidation: quality 2019-05-01 19:13:10 -04:00
DawoudSheraz
bf99e15707 EDUCATOR-3605 Adding Visible Labels for search and filter inputs on discussion page 2018-12-07 10:26:04 +05:00
noraiz-anwar
72390b62da review suggestions 2018-11-30 18:58:56 +05:00
noraiz-anwar
87ed4e39cd programmatically associate label tag 2018-11-30 17:03:48 +05:00
Eric Fischer
e18448e27d Silence deprecation warnings
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Eric Fischer
fda5fa6d2b JAWS a11y fixes 2018-02-15 09:23:05 -05:00
Simon Chen
3de6e7789b Programmatically indicate nested discussions in filter
This is an a11y fix on the discussion topic display on the left. We are going to write out all the parent catagories for each topic
EDUCATOR-1549
2017-12-19 11:16:07 -05:00
Clinton Blackburn
69eeca61d8 Opening courseware to anonymous users
Anonymous users may now view units in the courseware. This access is limited to units that are not considered problems/graded (e.g. homework, exams).
2017-11-06 16:42:06 -05:00
Douglas Cerna
94bea7a707 Cherry picked Adolfo's commits and addressed Braden's observations 2017-10-19 14:24:58 -04:00
Robert Raposa
b370fe2314 Part II: Rename xss linter. 2017-06-30 13:20:23 -04:00
cahrens
8951ac8c61 Refactor server-size code to enable enrollment tracks.
EDUCATOR-11
2017-06-05 12:59:50 -04:00
cahrens
31fbde9c1f Rename cohort methods to divided. 2017-04-27 14:58:08 -04:00
attiyaishaque
a7550912f8 TNL-6284 Empty subcategory will not render in inline discussion modules. 2017-04-06 12:00:53 +05:00
Albert St. Aubin
91fce2a92b Updates to correct a header styling issue and to make the starting header level selectable 2017-03-20 08:37:33 -04:00
noraiz-anwar
6f447d0b51 Hide Add a post during discussion blackout period 2017-02-14 11:18:12 +05:00
alisan617
68a29ad09b change loading animation to FA user role style change 2017-02-02 15:51:18 -05:00
Andy Armstrong
8ac482ef74 Update buttons to have darker hover colors 2016-12-13 12:41:34 -05:00
Brian Jacobel
c655c5a678 Add new DiscussionInlineView which uses DiscussionThreadListView 2016-12-12 10:05:28 -05:00
Awais Jibran
e26849891d Merge pull request #13939 from edx/aj/fix-discussion-user-roles
Fix discussion user roles
2016-11-10 18:41:12 +05:00
Awais Jibran
92b99c7dc3 Fix discussion user roles 2016-11-10 17:11:52 +05:00
attiyaishaque
76e1d4a75c TNL-5621 Fix discussion topics in MIT course. 2016-11-09 22:26:48 +05:00
alisan617
e80d9b5792 Refactor discussion tab UI code into parts to be reusable for inline discussions
TNL-5669
2016-11-08 14:17:01 -05:00
alisan617
d5635cf1ba New inline discussion home view UI
TNL-4756
2016-10-14 10:54:50 -04:00
Tim Krones
3649f8181d Have DiscussionXBlock take care of loading JS and CSS files it depends on.
* Add openedx.core.lib.xblock_builtin.get_css_dependencies and get_js_dependencies,
  which respect PIPELINE_ENABLED setting when determining dependencies.
* Move new discussion-related Sass files into discussion subdirectory.
* Use "load_unicode" instead of "render_template" to load JS to add to fragment for DiscussionXBlock.
* Remove unused "course" parameter from context for DiscussionXBlock.student_view.
* Add RTL stylesheet for DiscussionXBlock, and enable the block to load correct stylesheet.
* Load MathJax only once, and include code for configuring MathJax in discussion bundle.
* Make sure username renders correctly in DiscussionXBlock response header.
* Move WYSIWYIG Markdown editor styles to _build-discussion.scss.
* Remove unnecessary import of discussion/utilities/v1-compatibility from _build-discussion.scss.
* Keep courseware-chromeless.html in sync with courseware.html.
* Load CSS for discussions on Teams tab.  This makes it possible to remove CSS for discussions from Sass files for "Course" tab.
* Load js/src/tooltip_manager.js, jquery.autocomplete.js and jquery.autocomplete.css on "Course" tab.
2016-10-12 01:22:42 +10:30
Jesse Zoldak
dbab855742 Revert "Have DiscussionXBlock take care of loading assets it depends on" 2016-10-05 12:37:12 -04:00
Tim Krones
baa9d06e97 Have DiscussionXBlock take care of loading JS and CSS files it depends on.
* Add openedx.core.lib.xblock_builtin.get_css_dependencies and get_js_dependencies,
  which respect PIPELINE_ENABLED setting when determining dependencies.
* Move new discussion-related Sass files into discussion subdirectory.
* Use "load_unicode" instead of "render_template" to load JS to add to fragment for DiscussionXBlock.
* Remove unused "course" parameter from context for DiscussionXBlock.student_view.
* Add RTL stylesheet for DiscussionXBlock, and enable the block to load correct stylesheet.
* Load MathJax only once, and include code for configuring MathJax in discussion bundle.
* Make sure username renders correctly in DiscussionXBlock response header.
* Move WYSIWYIG Markdown editor styles to _build-discussion.scss.
* Remove unnecessary import of discussion/utilities/v1-compatibility from _build-discussion.scss.
* Keep courseware-chromeless.html in sync with courseware.html.
* Load CSS for discussions on Teams tab.  This makes it possible to remove CSS for discussions from Sass files for "Course" tab.
* Load js/src/tooltip_manager.js, jquery.autocomplete.js and jquery.autocomplete.css on "Course" tab.
2016-10-03 22:11:31 +10:30
alisan617
0ffeb4639b Make the left sidebar in Discussion page accessible
TNL-5169
2016-09-22 15:28:29 -04:00
Brian Jacobel
86f7e3ba51 Implement Pattern Library alerts in Discussions
TNL-5164
2016-09-07 12:29:19 -04:00
Andy Armstrong
9899a1e520 Fix discussion color contrast and remove gradients
TNL-5163
2016-08-29 17:28:55 -04:00