Commit Graph

83 Commits

Author SHA1 Message Date
Muhammad Adeel Tajamul
7e36e9f14c fix: post loading slow (#447)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-21 15:09:44 +05:00
Muhammad Adeel Tajamul
137795f254 feat: added stats at subsection level in topics tab (#437)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-17 08:29:06 +05:00
Mehak Nasir
f8800de766 feat: added delay in post preview to avoid flashing of content 2023-02-15 17:06:48 +05:00
Mehak Nasir
4ca25c14d9 fix: restrict tiny mce from converting url 2023-02-14 17:35:37 +05:00
ayesha waris
f9ca375853 style: in-context discussions style updates (#426)
* style: change size of postactionbar in incontext discussions

* style: change postfilterbar text color and style

* style: change side bar icon sizes accoording to figma

* style: change margin for post aacording to figmaa

* style: change add a post style aaccording to figma

* refactor: remove unnecessary spaces

* refactor: use lineheight24 aand fontstyle class

---------

Co-authored-by: Mehak Nasir <67791278+mehaknasir@users.noreply.github.com>
2023-02-09 16:08:22 +05:00
ayesha waris
62ebd4450f style: post content style updates (#407)
* style: post content design updates

* fix: fixing test cases

* fix: preview p changed from capital to small and 2px focus state border

* style: comment time moved next to author name

* fix: fixed post style according to figma

* test: added test cases for hover card component

* refactor: added utility func to check if last element of list

* fix: fixed blur event for actions dropdown

* fix: review fixees

* test: fixed test cases post mathjax-v3 merge

---------

Co-authored-by: Mehak Nasir <mehaknasir94@gmail.com>
2023-01-30 17:30:12 +05:00
Mehak Nasir
2a187ca1df Mathjax v3 fix (#423)
* feat: added mathjax v3 support in platform

* fix: overwriting of comments and responses fixed
2023-01-27 16:49:38 +05:00
AsadAzam
7de274a73e Revert "feat: added mathjax v3 support in platform (#420)" (#421)
This reverts commit ad640611a1.
2023-01-26 20:27:55 +05:00
Mehak Nasir
ad640611a1 feat: added mathjax v3 support in platform (#420) 2023-01-26 17:43:07 +05:00
Mehak Nasir
42fa6a62c6 fix: changed ref to id for mathjax rendering div (#418)
fix: changed ref to id for mathjax rendering div

fix: fix lint error of unused element
2023-01-25 17:24:23 +05:00
Mehak Nasir
19e775737c fix: output format changed for mathjax script (#417) 2023-01-25 16:14:36 +05:00
Mehak Nasir
b7e5dd0e28 fix: testing mathjax issue fix with script change (#416) 2023-01-25 13:47:54 +05:00
Mehak Nasir
f33e3c3e3d fix: wrapped all content under mathjax script provider (#411)
* fix: wrapped all content under mathjax script provider

* fix: removed third party package from package json file
2023-01-24 18:44:35 +05:00
Mehak Nasir
a218c29831 style: fixes add/edit post section redesigned 2023-01-11 16:59:04 +05:00
Awais Ansari
3f890401e8 feat: implements new v3 in-context topics structure (#371) 2022-12-30 17:15:47 +05:00
Mehak Nasir
bb6e47ce70 fix: disabled relative link 2022-12-23 17:15:54 +05:00
Adolfo R. Brandes
0c71e8b5b7 feat: Support runtime configuration (second attempt)
(This reintroduces the change in 9f84230c that was later reverted by
67b0b33a.)

frontend-platform supports runtime configuration since 2.5.0 (see the PR
that introduced it[1], but it requires MFE cooperation.  This implements
just that: by avoiding making configuration values constant, it should
now be possible to change them after initialization.

Almost all changes here relate to the `LMS_BASE_URL` setting, which in
most places was treated as a constant.

[1] https://github.com/openedx/frontend-platform/pull/335
2022-12-20 17:54:21 +05:00
AsadAzam
67b0b33a81 Revert "feat: Support runtime configuration"
This reverts commit 9f84230c17.
2022-12-12 15:36:40 +05:00
Mehak Nasir
1005752bf1 fix: image paste is blocked in tinymce 2022-12-09 18:07:57 +05:00
Adolfo R. Brandes
9f84230c17 feat: Support runtime configuration
frontend-platform supports runtime configuration since 2.5.0 (see the PR
that introduced it[1], but it requires MFE cooperation.  This implements
just that: by avoiding making configuration values constant, it should
now be possible to change them after initialization.

Almost all changes here relate to the `LMS_BASE_URL` setting, which in
most places was treated as a constant.

[1] https://github.com/openedx/frontend-platform/pull/335
2022-12-09 10:39:59 +00:00
Awais Ansari
ab18806fa6 fix: minor issue after MEF rollout (#358)
* fix: update most votes filter name to most likes

* fix: add sorted word infilters description

* test: fixed post filter test case after sorted word addition
2022-11-24 16:06:08 +05:00
Mehak Nasir
c2910affcf feat: added warning for images with large dimensions 2022-11-04 15:09:36 +05:00
Muhammad Adeel Tajamul
7ced4b292c feat: added filter options for learner posts (#340)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-11-03 16:54:07 +05:00
Mehak Nasir
c5ad7cfca5 fix: more formats for mathjax support added 2022-10-31 14:43:52 +05:00
Awais Ansari
7965c3e7fc fix: add autoresize plugin in TinyMCE editor (#333)
* fix: add autoresize plugin in tinymce editor

* fix: update author label link check for annoymous
2022-10-20 17:37:37 +05:00
Mehak Nasir
969df198d5 fix: text search rewrite text added 2022-10-07 20:29:28 +05:00
Awais Ansari
11e9ebcfd0 fix: remove editor text persistence (#311)
* fix: remove editor text persistence

* fix: remove text persistence from comment/response editor

* fix: stop comment/response validation on editor cancel button
2022-10-04 18:58:50 +05:00
Mehak Nasir
4e1f3ae2f0 fix: double slash also supported now for mathjax rendering 2022-09-29 13:43:39 +05:00
Muhammad Adeel Tajamul
adcd272700 fix: added insertlink icon (#285)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-13 14:04:41 +05:00
Awais Ansari
8a73f23cb0 fix: small UI issue and post sorting (#274)
* fix: filter pinned, unpinned posts and render separately

* fix: UI updates for INF-421 and INF-417

* fix: pin icon moves to left for non privilege user

* fix: posts list accessibility issue
2022-08-31 18:29:21 +05:00
Muhammad Adeel Tajamul
3d10b6dbed fix: updated search info and no result design (#246)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-31 16:40:39 +05: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
SaadYousaf
fab9d91a0b fix: resolve issues with search functionality 2022-08-25 15:41:09 +05:00
Muhammad Adeel Tajamul
418f78cfc8 fix: updated reported icon, pointer cursor on search button and no search if empty string (#263)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-25 12:47:28 +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
Muhammad Adeel Tajamul
7ee5a8e157 fix: show searching when api call is in progress (#254)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-23 11:22:56 +05:00
Mehak Nasir
332e5f0cd5 MFE fixes (#256)
* fix: add response section closed on switching post

* fix: response and comments actions removed from close post

* fix: undo/redo button moved to first place in editor toolbar

* fix: tests are added for closed posts
2022-08-22 23:29:00 +05:00
Awais Ansari
3e0e040cb1 fix: style issues for new post and edit post form (#242)
* fix: style issues for new post and edit post form

* fix: post type cards width
2022-08-11 12:37:05 +05:00
Muhammad Adeel Tajamul
339e37302d fix: added no results bar to topics tab and search info to learners tab (#239)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-10 10:25:47 +05:00
Ahtisham Shahid
b15fd96108 feat: added image upload size limit (#233)
* feat: added image upload size limit
2022-08-05 15:06:38 +05:00
Mehak Nasir
c90e77d291 feat: nav bar added as a separate component in discussion (#222)
* feat: navbar added as a separate component

* test: added test for nav bar

* fix: navbar style and conditional rendering fix

* fix: store fix for navbar component
2022-08-04 14:11:59 +05:00
Muhammad Adeel Tajamul
76595e5508 feat: added search button in place of clear button (#221)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-07-29 09:08:01 +05:00
Awais Ansari
d71a53d9ee fix: post avatar alignment and size (#214)
* fix: post avatar alignment and size

* refactor: post header scss class
2022-07-26 17:01:48 +05:00
Muhammad Adeel Tajamul
f447be151d fix: added pushpin icon to mfe (#218)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-07-26 14:36:35 +05:00
SaadYousaf
d61045ea32 fix: add learner partial username search functionality to the new search component. 2022-07-18 15:16:14 +05:00
Awais Ansari
67b634d391 fix: Update post content UI according to Figma (#209)
* fix: Update post content UI according to Figma

* test: update post view test case
2022-07-14 11:57:39 +05:00
Muhammad Adeel Tajamul
bf953354a1 feat: update search in discussions mfe (#207)
* feat: update search in discussions mfe

* fix: updated code design

* fix: searchbar clear and code refactor

* fix: replaced existing search box

* feat: added search info bar

* fix: resolved failing topics test

* fix: resolved intl issue

* fix: resolved il8n extract check

* fix: labels moved to il8n message files

Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2022-07-07 14:31:20 +05:00
Kshitij Sobti
dbf6679c9d feat: Add support for archived topics
Topics that belong to deleted sections/subsections/units in a course are considered archived. This commit adds a new UI section for such topics and lists them there.
2022-06-29 08:41:18 +05:30
Awais Ansari
a49f71f717 fix: post editor images and preview images responsiveness (#206) 2022-06-27 15:46:32 +05:00