Commit Graph

125 Commits

Author SHA1 Message Date
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
Ahtisham Shahid
0a66e60f37 chore: regenrated package-lock to fix gocd pipeline (#52) 2022-01-27 23:49:16 +05:00
Ahtisham Shahid
a82427d0bc chore: updated frontend-build package to fix gocd build (#51)
* chore: updated frontend-build package to fix gocd build
2022-01-27 17:54:54 +05:00
Kshitij Sobti
9ba94966f1 feat: delete confirmation dialogs [BD-38] [TNL-9351] (#49)
Adds delete confirmation dialogs for posts, comments and replies.
2022-01-27 07:18:43 +00:00
Kaustav Banerjee
f210379a39 fix: selecting different post does not clear comments list (#45) 2022-01-11 05:52:37 +00:00
Kshitij Sobti
55c37db023 fix: remove discussions from the base path [BD-38] [TNL-9347] (#47)
* fix: remove discussions from the base path

Remove the discussions prefix from the base path to avoid potential repeat of that
word the path when deployed.
2022-01-07 04:54:36 +00:00
Felipe Trzaskowski
e4b34c2150 fix: Sort and deduplicate comments when loading the next page [BD-38] [TNL-8657] [BB-5007] (#44)
fix: Sort and deduplicate comments when loading the next page

This fixes the issue with loading the next page of older comments after
posting a new one, which only appended comments to the end, leaving the
newer one behind.

Deduplicating also fixes the related issue, when the new comment would
repeat after paginating to its correct position.
2021-12-30 12:08:07 +00:00
Kshitij Sobti
df455b992e Merge pull request #41 from edx/kshitij/fix-redirects
fix: fixes issues with redirects [BD-38] [TNL-9387]
2021-12-28 11:12:43 +00:00
Kshitij Sobti
2ed5aee9e7 fix: fixes issues with redirects
Currently redirecting doesn't preserve query parameters. This change fixes this and fixes all usages of history.push
2021-12-28 16:37:15 +05:30