sundasnoreen12
76da74ae20
feat: Modified discussions FE so that ONLY users with verified emails ( #789 )
...
* feat: Modified discussions FE so that ONLY users with verified emails can create content
* feat: added comment and response functionality
* test: fixed test cases
* refactor: refactor code and added HOC
* test: added test cases
* test: added test cases for failed and denied
* feat: added states for button
* refactor: added callback function
* test: added test case to close the dialogue
* refactor: refactor function
2025-07-23 17:24:57 +05:00
sundasnoreen12
4914f51b6e
fix: fixed crash issue for post in learner tab ( #684 )
2024-03-28 13:30:50 +05:00
ayesha waris
f69b2c118f
chore: removed eslint-disable statements ( #658 )
...
* chore: removed eslint-disable statements
* refactor: removed unnecessary files and unintentional eslint-disable statements
* refactor: removed eslint import/no-cycle error
* fix: failing testcase
* style: removed comments
* fix: failing testcase
---------
Co-authored-by: sohailfatima <23100065@lums.edu.pk >
Co-authored-by: Fatima Sohail <68312464+sohailfatima@users.noreply.github.com >
2024-01-31 16:54:03 +05:00
Muhammad Adeel Tajamul
fa8357035b
fix: anonymous post should not be visible in my post ( #654 )
2024-01-25 14:48:25 +05:00
Awais Ansari
0844ee6875
Perf: improved discussions MFE's components re-rendering and loading time ( #513 )
...
* chore: configure WDYR for react profiling
* perf: reduced post content re-rendering
* perf: post content view and it child optimization
* perf: add memoization in post editor
* perf: add memoization in postCommnetsView
* perf: improved endorsed comment view rendering
* perf: improved re-rendering in reply component
* fix: uncomment questionType commentsView
* fix: removed console errors in postContent area
* perf: reduced postType and postId dependancy
* perf: improved re-rendering in discussionHome
* perf: improved re-rendering of postsList and its child components
* perf: improved re-rendering of legacyTopic and learner sidebar
* fix: postFilterBar filter was not updating
* fix: resolve duplicate comment posts issue
* fix: memory leaking issue in comments view
* fix: duplicate topic posts in inContext sidebar
* perf: add lazy loading
* chore: remove WDYR configuration
* fix: alert banner padding
* chore: update package-lock file
* fix: bind tour API call with buttons
2023-05-08 16:21:29 +05:00
Awais Ansari
7b7c249abd
Revert "Perf: improved discussions MFE's components re-rendering and loading time ( #485 )" ( #512 )
...
This reverts commit 59b4366edd .
2023-05-08 15:34:43 +05:00
Awais Ansari
59b4366edd
Perf: improved discussions MFE's components re-rendering and loading time ( #485 )
...
* chore: configure WDYR for react profiling
* perf: reduced post content re-rendering
* perf: post content view and it child optimization
* perf: add memoization in post editor
* perf: add memoization in postCommnetsView
* perf: improved endorsed comment view rendering
* perf: improved re-rendering in reply component
* fix: uncomment questionType commentsView
* fix: removed console errors in postContent area
* perf: reduced postType and postId dependancy
* perf: improved re-rendering in discussionHome
* perf: improved re-rendering of postsList and its child components
* perf: improved re-rendering of legacyTopic and learner sidebar
* fix: postFilterBar filter was not updating
* fix: resolve duplicate comment posts issue
* fix: memory leaking issue in comments view
* fix: duplicate topic posts in inContext sidebar
* perf: add lazy loading
* chore: remove WDYR configuration
* fix: alert banner padding
* chore: update package-lock file
2023-05-08 15:14:53 +05:00
Awais Ansari
fd4dbef2e0
fix: deleting a post from sidebar renders entire MFE in the sidebar ( #403 )
2023-01-09 14:35:54 +05:00
Awais Ansari
58e724d724
feat: display archived topics is post editor and topics list ( #397 )
...
* fix: display subsection name when there is no units in subsection
* feat: display archived topics is post editor and topics list
* fix: posts filter are affecting topic posts result
2023-01-04 14:01:56 +05:00
ayesha waris
4eaac1eb03
fix: loading icon and filter menu shows when api call is in progress in my posts tab ( #389 )
2022-12-27 18:24:58 +05:00
SaadYousaf
e7a41b2391
fix: cleanup events and add filter content event to learners tab filters
2022-12-15 15:39:29 +05:00
Mehak Nasir
31a66f6832
fix: filter result rendering fixed in topics
2022-12-09 17:58:08 +05:00
SaadYousaf
37053e9bd3
feat: add tracking event for content filtering in discussion MFE
2022-12-09 16:21:23 +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
969df198d5
fix: text search rewrite text added
2022-10-07 20:29:28 +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
Awais Ansari
25cf4ce4c8
fix: display direct link post at top of the list ( #226 )
2022-08-03 13:56:19 +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
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
Awais Ansari
7502006f01
feat: add cohort filter in filter action bar ( #172 )
...
* feat: add cohort filter in the filter action bar
* test: fix posts view fail test cases
* test: add test case for cohort filter
2022-06-01 13:39:33 +05:00
Awais Ansari
0269c0d81c
fix: mark a post as read in redux when user clicks on a post ( #163 )
...
* fix: mark a post as read in redux
* chore: remove POST_MARK_AS_READ_DELAY env variable
2022-05-20 11:40:10 +05:00
Kshitij Sobti
d802e5331f
fix: filtering by post type wasn't working [BD-38] [TNL-9609] ( #82 )
...
Fixes an issue where filtering by post type wasn't working, since the filter wasn't being passed to the API.
It also simplifies the code a bit and adds tests.
2022-03-14 05:36:28 +00:00
Maxim Beder
5fafa44b56
feat: add cohort selection
...
Allow admins select a cohort when creating a new post.
If a user is not a discussions administrator, or if trying to edit
existing post, can't select a cohort (field is hidden).
fix: fix adding threads for topics that haven't been preloaded
2021-10-28 21:51:48 +02:00
Kshitij Sobti
c8c3bb925c
feat: Improve UX to match new mockups
...
Uses new API features for preview, deleting, pinning, and closing. Refactors and improves styling to match new mockups.
Adds the new post filter bar element.
2021-10-28 16:43:28 +05:30
Felipe Trzaskowski
1d3827ed10
feat: add posts pagination [BD-38] [TNL-8810] [BB-4993]
2021-10-19 11:01:05 -03:00
Kshitij Sobti
5db87f54bb
feat: Add post actions dropdown menu
...
Adds a dropdown menu for comments and posts to perform actions like pinning, unpinning, reporting etc.
2021-09-20 14:52:19 +05:30
Kshitij Sobti
586cf3e581
Remove Object.assign
...
Use arrays for pages instead of a map
2021-09-14 21:51:09 +05:30
Kshitij Sobti
582a5fd3ae
refactor: update normalisation code to work in thunks instead of reducers
2021-09-14 19:22:47 +05:30
Kshitij Sobti
a1148867ca
feat: Update the post editor to include TinyMCE and connect to API
...
This change adds the TinyMCE editor for editing posts and connects the post editor to the API, allowing adding new posts and editing existing ones.
2021-09-14 19:16:28 +05:30
0x29a
b06832ae13
feat: add post add interface
2021-08-27 12:20:11 +05:00
Patrick Cockwell
93d10f9280
feat: Add major UI components and functionality
...
This adds a major chunk of UI code to the application covering topic listing,
topic filtering, subtopic browsing, browsing posts by topic, filtering unread
posts, filtering followed posts, sorting posts by recent activity, most activty
and most votes, liking/unliking a post, following/unfollowing a post, listing
comments and replis in a post.
Co-authored-by: Kshitij Sobti <kshitij@sobti.in >
2021-07-12 11:02:48 +05:30
Kshitij Sobti
27b5f48907
Add code for interacting with Discussions API
...
This commit adds code for interacting with the Discussions API, along with the
associated reducers, thunks, selectors etc.
2020-11-05 15:50:38 +05:30
Kshitij Sobti
491f7b7acd
Basic discussions forum framework
...
Adds the basic structure for the Discussions MFE around which future development
will happen.
2020-10-21 23:59:23 +05:30