Commit Graph

133 Commits

Author SHA1 Message Date
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
Muhammad Adeel Tajamul
1d854b45b2 Merge pull request #92 from openedx/tnl-9681
fix: posts not loading when scrolled to bottom
2022-03-10 13:33:05 +05: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
Mehak Nasir
78938913c0 chore: update paragon version to 19.6.0 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
Muhammad Adeel Tajamul
7fd95a377d Merge pull request #80 from openedx/tnl-9628
fix: post summaries disappear upon scroll to the bottom
2022-03-07 10:07:45 +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
Mehak Nasir
1537653c4b style: small class added to fix UI zoomed in behavior 2022-03-01 20:57:48 +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
Muhammad Adeel Tajamul
4f0956ec63 Merge pull request #71 from openedx/tnl-9572
[TNL-9572] Removed legacy indicator for unread post
2022-02-25 10:23:10 +05:00
Sarina Canelake
0036521c33 Merge DEPR automation workflow
Add DEPR workflow automation
2022-02-24 15:22:54 -05:00
adeel.tajamul
ab601d3abb fix: removed legacy indicator of unread post 2022-02-24 16:54:46 +05:00
Muhammad Adeel Tajamul
b56c420a7e Merge pull request #67 from openedx/tnl-9570
[TNL-9570] Message icon showing in the absense of comments or responses on the post.
2022-02-24 16:05:10 +05:00
adeel.tajamul
d996914009 fix: added check to display message icon 2022-02-24 14:56:42 +05:00
Abdurrahman Asad
ffcc255c8d Merge pull request #68 from openedx/aasad/TNL-9568
fix: display non-breaking space entity properly in post summary
2022-02-24 14:33:42 +05:00
Abdurrahman Asad
06c9d967dd fix: display non-breaking space entity properly in post summary 2022-02-24 13:05:24 +05:00
Sarina Canelake
35feb686b1 build: add DEPR workflow automation 2022-02-23 14:40:26 -05:00
Kshitij Sobti
44e6d716f0 feat: independent scrolling for posts list and posts (#64)
Adds independent scrolling for left and right panels.
2022-02-23 12:36:53 +00:00
Kshitij Sobti
df7457a5b5 fix: when making a comment on a response that doesn't have responses (#63)
Fixes a bug that wouldn't update the UI when making a comment on a response that doesn't have responses.
2022-02-23 12:36:32 +00:00
Keith Grootboom
789d468440 fix: Like count should not display is zero (#62)
When there are no likes just show the empty like icon.
2022-02-22 11:56:44 +00:00
Awais Ansari
bc610e579c Revert "feat: integrate feedback google form (#60)" (#61)
This reverts commit 54f02377f0.
2022-02-15 16:21:25 +05:00
Awais Ansari
54f02377f0 feat: integrate feedback google form (#60)
* feat: integrate google feedback form

* test: fix discussion home fail test cases
2022-02-11 12:40:37 +05:00
Awais Ansari
5964b15fb9 chore: remove edx header and footer dependency (#59) 2022-02-08 19:13:52 +05:00
Awais Ansari
bf46e5665b fix: remove app header and footer (#58)
* fix: remove app header and footer

* test: fix fail test cases after removing header and footer
2022-02-08 15:58:31 +05:00
Awais Ansari
9105bf8df3 Merge pull request #57 from openedx/revert-55-aansari/TNL-9509
Revert "feat: integrate feeder package"
2022-02-08 13:09:39 +05:00
Awais Ansari
d02a5ef6a6 Revert "feat: integrate feeder package" 2022-02-07 15:06:11 +05:00
Awais Ansari
c462119ff6 Merge pull request #55 from openedx/aansari/TNL-9509
feat: integrate feeder package
2022-02-04 19:10:02 +05:00
Awais Ansari
c0f2e305c2 test: add postActionsBar test cases 2022-02-04 18:23:47 +05:00
Awais Ansari
a1b8c69dd6 refactor: remove FEEDER_PROJECT_ID key from env 2022-02-04 14:21:25 +05:00
Awais Ansari
bd4ecfdb5b test: fix discussions home fail test cases 2022-02-04 01:51:02 +05:00
Awais Ansari
880c061e9f feat: integrate feeder package 2022-02-03 23:08:24 +05:00