Commit Graph

142 Commits

Author SHA1 Message Date
Muhammad Adeel Tajamul
4fa31fedbb Merge pull request #150 from openedx/inf-132
fix: post summary size fix
2022-04-29 17:31:13 +05:00
adeel.tajamul
3719e08321 fix: post summary size fix 2022-04-29 16:54:02 +05:00
adeel.tajamul
786c278a2d fix: loading symbol remains after successful 2022-04-28 15:22:14 +05:00
Abdurrahman Asad
e247bf859a fix: reported filter is missing for discussion moderator roles (#148)
fix: reported filter is missing for discussion moderator roles
2022-04-27 16:40:44 +05:00
Awais Ansari
3be40852eb fix: make the post, comment, response content images responsive (#147) 2022-04-25 15:12:51 +05:00
Awais Ansari
847a3b25ec fix: display comment actions alert in single row (#146) 2022-04-25 12:35:31 +05:00
Abdurrahman Asad
e2407e53e3 fix: related to field not shown on posts (#145) 2022-04-22 21:00:40 +05:00
Muhammad Adeel Tajamul
a550cfd30b Merge pull request #144 from openedx/inf-158
fix: post summary pinned bar
2022-04-22 15:42:56 +05:00
adeel.tajamul
4b7145dccd fix: post summary pinned bar 2022-04-22 08:46:44 +05:00
Awais Ansari
11f98d32a1 refactor: structure the edit reason code condition 2022-04-21 23:53:56 +05:00
Awais Ansari
bea2390b4d fix: add validation for edit reason code dropdown 2022-04-21 23:26:14 +05:00
Awais Ansari
a77b947e8a fix: hide edit reason dropdown while adding a comment or response (#142)
* fix: hide edit reason dropdown while adding a comment or response
2022-04-21 22:05:21 +05:00
Kshitij Sobti
dfec88de20 fix: improve UX to match mockups better
- Move the learner header to the home page so it can use full width.
- Remove the menu icon from learner page till there is a menu in place
- Improve styling of header bar and sidebar
2022-04-20 18:04:01 +05:30
Kshitij Sobti
c57dfc1fc5 fix: Fix constant reloading on topics page and posts links on category page [BD-38] [TNL-9868] [TNL-9846] (#128)
This fixes two issues. The first is that the topics page can cause constant requests to threads, and the second, that clicking on a post link when browsing a category can cause the application to crash.
2022-04-20 12:26:03 +00:00
Muhammad Adeel Tajamul
d1dce4f2ea Merge pull request #141 from openedx/inf-41
fix: hyperlinks opening in current tab
2022-04-20 16:58:48 +05:00
Kshitij Sobti
e8a3e4eaa8 feat: add support for pagination on learner page [BD-38] [TNL-9844] (#129)
Adds support for pagination on the learners page, including the learners list, the post, comments and responses lists.
2022-04-20 11:10:27 +00:00
adeel.tajamul
7e5ae2a298 fix: hyperlinks opening in current tab 2022-04-20 15:15:52 +05:00
Kshitij Sobti
36ff2fad27 fix: scroll the post close dialog into view when it appears (#119) 2022-04-19 06:33:57 +00:00
Muhammad Adeel Tajamul
d9f085279e Merge pull request #130 from openedx/tnl-9851
fix: updated post summary design
2022-04-18 15:15:36 +05:00
adeel.tajamul
59f97fff7d fix: updated post summary design 2022-04-15 14:57:42 +05:00
Mehak Nasir
86f7a07ded feat: allow anonymous post support is removed from add post section 2022-04-14 13:06:17 +05:00
Mehak Nasir
4be926d788 style: content sections background color changed 2022-04-14 12:49:25 +05:00
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