Commit Graph

45 Commits

Author SHA1 Message Date
Sarina Canelake
b49c5d64b9 fix: fix github url strings (org edx -> openedx) 2022-09-07 09:19:07 -04:00
Saad Yousaf
799895512c Revert "Revert "fix: fix discussions MFE Header to LearningHeader""
This reverts commit d1dcf20312.
2022-08-26 18:37:32 +05:00
Saad Yousaf
d1dcf20312 Revert "fix: fix discussions MFE Header to LearningHeader"
This reverts commit 5d72cc563e.
2022-08-23 17:02:14 +05:00
SaadYousaf
5d72cc563e fix: fix discussions MFE Header to LearningHeader 2022-08-23 16:25:29 +05:00
SaadYousaf
5f29bffea7 feat: add header footer for discussion MFE behind inIframe query_param 2022-08-04 15:19:20 +05:00
SaadYousaf
97b92a1762 feat: add transifex configuration to allow translation jobs. 2022-07-29 15:01:55 +05:00
Mehak Nasir
b0249539d8 chore: update dep frontend-build 2022-06-17 16:43:03 +05:00
Mehak Nasir
c352030fad chore: upgraded frontend build version 2022-06-13 21:29:20 +05:00
Mehak Nasir
245f8a0f3d fix: browser support config updated 2022-06-04 01:48:35 +05:00
Mehak Nasir
2ea48f6825 Revert build fail (#179)
* fix: dropped support for better-react-mathjax as it is causing build issues

* fix: mathjax package reverted to avoid build issue
2022-06-01 12:29:18 +05:00
Mehak Nasir
8fd3ac7bd9 mathjax syntax support (#175)
* fix: mathjax syntax support extended

* fix: adding mathjax support
2022-05-30 17:02:11 +05:00
Mehak Nasir
5de4b440be Revert "fix: mathjax syntax support extended" (#171)
This reverts commit 2355c2fc37.
2022-05-27 15:10:58 +05:00
Mehak Nasir
2355c2fc37 fix: mathjax syntax support extended 2022-05-27 11:23:22 +05:00
Mehak Nasir
a52c370b92 revert: reverting wiris integration (#157) 2022-05-16 23:28:37 +05:00
Mehak Nasir
fd984c6ed6 [INF154, 203]: tinyplugins support for mathjax and preview issues (#156)
* feat: mathjax support issues

fix: preview package removed

* fix: preview issue fixed with npm pac

* fix: unused plugin removed

* fix: package-lock fix

* fix: import fix

* test: increased timeout limit for testcases

* style: fix sidebar summary card heigh issue

* fix: fixed npm package version

* fix: fixed npm package version
2022-05-12 13:09:09 +05:00
Mohammad Ahtasham ul Hassan
dbade5dbd1 fix: update deps 2022-04-18 19:50:34 +05:00
Mehak Nasir
c0f675f41a revert: node 16 upgrade is reverted (#132)
* revert: node 16 upgrade is reverted

* revert: reverted frontend build version to 9.1.2

* revert: browsers list

Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2022-04-15 23:33:29 +05:00
Mehak Nasir
7f49543c37 Revert "fix: frontend build test fix for stage" (#138)
This reverts commit e426892bb2.
2022-04-15 22:52:20 +05:00
Mehak Nasir
e426892bb2 fix: frontend build test fix for stage 2022-04-13 15:25:07 +05:00
Mehak Nasir
80c3fee3da fix: version change test fix 2022-04-13 14:16:33 +05:00
Adam Stankiewicz
43c03ca2c0 build: use shared browserslist config 2022-04-13 14:16:33 +05:00
Awais Ansari
6bd1561bcb chore: upgrade frontend-build version to 9.1.4 (#124) 2022-04-12 19:03:34 +05:00
Awais Ansari
8fc067e64f chore: add @edx/frontend-build in project dependency (#122) 2022-04-12 02:54:09 +05:00
Kshitij Sobti
c4c001ac95 fix: update icons to match mockups better (#94)
Temporary icons were in use while certain icons were unavailable in Paragon. They have now been updated to use more appropriate icons.
2022-03-28 08:58:55 +00:00
Jawayria
bf1cc6120d feat: Added support for Node 16 2022-03-17 21:41:37 +05:00
Mehak Nasir
78938913c0 chore: update paragon version to 19.6.0 2022-03-09 19:02:15 +05:00
Awais Ansari
5964b15fb9 chore: remove edx header and footer dependency (#59) 2022-02-08 19:13:52 +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
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
b07b4043b0 test: tests 2021-12-06 15:45:14 +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
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
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
Kshitij Sobti
c8c3bb925c feat: Improve UX to match new mockups
Uses new API features for preview, deleting, pinning, and closing. Refactors and improves styling to match new mockups.
Adds the new post filter bar element.
2021-10-28 16:43:28 +05:30
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
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
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
4cae34eb97 chore: update dependencies, update node version and remove travis config 2021-09-07 22:04:16 +05:30
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
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
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
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