Commit Graph

16 Commits

Author SHA1 Message Date
adeel.tajamul
3719e08321 fix: post summary size fix 2022-04-29 16:54:02 +05:00
adeel.tajamul
7e5ae2a298 fix: hyperlinks opening in current tab 2022-04-20 15:15:52 +05:00
Hamza Khchine
3269a61dc4 fix: [BD-38] [TNL-5596][BB-5596] fix TinyMCE padding [BD-38] (#73) 2022-03-18 21:30:18 +05:30
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
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
d02a5ef6a6 Revert "feat: integrate feeder package" 2022-02-07 15:06:11 +05:00
Awais Ansari
880c061e9f feat: integrate feeder package 2022-02-03 23:08:24 +05:00
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
Felipe Trzaskowski
2138c12eb4 fix: remove the "powered by tiny" text
fix: skin loading with transparent background

For some reason, loading the skin from `skin.min.css` was resulting in
dialogs and menus appearing with a transparent background. Replacing the
import for the non-minified version, `skin.css`, solves the problem.

feat: enable native browser spellchecking

Disabling the TinyMCE context menu is required for the native
spellchecking right click suggestions to work.

feat: enable autosave plugin

Autosaves to local storage every second.
Restores draft when empty.

feat: add new toolbar buttons

Additional toolbar buttons requested: quoting, code formatting, HTML button with text
label, clear formatting, undo/redo

feat: add image button to the toolbar, and load the imagetools plugin

The imagetools only work on images loaded from the same domain.

feat: add image upload capability

Depends on an upload endpoint in the REST API.

feat: enable a11y_advanced_options

This will only affect the image plugin.
For full a11y checking functionality, a premium TinyMCE key is required.

fix: TinyMCE content styles not being properly loaded

Content CSS need to be loaded as raw text, to be included in the TinyMCE
initialization. For this, we need webpack's `raw-loader` as a dependency.

fix: refactor the upload API call into posts/data/api

feat: pass courseId and threadId to the upload API endpoint

fix: rename customized buttons with openedx prefix

fix: use exact version for dependencies

fix: improve jsdoc and update the upload endpoint

fix: simplify TinyMCE side of the upload call

fix: update the upload url
2021-10-29 17:15:27 -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
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
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
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
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