Commit Graph

82 Commits

Author SHA1 Message Date
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
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
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
06c9d967dd fix: display non-breaking space entity properly in post summary 2022-02-24 13:05:24 +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
d02a5ef6a6 Revert "feat: integrate feeder package" 2022-02-07 15:06:11 +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
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
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
Kshitij Sobti
ea1031e2bf Merge pull request #43 from edx/kshitij/fix-topic-search
fix: starting a search redirects you to the all posts page [BD-38] [TNL-9336]
2021-12-28 11:04:05 +00:00
Kshitij Sobti
f31d61b55e Merge pull request #42 from edx/kshitij/fix-thread-counts
fix: topic counts were not included in normalised data [BD-38] [TNL-9403]
2021-12-28 11:03:34 +00:00
Kshitij Sobti
9c7be068ac fix: topic counts were not included in normalised data. 2021-12-10 00:33:05 +05:30
Kshitij Sobti
a6f7187893 fix: starting a search redirects you to the all posts page 2021-12-10 00:23:10 +05:30
Kshitij Sobti
4763702bd3 fix: fix autosaving 2021-12-09 11:27:41 +05:30
Kshitij Sobti
b07b4043b0 test: tests 2021-12-06 15:45:14 +05:30
Kshitij Sobti
ceea220d62 feat: Fully implements support for cohorts
Uses the discussions settings API to fetch course division configuration and makes the cohort selection dynamic based on if a topic is divided.
2021-12-06 11:15:01 +05:30
Kshitij Sobti
e7a0eba5ef feat: Make UI more responsive to smaller screens and embeds
Updates the UX so that on a smaller screen eitherthe topic/post sidebar is displayed or the post view to give each more space.

Also adds support for an in-context view where the header and navigation is replaced with a sidebar-specific header.
2021-11-25 12:38:11 +05:30
Kshitij Sobti
c9cb8dd0e7 feat: Add new breadcrumb navigation
Adds the new breadcrumb dropdown-based navigation UI. This allows browsing the category and topic structure using dropdowns.
2021-11-23 14:43:53 +05:30
Kshitij Sobti
7f26f3a6ca feat: Add topic link to discussion post
Refactors the topics code and adds the topic relation box to posts.
2021-11-17 09:11:10 +05:30
Kshitij Sobti
18d19369a9 feat: add support for anonymous posting
Hooks up the configuration API to allow posting threads anonymously.
2021-11-16 10:54:48 +05:30
Kshitij Sobti
6bd7ce929d Merge pull request #33 from edx/kshitij/post-ui-updates
feat: Show cohort info in posts [BD-38] [TNL-8694]
2021-11-09 13:58:29 +00:00
Kshitij Sobti
8b188e05b0 Merge pull request #31 from open-craft/maxim/bb-4842-add-tests-topics-view
test: add tests for TopicsView component [BD-38] [TNL-8696] [BB-4842]
2021-11-08 06:21:43 +00:00
Awais Jibran
681bc4de67 Merge pull request #27 from open-craft/felipetrz/bb-4961-tiny-mce-improvements
feat: TinyMCE improvements [BD-38] [TNL-8779] [BB-4961]
2021-11-04 09:47:10 +05:00
Maxim Beder
fc2c528bf7 test: add tests for TopicsView component 2021-11-02 16:38:48 +01:00
Kshitij Sobti
5564ef7549 Merge pull request #30 from open-craft/maxim/bb-4842-add-tests-dicussions-home
test: add simple test for DiscussionsHome [BD-38] [TNL-8696] [BB-4842]
2021-11-02 11:53:02 +00:00
Kshitij Sobti
c1f9b45c6f Merge pull request #26 from open-craft/maxim/bb-4926-add-cohort-selection
feat: add cohort selection [BD-38] [TNL-8713] [BB-4926]
2021-11-02 06:38:33 +00:00