Commit Graph

200 Commits

Author SHA1 Message Date
Adolfo R. Brandes
e16dc59955 fix: Work around Truncate infinite loop
This works around [a known issue](https://github.com/openedx/paragon/issues/1797)
with `Truncate` that in some situations can lead to an infinite loop and
subsequent page hang.
2022-11-28 12:44:46 +00:00
ayeshoali
5e12d872b8 fix: long post titles does not shift menu position. 2022-11-28 15:38:52 +05:00
Awais Ansari
ab18806fa6 fix: minor issue after MEF rollout (#358)
* fix: update most votes filter name to most likes

* fix: add sorted word infilters description

* test: fixed post filter test case after sorted word addition
2022-11-24 16:06:08 +05:00
Awais Ansari
459511281d fix: count_flagged param sent only for Privilege users (#359) 2022-11-24 16:05:06 +05:00
Mehak Nasir
d58b104027 style: fixed text truncate for title 2022-11-21 16:19:20 +05:00
Awais Ansari
9350922200 fix: incontext modal alignment changes (#353) 2022-11-18 16:21:43 +05:00
Awais Ansari
1c5b0ac581 fix: in-context discussion rendering in sidebar (#351)
* fix: in-context discussion rendering in sidebar

* test: fix the failed test case for post editor
2022-11-17 19:47:20 +05:00
Mehak Nasir
b4da5d35af style: design changes for post summary card 2022-11-17 18:50:08 +05:00
Awais Ansari
1886b22cb3 feat: implement user interactive posts API for my-post tab (#314)
* fix: implement user interactive posts API for my-post tab

* feat: update my-post tab filter and sort according to backend

* refactor: learner posts filter API call

* test: fix post view failed test cases
2022-11-17 18:27:53 +05:00
ayeshoali
cff01eb9d1 fix: with active discussion blackout dates does not load add a post button 2022-11-17 14:56:43 +05:00
ayesha waris
f686fb40a1 Revert "Topic information moved next to username" 2022-11-14 18:11:31 +05:00
ayeshoali
87209ab169 style: truncation added for long topic namesd 2022-11-14 17:38:53 +05:00
ayeshoali
41f9e5b30a style: Topic info moved next to username 2022-11-14 17:38:53 +05:00
Mehak Nasir
dfd880d4b3 feat: add unresponded posts filter 2022-11-11 15:05:34 +05:00
Mehak Nasir
6d87bf879d fix: unnamed category and subcatefory strings added 2022-11-11 14:55:44 +05:00
Muhammad Adeel Tajamul
7ced4b292c feat: added filter options for learner posts (#340)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-11-03 16:54:07 +05:00
Mehak Nasir
c5ad7cfca5 fix: more formats for mathjax support added 2022-10-31 14:43:52 +05:00
Awais Ansari
ecae19b4ec fix: convert clickable author label to text in posts summary list (#331)
* fix: convert clickable author label to text in posts summary list
* test: update post link test and add new tests for authorLabel
2022-10-20 15:36:43 +05:00
Muhammad Adeel Tajamul
4f74016637 fix: fixed failing tests in transifex (#334)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-10-19 20:32:13 +05:00
SaadYousaf
cd204c8e05 fix: fix for reported alert banner 2022-10-13 23:28:07 +05:00
Awais Ansari
4fecfabf2e fix: add violates-guidelines edit reason as a default value for global staff (#323)
* fix: remove horizontal scrollbar

* fix: remove violates-guidelines edit reason as a default value for global staff

* fix: global staff can  edit comment/reply
2022-10-13 20:41:16 +05:00
Kshitij Sobti
50b2e15731 feat: Add support for grouping at subsections (#281)
For smaller courses, there is a feature under the new provider
for grouping topics at the subsection level so that when
navigating the course, all topics under a subsection show up in
the sidebar instead of just the current unit.

This implements that functionality by checking if the discussion
is loaded in-context, and if grouping at subsection is enabled,
and if so, displaying the current subsection's topics.
2022-10-12 17:58:04 +05:00
Mehak Nasir
969df198d5 fix: text search rewrite text added 2022-10-07 20:29:28 +05:00
Awais Ansari
b5ed63c2ed fix: update topics listing UI (#317)
* fix: update topics listing UI

* test: update archived topics test case

* style: remove topic list last divider
2022-10-07 14:32:00 +05:00
Awais Ansari
11e9ebcfd0 fix: remove editor text persistence (#311)
* fix: remove editor text persistence

* fix: remove text persistence from comment/response editor

* fix: stop comment/response validation on editor cancel button
2022-10-04 18:58:50 +05:00
Mehak Nasir
315da6ba5d fix: ui text changes 2022-10-04 18:00:14 +05:00
Mehak Nasir
f43832187c fix: read/unread status fixed 2022-10-03 18:11:35 +05:00
Kshitij Sobti
8f8c5f279b fix: Only show unread status for posts when the post itself is unread
This commit changes the logic used to mark a post as unread. While previously
any comment on a thread would move a thread from unread to read, now we only
consider a post unread if the post itself hasn't been read.

This is done by checking if the number of unread comments matches the total
comments.

NOTE: this check will also be valid after the first comment, and if all of a
user's read posts get deleted.
2022-10-03 18:11:35 +05:00
Awais Ansari
ab2c031bdc fix: remove post sorting from frontend 2022-09-29 11:59:59 +05:00
Mehak Nasir
7017f43b35 fix: edit post action fixed in learner tab 2022-09-19 14:05:28 +05:00
Ahtisham Shahid
b5dce94200 feat: made violates-guidelines edit reason code default for admin (#288) 2022-09-15 11:17:40 +05:00
Muhammad Adeel Tajamul
b774b6bab1 feat: copy post functionality (#280)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-12 12:31:14 +05:00
Awais Ansari
77c28bcd15 fix: sort order of responses are changing immediately (#278) 2022-09-03 01:37:28 +05:00
Ahtisham Shahid
b0737da689 feat: added blackout dates implementation (#271)
* feat: added blackout dates implementation

Co-authored-by: Mehak Nasir <mehaknasir94@gmail.com>
2022-09-01 19:58:42 +05:00
Awais Ansari
8a73f23cb0 fix: small UI issue and post sorting (#274)
* fix: filter pinned, unpinned posts and render separately

* fix: UI updates for INF-421 and INF-417

* fix: pin icon moves to left for non privilege user

* fix: posts list accessibility issue
2022-08-31 18:29:21 +05:00
Muhammad Adeel Tajamul
3d10b6dbed fix: updated search info and no result design (#246)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-31 16:40:39 +05:00
Mehak Nasir
5704b402cd fix: threads lost issue on load more in topics 2022-08-29 15:07:27 +05:00
Ahtisham Shahid
41ee555e88 fix: Updated state logic for reported content (#264) 2022-08-29 11:56:08 +05:00
Muhammad Adeel Tajamul
eb2ece323c fix: vertically centered no results found message (#270)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-29 11:09:53 +05:00
Saad Yousaf
799895512c Revert "Revert "fix: fix discussions MFE Header to LearningHeader""
This reverts commit d1dcf20312.
2022-08-26 18:37:32 +05:00
Muhammad Adeel Tajamul
f878a04057 fix: follow button should not open post (#267)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-26 09:51:10 +05:00
SaadYousaf
fab9d91a0b fix: resolve issues with search functionality 2022-08-25 15:41:09 +05:00
Awais Ansari
45c596b770 fix: allow actions according to user role and privileges (#260)
* fix: allow actions according to user role and privileges

* test: fix failed test case for has_moderation_privileges change
2022-08-24 12:31:31 +05:00
Saad Yousaf
d1dcf20312 Revert "fix: fix discussions MFE Header to LearningHeader"
This reverts commit 5d72cc563e.
2022-08-23 17:02:14 +05:00
SaadYousaf
5d72cc563e fix: fix discussions MFE Header to LearningHeader 2022-08-23 16:25:29 +05:00
Mehak Nasir
9be71ff92e fix: anonymous user is not clickable (#258)
* fix: anonymous user is not clickable

* fix: link handled for anonymous user everywhere
2022-08-23 13:19:36 +05:00
Muhammad Adeel Tajamul
7ee5a8e157 fix: show searching when api call is in progress (#254)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-23 11:22:56 +05:00
Ahtisham Shahid
77748bec22 fix: long post title heading UI updated (#255) 2022-08-18 23:52:18 +05:00
Awais Ansari
b29f5d7c34 Move clickable username behind the discussions.enable_learners_tab_in_discussions_mfe (#247)
* fix: move clickable user name behind the discussions.enable_learners_tab_in_discussions_mfe flag

* test: fix fail test cases for clickable username
2022-08-15 15:09:53 +05:00
Mehak Nasir
592f63cae9 fix: accessibility fixes (#249) 2022-08-15 14:55:59 +05:00