Maxim Beder
491f7cd92c
test: add simple test for DiscussionsHome
2021-10-26 03:25:04 +02:00
Kshitij Sobti
1c6a9b24dd
Merge pull request #25 from open-craft/felipetrz/bb-4993-add-post-pagination
...
feat: add pagination for posts [BD-38] [TNL-8810] [BB-4993]
2021-10-21 12:49:08 +05:30
Felipe Trzaskowski
3a71253e34
fix: move the loading indicator and scroll threshold inside the posts list
2021-10-19 11:03:51 -03:00
Felipe Trzaskowski
b8e3b86264
fix: posts pagination is loaded by scrolling
...
Implemented a ScrollThreshold reusable component to detect scrolling
events, which can be used in the place of a Button.
Removed the i18n entry created for the Button, which is no longer
needed.
2021-10-19 11:01:05 -03:00
Felipe Trzaskowski
1d3827ed10
feat: add posts pagination [BD-38] [TNL-8810] [BB-4993]
2021-10-19 11:01:05 -03:00
Kshitij Sobti
12500dd5e4
Merge pull request #23 from open-craft/maxim/BB-4735-add-comments-within-comments-pagination
...
feat: add pagination for responses to comments [BD-38] [TNL-8657] [BB-4735]
2021-10-19 10:02:57 +05:30
Ned Batchelder
94e2c548d7
build: use the organization commitlint check
2021-10-07 13:54:06 -04:00
Maxim Beder
93ae8bcffe
feat: add pagination to comments responses
...
This change adds pagination to comments responses.
When viewing a post with a comment or comments that has more than one
page of responses, initially users will only see the first page of the
responses under each comment, and can load more comments by clicking
"load more responses" button under already displayed responses for that
comment.
2021-10-06 18:44:17 +02:00
Kshitij Sobti
f99337080a
Merge pull request #22 from edx/kshitij/tnl-8723/questions
...
feat: add support for question type posts [BD-38] [TNL-8723] [BB-4884]
2021-10-06 14:20:10 +00:00
Kshitij Sobti
d237be78b6
feat: add support for loading endorsed and un-endorsed comments separately for question type posts
2021-10-06 18:26:06 +05:30
Kshitij Sobti
0774631091
Merge pull request #20 from open-craft/maxim/BB-4735-add-comment-pagination
...
feat: add comment pagination [BD-38] [TNL-8657] [BB-4735]
2021-09-27 07:36:56 +00:00
Maxim Beder
929c859046
feat: Add pagination to posts' comments
...
This change adds pagination to posts' comments.
When viewing a post, if there are more than one page of comments,
initially users will only see the first page of the comments, and can
load more comments by clicking "load more comments" button.
This change only affects comments to posts. For comments that are
responses to other comments the pagination has not been implemented.
2021-09-24 14:13:06 +02:00
Kshitij Sobti
451495ce6a
Merge pull request #19 from edx/kshitij/TNL-8695/reply-editor
...
feat: Add editor for replies [BD-38] [TNL-8695]
2021-09-23 04:11:07 +00:00
Kshitij Sobti
16e5901a46
feat: Add a reply editor and hook to API
...
This change uses the TinyMCE editor for editing comments and making comments and replies to existing threads.
2021-09-22 19:35:31 +05:30
Kshitij Sobti
22478806a8
Merge pull request #18 from edx/kshitij/tnl-8654/post-edit-bar
...
feat: Actions drowndown for posts and comments [BD-38] [TNL-8654]
2021-09-20 12:45:45 +00:00
Kshitij Sobti
5db87f54bb
feat: Add post actions dropdown menu
...
Adds a dropdown menu for comments and posts to perform actions like pinning, unpinning, reporting etc.
2021-09-20 14:52:19 +05:30
Kshitij Sobti
669aa22400
Merge pull request #12 from edx/kshitij/refactor-data
...
tests: Clean up and optimise redux data layer and add tests [BD-38] [TNL-8517] [BB-4643]
2021-09-15 10:40:14 +00:00
Kshitij Sobti
586cf3e581
Remove Object.assign
...
Use arrays for pages instead of a map
2021-09-14 21:51:09 +05:30
Kshitij Sobti
582a5fd3ae
refactor: update normalisation code to work in thunks instead of reducers
2021-09-14 19:22:47 +05:30
Kshitij Sobti
e4586455b7
Merge pull request #13 from edx/kshitij/bb-2900/post-editor
...
feat: Update the post editor to include TinyMCE and connect to API [BD-38] [TNL-7353] [BB-2900]
2021-09-14 13:49:32 +00:00
Kshitij Sobti
a1148867ca
feat: Update the post editor to include TinyMCE and connect to API
...
This change adds the TinyMCE editor for editing posts and connects the post editor to the API, allowing adding new posts and editing existing ones.
2021-09-14 19:16:28 +05:30
Kshitij Sobti
82d25c9ac6
Merge pull request #16 from edx/kshitij/update-structure
...
chore: update dependencies, node version and remove travis config [BD-38]
2021-09-14 12:11:35 +00:00
Kshitij Sobti
4cae34eb97
chore: update dependencies, update node version and remove travis config
2021-09-07 22:04:16 +05:30
Kshitij Sobti
a00770a2b2
Merge pull request #14 from edx/kshitij/tnl-8429/url-paths
...
Navigation paths have now been structured such that you can move between tabs and topcis without losing the current page.
2021-09-07 15:52:01 +00:00
Kshitij Sobti
3395a1b381
refactor: update navigation paths for a more consistent experience
...
Navigation paths have now been structured such that you can move between tabs and topcis without losing the current page.
2021-09-07 21:18:18 +05:30
Kshitij Sobti
bd79e6b45b
Merge pull request #11 from open-craft/kshitij/mark-as-read
...
feat: Mark posts as read after a delay of 2 seconds [BD-38] [TNL-8658] [BB-4734]
2021-09-07 15:38:30 +00:00
Kshitij Sobti
d72ba8be99
Merge pull request #15 from open-craft/tinumide/add_staff_moderator_markers
...
feat: Add staff/moderator markers [BB-4736] [TNL-7793] [BD-38]
Add text next to staff/moderator user indicating their status.
2021-09-06 11:39:59 +00:00
tinumide
9a4fe0fdb3
feat: added author label markers to UI
...
feat: added author label markers to UI
feat: added author label to message.postedOn object
feat: added author label to reply component
fix: changed bracket for author label in reply component
fix:fixed lint error
2021-09-06 10:12:24 +00:00
Kshitij Sobti
818a49fbf8
feat: Mark posts as read after a delay of 2 seconds
...
This commit adds support for automatically marking a post as read after it's been open for 2 seconds. The delay value is customisable.
2021-09-06 11:43:19 +05:30
0x29a
a380ee3b1b
feat: make UI look closer to mock-up
2021-08-27 12:20:11 +05:00
0x29a
9aa4fcf1da
fix: add dangling commas to satisfy linter
2021-08-27 12:20:11 +05:00
0x29a
68da554a72
fix: use Form.Checkbox and StatefulButton
2021-08-27 12:20:11 +05:00
Kshitij Sobti
f509b98bdf
Update to match mockups better
2021-08-27 12:20:11 +05:00
0x29a
b06832ae13
feat: add post add interface
2021-08-27 12:20:11 +05:00
João Cabrita
7138e63cf0
fix: Bring UI closer to mockups
...
This makes many tweaks to get the UI closer to
the mockup and using Paragon components as much as possible.
Related tickets:
* [TNL-8427](https://openedx.atlassian.net/browse/TNL-8427 )
* [BB-4417](https://tasks.opencraft.com/browse/BB-4417 )
2021-08-10 15:00:58 +05:00
AsadAzam
80ad9f1dc2
Merge pull request #9 from open-craft/joaocabrita/bb4418-search_posts
...
[BD-38][TNL-8428] feat: Implement post search.
2021-08-02 11:33:53 +05:00
João Cabrita
c4244cf95a
feat: Implement post search.
...
Related tickets:
* [TNL-8428](https://openedx.atlassian.net/browse/TNL-8428 )
* [BB-4418 (OpenCraft Internal)](https://tasks.opencraft.com/browse/BB-4418 )
2021-07-18 15:04:41 +01:00
Mehak Nasir
812248f8c8
Merge pull request #8 from open-craft/kshitij/ui
...
feat: Add topic listing views, post listing view, comment views etc. [BD-38] [TNL-7413] [BB-2856]
2021-07-13 17:46:59 +05:00
Patrick Cockwell
93d10f9280
feat: Add major UI components and functionality
...
This adds a major chunk of UI code to the application covering topic listing,
topic filtering, subtopic browsing, browsing posts by topic, filtering unread
posts, filtering followed posts, sorting posts by recent activity, most activty
and most votes, liking/unliking a post, following/unfollowing a post, listing
comments and replis in a post.
Co-authored-by: Kshitij Sobti <kshitij@sobti.in >
2021-07-12 11:02:48 +05:30
Kshitij Sobti
322c6ed69c
Merge pull request #3 from open-craft/kshitij/data-api
...
[BD-03] [TNL-7414] Discussion APIs redux integration etc.
2020-11-06 09:19:37 +00:00
Kshitij Sobti
27b5f48907
Add code for interacting with Discussions API
...
This commit adds code for interacting with the Discussions API, along with the
associated reducers, thunks, selectors etc.
2020-11-05 15:50:38 +05:30
Kshitij Sobti
b90e4f757d
Merge pull request #1 from open-craft/kshitij/forum-mfe-skeleton
...
[BD-03] [TNL-7352] Initial forum structure
2020-10-23 12:05:18 +00:00
Kshitij Sobti
491f7b7acd
Basic discussions forum framework
...
Adds the basic structure for the Discussions MFE around which future development
will happen.
2020-10-21 23:59:23 +05:30
Kshitij Sobti
56d68e76ad
Initial template setup
2020-09-07 14:44:02 +05:30
tnamgyal
15328a8cf7
Initial commit
2020-08-11 19:04:16 -04:00