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
Awais Ansari
22967357df
fix: response and comment UI ( #244 )
...
* fix: response and comment UI
* fix: revert inIframe conidition
2022-08-12 16:35:35 +05:00
Awais Ansari
3e0e040cb1
fix: style issues for new post and edit post form ( #242 )
...
* fix: style issues for new post and edit post form
* fix: post type cards width
2022-08-11 12:37:05 +05:00
Awais Ansari
afe27d2da4
fix: pinned post sorting issue ( #243 )
2022-08-11 12:35:37 +05:00
Muhammad Adeel Tajamul
339e37302d
fix: added no results bar to topics tab and search info to learners tab ( #239 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-08-10 10:25:47 +05:00
Mehak Nasir
e34ebdbeed
fix: accessibility fixes ( #236 )
2022-08-07 01:10:35 +05:00
Awais Ansari
7ea3e62d33
fix: clickable username in post, comments and responses ( #234 )
...
* fix: clickable username in post, rcomments and responses
* test: fix test case after clickable username
2022-08-05 21:59:36 +05:00
Awais Ansari
25cf4ce4c8
fix: display direct link post at top of the list ( #226 )
2022-08-03 13:56:19 +05:00
Awais Ansari
d3adb8b3e7
fix: response and comment UI according to Figma ( #220 )
...
* fix: response and comment UI according to Figma
* test: add test cases for endorse alert banner
2022-07-27 15:32:34 +05:00
Awais Ansari
d71a53d9ee
fix: post avatar alignment and size ( #214 )
...
* fix: post avatar alignment and size
* refactor: post header scss class
2022-07-26 17:01:48 +05:00
Muhammad Adeel Tajamul
f447be151d
fix: added pushpin icon to mfe ( #218 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-07-26 14:36:35 +05:00
Muhammad Adeel Tajamul
98b97d4125
fix: updated pinned post icon ( #212 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-07-22 14:33:22 +05:00
Muhammad Adeel Tajamul
c1b0aa0f8c
fix: no results found should be displayed afer api call ( #211 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-07-20 17:01:37 +05:00
Awais Ansari
67b634d391
fix: Update post content UI according to Figma ( #209 )
...
* fix: Update post content UI according to Figma
* test: update post view test case
2022-07-14 11:57:39 +05:00
Muhammad Adeel Tajamul
bf953354a1
feat: update search in discussions mfe ( #207 )
...
* feat: update search in discussions mfe
* fix: updated code design
* fix: searchbar clear and code refactor
* fix: replaced existing search box
* feat: added search info bar
* fix: resolved failing topics test
* fix: resolved intl issue
* fix: resolved il8n extract check
* fix: labels moved to il8n message files
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
Co-authored-by: Awais Ansari <awais.ansari63@gmail.com >
2022-07-07 14:31:20 +05:00
Awais Ansari
ca1783a2b6
fix: set default value for cohorts dropdown ( #208 )
2022-07-06 17:11:37 +05:00
Awais Ansari
70027d0f49
feat: clickable username in post summery card ( #201 )
...
* feat: clickable post username
* feat: fetch learner posts based on learner name
2022-06-30 18:19:20 +05:00
Mehak Nasir
a089235253
fix: load-more button added in place of infinite scroll ( #199 )
...
fix: accessibility issue resolved assigning aria-levels to UI components
fix: learner view loading changes and ui fix
fix: removed unused component
fix: lint fixes
2022-06-24 21:48:14 +05:00
Kshitij Sobti
ae6397ea32
fix: filtering posts in a topic doesn't work when filtered results are empty ( #203 )
...
A list of all posts in a topic is stored in an object for quick lookup. This is used when switching between topics to get the list of posts in that topic. When filters change the list of posts in a topics is updated and this is picked up by the UI. If changing filters when browsing a topic results in an empty result, this would cause the original list of topics for that topic to be retained, causing the filter to simply not apply. This commit fixes that by resetting the post list in that case.
2022-06-24 08:56:08 +00:00
Ahtisham Shahid
5719b5ce39
fix: Reported filter for global admin ( #200 )
...
* fix: Reported filter for global admin
* fix: udpted failing unit tests
* fix: updated failing unit tests
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local >
2022-06-23 16:42:55 +05:00
Awais Ansari
59187d2217
feat: implement learners area new UI ( #197 )
...
* feat: implement learners area new UI
* fix: learners list UI
* fix: initial learner sort based on role
2022-06-20 16:14:13 +05:00