Awais Ansari
a51f3ed7c6
fix: switching between subtopics are breaking the UI ( #120 )
2022-04-07 16:23:29 +05:00
Arunmozhi
14fe0d4ea5
feat: adds content area to browse learner contributions ( #84 )
...
When the learners tab is enabled and is accessible, the contributions of
a learner can be viewed by sorting them into Posts, Responses and
Comments, by selecting a specific learner. This implements the new
design of authored/reported tabs.
https://openedx.atlassian.net/browse/TNL-8844
2022-04-05 08:37:09 +00:00
Kshitij Sobti
daacdbea1a
feat: send message to learning MFE on navigation
...
Sends the current path to the learning MFE, so it can maintain the path on reload.
2022-04-01 16:41:27 +05:30
Abdurrahman Asad
f687b43d91
fix: post summary box size is large ( #113 )
2022-04-01 13:12:05 +05:00
Kshitij Sobti
e43b94316c
test: make tests for actions dropdown report more info on what's being tested
...
The generated names for actions dropdown tests weren't very helpful, this adds more details to them so you know exactly what's being tested.
2022-04-01 13:35:16 +05:30
Kshitij Sobti
7d35df12cd
feat: Add support for closing in-context sidebar
...
Use postmessage-based API to send message to close learning MFE sidebar.
2022-04-01 13:27:16 +05:30
Kshitij Sobti
b6da098331
feat: Add support for specifying post close reasons [BD-38] [TNL-8843] [BB-5012] ( #96 )
...
Adds support for specifying an edit reason when a moderator edits a user's post.
Co-authored-by: Felipe Trzaskowski <felipe.trzaskowski@gmail.com >
2022-04-01 07:56:25 +00:00
Mehak Nasir
9f3a5ecb1e
fix: color contrast improved for unread posts
2022-03-31 23:22:58 +05:00
Abdurrahman Asad
b6eff472c5
fix: UI adjustments to post summary and post details ( #110 )
...
* fix: UI adjustments to post summary and details
2022-03-31 18:35:07 +05:00
Awais Ansari
c62f500875
fix: navbar shadow ( #107 )
...
* fix: navbar shadow
2022-03-31 16:52:50 +05:00
Kshitij Sobti
6bc0065259
feat: use resize postmessage API to send size hints to parent ( #100 )
...
When the post list is resized, send a size hint to the parent window (LMS/Learning MFE) so it can resize the discussions MFE iframe dynamically.
2022-03-30 11:10:42 +00:00
Mehak Nasir
a15f144120
fix: removed edit reason code
2022-03-28 23:47:39 +05:00
Kshitij Sobti
e441aa43bd
fix: align empty state in the center and auto-grow container ( #103 )
...
Makes the empty page illustration be centrally aligned on the page.
Makes the content container expand to take the full vertical space.
2022-03-28 12:54:05 +00:00
Kshitij Sobti
38792dd25d
fix: update post when comment is marked as answer; reload topics on open ( #104 )
...
When a comment is marked as an answer, refresh the post it's in so the answered tag appears.
When navigating to the post tab, refresh the topic list.
2022-03-28 12:53:35 +00:00
Arunmozhi
45b17a5983
fix: show message outline icon when thread is read ( #102 )
...
The message icon in the posts list on sidebar will be filled when there
are unread comments and it will be an outline when all the comments are
marked read.
https://openedx.atlassian.net/browse/TNL-9574
2022-03-28 11:13:51 +00:00
Awais Ansari
3074ae807b
fix: post summaries are being repeated in the list ( #105 )
...
* fix: post summaries are being repeated in the list
2022-03-28 15:31:42 +05:00
Kshitij Sobti
c4c001ac95
fix: update icons to match mockups better ( #94 )
...
Temporary icons were in use while certain icons were unavailable in Paragon. They have now been updated to use more appropriate icons.
2022-03-28 08:58:55 +00:00
Muhammad Adeel Tajamul
067de936f2
Merge pull request #106 from openedx/tnl-9741
...
fix: add spacing to likes count
2022-03-28 12:07:59 +05:00
Hamza Khchine
2c40685932
feat: Add Learners list [BD-38] [TNL-8841] ( #83 )
...
Adds a new tab and listing view for learners in a course that have interacted with the discussions forums. It reports stats about the learner's created posts, comments, and reported content.
Co-authored-by: Kshitij Sobti <kshitij@sobti.in >
2022-03-28 05:53:26 +00:00
adeel.tajamul
4de3305a5a
fix: add spacing to post count
2022-03-25 16:48:20 +05:00
Abdurrahman Asad
4b17de8c13
fix: answered marker not right aligned correctly ( #101 )
...
fix: spacing between answered and reported markers
2022-03-24 18:25:45 +05:00
Abdurrahman Asad
465d5af980
fix: spacing between answered and reported markers ( #99 )
2022-03-22 20:55:13 +05:00
Abdurrahman Asad
84249b92c7
fix: UI style update of answered and endorsed banners ( #98 )
2022-03-22 19:08:57 +05:00
Abdurrahman Asad
e809bbdbf5
fix: revert for TNL-9612 ( #97 )
2022-03-22 19:08:23 +05:00
Hamza Khchine
f797c75360
fix: [BD-38] [BB-5598][TNL-9626] redirect home page to my posts, fallback to all posts if user has no content ( #87 )
...
This alters the behaviour of the base URL. Instead of navigating to the topics page, it now navigates to the user's posts page when the user has posts, and to the all posts page when the user has no posts.
2022-03-21 09:59:08 +00:00
Abdurrahman Asad
7d3a103a93
fix: send request to fetch discussion settings only for admins ( #95 )
2022-03-21 12:00:39 +05:00
Hamza Khchine
6f88e41bde
fix: [BD-38] [BB-5599] [TNL-9629] fix Follow button on post summary ( #74 )
...
* fix: [BD-38] [BB-5599] [TNL-9629] fix Follow button on post summary
* test: add tests
2022-03-18 21:46:26 +05:30
Hamza Khchine
3269a61dc4
fix: [BD-38] [TNL-5596][BB-5596] fix TinyMCE padding [BD-38] ( #73 )
2022-03-18 21:30:18 +05:30
Hamza Khchine
26b661c6b1
fix: [BB-5597][TNL-9618] text leaking out from post summary ( #91 )
2022-03-18 21:05:46 +05:30
Felipe Trzaskowski
194a3f2485
feat: Add support for specifying edit reasons ( #46 )
...
Adds support for specifying an edit reason when a moderator edits a user's post.
Co-authored-by: Kshitij Sobti <kshitij@opencraft.com >
2022-03-17 12:41:47 +00:00
Kshitij Sobti
935d0c5e3e
fix: clear saved post or comment on submit ( #88 )
...
If a post or comment has been submitted, clear it from autosaved drafts so that it doesn't show up anymore.
2022-03-17 06:20:22 +00:00
Kshitij Sobti
ce293e53c0
fix: related link for posts should open in top frame ( #93 )
...
Opening the related link in the 'top' frame avoids an issue where the LMS
attempts to load the learning MFE in the discussions tab.
2022-03-17 06:19:58 +00: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
adeel.tajamul
30afbfb7b8
fix: posts not loading when scrolled to bottom
2022-03-10 12:26:47 +05:00
Muhammad Adeel Tajamul
e791a06370
Merge pull request #86 from openedx/tnl-9648
...
fix: report indicator showing different on post summary
2022-03-10 06:29:03 +05:00
Mehak Nasir
3cbb7e0fc3
fix: card component update to handle paragon breaking changes
2022-03-09 19:02:15 +05:00
Keith Grootboom
c65230d5da
feat: show empty state on posts pages [BD-38] [TNL-9484] [SE-5347] ( #65 )
...
When a user browses the discussion pages, show a page showing
that there is no data, rather than a blank page.
This PR implements the designs for this page while refactoring the
DiscussionHome component so that it doesn't get much larger.
- Created a hooks file and move some of the larger hooks in there.
- Added selectors for the state that would be needed for the
components.
- Split the DiscussionHome into DiscussionContent and
DiscussionSidebar to make it clearer where certain things get
rendered.
- Adds a message to the sidebar to display No Results when
appropriate.
- Added the NoResults component to show when filtering posts and there
is nothing to show.
2022-03-09 12:15:32 +00:00
Arunmozhi
4d8dff93a6
feat: show check icons for endorsed comments ( #85 )
...
Show the CheckCircle icon for posts which are marked as answers and show
the Verified badge icon for discussion posts marked as endorsed.
https://openedx.atlassian.net/browse/TNL-9611
2022-03-09 11:08:01 +00:00
adeel.tajamul
5470a217ae
fix: report indicator showing different on post summary
2022-03-09 10:43:02 +05:00
Mehak Nasir
f50334f434
fix: hover style added for card component
2022-03-08 20:31:17 +05:00
Mehak Nasir
b04e7e7b58
style: endorsed/unendorsed counts classfication removed from heading
2022-03-08 20:31:17 +05:00
adeel.tajamul
bb73bdb9df
fix: post summaries disappear upon scroll to the bottom
2022-03-04 16:52:59 +05:00
Abdurrahman Asad
4c09768f61
fix: answered and endorsed indicator modification ( #76 )
...
fix: answered and endorsed indicator modification
2022-03-04 16:05:26 +05:00
Mehak Nasir
f4f7c61c7a
style: action bar and radio button fixes
2022-03-02 20:42:47 +05:00
Arunmozhi
ac54d25be8
feat: replace cohort text with icon & overlay in posts ( #69 )
...
This implements the new UI design of showing an icon for posts that are
specific to a cohort. The icon upon mouse-over shows the name of the
cohort as an overlay.
https://openedx.atlassian.net/browse/TNL-9483
2022-03-02 14:02:46 +00:00
Mehak Nasir
20cc3e9827
style: search bar and add post button fix
2022-03-02 16:12:33 +05:00
Kshitij Sobti
d31c438fc1
feat: add support for new provider and new topic api ( #54 )
...
Adds support for the new openedx provider and the new topics structure it introduces which ses the new topics v2 API.
2022-03-02 08:13:44 +00:00
Muhammad Adeel Tajamul
3723b73f1b
Merge pull request #75 from openedx/tnl-9635
...
fix: count displaying in multiple lines
2022-03-02 07:06:41 +05:00
Arunmozhi
04547ef96e
feat: adds a badge to post links showing unread comments ( #72 )
...
This adds a badge in the PostFooter component if there are new comments
in a post that is unread by the user. For eg., "3 new".
https://openedx.atlassian.net/browse/TNL-9573
2022-03-01 13:11:22 +00:00
adeel.tajamul
e4b5dead3c
fix: count displaying in multiple lines
2022-03-01 13:17:54 +05:00