Commit Graph

447 Commits

Author SHA1 Message Date
alipov_d
2563209ae3 fix: 400 error editing posts and comment
This is a backport from the master
2023-06-07 13:44:57 +02:00
Sagirov Eugeniy
0f7921ad1e chore: update frontend-platform version to v4.2.0 open-release/olive.4 2023-05-09 18:34:53 -03:00
AsadAzam
8a6d067481 Merge pull request #455 from raccoongang/olive/fix-post-sharing-link
fix: post sharing URL
open-release/olive.3
2023-03-28 15:58:09 +05:00
Eugene Dyudyunov
947dd1f1a6 fix: my posts tab search (#467)
This is a backport from the master branch:
https://github.com/openedx/frontend-app-discussions/pull/419
2023-03-15 00:50:02 +05:00
AsadAzam
e158964c41 Merge pull request #449 from raccoongang/lunyachek/fix/discussion-code-block-formatting-olive
fix: Fix for code block formatting on the post preview and published post view
2023-03-10 21:07:19 +05:00
Eugene Dyudyunov
7dfbd44552 fix: post sharing URL
When MFE uses path-based deployment (common domain for all MFEs
divided by path) - the copied link leads to 404 error.

The fix:
- construct a Post URL using MFE's `PUBLIC_PATH` env var
- works for both subdomain and subdirectory-based deployments

Note:

LMS recently started to use the discussions sidebar which has the same
button "Copy Link", but it uses its own env variable
`DISCUSSIONS_MFE_BASE_URL`
2023-02-24 16:52:10 +02:00
lunyachek
d9e60ddd92 fix: Fix for code block formatting on the post preview and published post view 2023-02-21 17:43:03 +02:00
Adolfo R. Brandes
8d35a729d2 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

This is a backport to Olive of
https://github.com/openedx/frontend-app-discussions/pull/377
open-release/olive.1 open-release/olive.2
2022-12-09 10:40:46 +00:00
Mehak Nasir
e89792b8d8 fix: handled thread not found result on frontend 2022-12-08 10:44:41 +00:00
Adolfo R. Brandes
5c3d561152 docs: Include in Open edX release
Commit to including the MFE in Open edX releases going forward.
2022-11-28 13:39:19 +00:00
Adolfo R. Brandes
e16dc59955 fix: Work around Truncate infinite loop
This works around [a known issue](https://github.com/openedx/paragon/issues/1797)
with `Truncate` that in some situations can lead to an infinite loop and
subsequent page hang.
2022-11-28 12:44:46 +00:00
Awais Ansari
fc95d16536 fix: selectTopicsById selector was returning array of undefine (#356) 2022-11-28 17:28:05 +05:00
ayesha waris
9ce791d1d5 Merge pull request #362 from openedx/INF-578
fix: long post titles does not  shift menu position.
2022-11-28 17:07:38 +05:00
ayeshoali
5e12d872b8 fix: long post titles does not shift menu position. 2022-11-28 15:38:52 +05:00
Jenkins
1a9899c696 chore(i18n): update translations 2022-11-27 15:26:36 -05: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
Awais Ansari
459511281d fix: count_flagged param sent only for Privilege users (#359) 2022-11-24 16:05:06 +05:00
Mehak Nasir
d58b104027 style: fixed text truncate for title 2022-11-21 16:19:20 +05:00
ayesha waris
990072e80f Merge pull request #346 from openedx/INF-626
fix: Icons for responses to endorse and mark as answered added
2022-11-21 13:43:49 +05:00
ayeshoali
b92e10e8ae fix: endorse icons colors changed to respective background 2022-11-21 12:42:53 +05:00
ayeshoali
1aadbd9c4f style: icons for responses to endorse and mark as answered added 2022-11-21 12:42:53 +05:00
Jenkins
e2619ef68c chore(i18n): update translations 2022-11-20 15:26:36 -05:00
Awais Ansari
9350922200 fix: incontext modal alignment changes (#353) 2022-11-18 16:21:43 +05:00
Awais Ansari
1c5b0ac581 fix: in-context discussion rendering in sidebar (#351)
* fix: in-context discussion rendering in sidebar

* test: fix the failed test case for post editor
2022-11-17 19:47:20 +05:00
Mehak Nasir
b4da5d35af style: design changes for post summary card 2022-11-17 18:50:08 +05:00
Awais Ansari
1886b22cb3 feat: implement user interactive posts API for my-post tab (#314)
* fix: implement user interactive posts API for my-post tab

* feat: update my-post tab filter and sort according to backend

* refactor: learner posts filter API call

* test: fix post view failed test cases
2022-11-17 18:27:53 +05:00
ayesha waris
db928965e9 Merge pull request #350 from openedx/INF-622
fix: active discussion blackout dates does not load add a post button
2022-11-17 16:53:06 +05:00
ayeshoali
cff01eb9d1 fix: with active discussion blackout dates does not load add a post button 2022-11-17 14:56:43 +05:00
ayesha waris
72df5ecb23 Merge pull request #348 from openedx/revert-341-INF-528
Closing because the original UX change is no more needed hence this fix in design in not needed anymore
2022-11-15 18:04:59 +05:00
ayeshoali
32593f6736 fix: removed extra space besides authorlabel 2022-11-14 18:17:33 +05:00
ayesha waris
f686fb40a1 Revert "Topic information moved next to username" 2022-11-14 18:11:31 +05:00
ayesha waris
257e249532 Merge pull request #341 from openedx/INF-528
Topic information moved next to username
2022-11-14 17:43:41 +05:00
ayeshoali
87209ab169 style: truncation added for long topic namesd 2022-11-14 17:38:53 +05:00
ayeshoali
41f9e5b30a style: Topic info moved next to username 2022-11-14 17:38:53 +05:00
Jenkins
32dc8671b2 chore(i18n): update translations 2022-11-13 15:26:35 -05:00
Mehak Nasir
dfd880d4b3 feat: add unresponded posts filter 2022-11-11 15:05:34 +05:00
Mehak Nasir
6d87bf879d fix: unnamed category and subcatefory strings added 2022-11-11 14:55:44 +05:00
Muhammad Adeel Tajamul
c68ed35c59 feat: added recent sort in learners area (#344)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-11-08 14:07:55 +05:00
Jenkins
4df4aec33a chore(i18n): update translations 2022-11-06 15:26:42 -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
ayesha waris
12dd08d97f Merge pull request #337 from openedx/INF-646
fix: removed highlighted header-action-bar on confirmation pop-up
2022-11-01 18:39:58 +05:00
ayesha waris
deea2aab8e Merge pull request #329 from openedx/INF-372
fix: no responses text does not show while api call in progress
2022-11-01 17:52:11 +05:00
ayeshoali
2203f43052 fix: removed highlighted header-action-bar on confirmation pop-up 2022-11-01 17:51:25 +05:00
ayeshoali
4fa20388dd refactor: removed function responsestext 2022-11-01 17:46:25 +05:00
ayeshoali
0bdd1001a5 refactor: removed redundancy of responses text div using function 2022-11-01 17:46:25 +05:00
ayeshoali
b01272a5ca fix: loading more button does not create glitch in response text 2022-11-01 17:46:25 +05:00
ayeshoali
3ec0b82dce refactor: fixed Lint tests 2022-11-01 17:46:25 +05:00
ayeshoali
375af11a7f fix: no respnses text does not show while api call to load responses is in progress 2022-11-01 17:46:25 +05:00
Mehak Nasir
c5ad7cfca5 fix: more formats for mathjax support added 2022-10-31 14:43:52 +05:00