ayesha waris
e845804cce
fix: fixed redirection to learners tab in inContext view ( #659 )
...
* fix: redirection to learners tab in inContext view
* fix: changed username to simple text for incontext view
* test: username is not clickable in incontext view
---------
Co-authored-by: sohailfatima <23100065@lums.edu.pk >
Co-authored-by: Fatima Sohail <68312464+sohailfatima@users.noreply.github.com >
Co-authored-by: Awais Ansari <79941147+awais-ansari@users.noreply.github.com >
2024-01-31 18:18:54 +05:00
ayesha waris
f69b2c118f
chore: removed eslint-disable statements ( #658 )
...
* chore: removed eslint-disable statements
* refactor: removed unnecessary files and unintentional eslint-disable statements
* refactor: removed eslint import/no-cycle error
* fix: failing testcase
* style: removed comments
* fix: failing testcase
---------
Co-authored-by: sohailfatima <23100065@lums.edu.pk >
Co-authored-by: Fatima Sohail <68312464+sohailfatima@users.noreply.github.com >
2024-01-31 16:54:03 +05:00
sundasnoreen12
5df51f2389
fix: fixed hover color issue throughout MFE ( #644 )
...
* fix: fixed hover color issue throughout MFE
* fix: added border around add comment button
* fix: removed add button radius
2024-01-16 12:12:02 +05:00
ayesha waris
ee61d1c95d
chore: removed enable_learners_tab_in_discussions_mfe flag dependency ( #637 )
2024-01-05 17:38:34 +05:00
vladislavkeblysh
6ae5130c14
feat: fixed page styles ( #577 )
2023-12-18 16:26:38 +05:00
Syed Ali Abbas Zaidi
b35632df64
feat: upgrade react router to v6 ( #542 )
...
* feat: upgrade react router to v6
* fix: routing issues
* fix: category route should redirect to all posts
* fix: path error on routes
2023-12-07 18:10:48 +05:00
Ahtisham Shahid
c6d953fe7b
feat: removed enable_moderation_reason_codes flag ( #615 )
...
* chore: removed deprecated flag
fix: resolved linter error
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
fix: changed workflow
* test: fixed postEditor test case
---------
Co-authored-by: Awais Ansari <awais.ansari63@gmail.com >
2023-12-03 22:49:08 +05:00
Ihor Romaniuk
4994de9615
fix: unify font-family with paragon component styles ( #598 )
2023-11-08 16:43:18 +05:00
Emad Rad
5db3a18cb7
fix: Persian language ( #555 )
...
* fix: corrected typos
comfirm -> confirm
varaint -> variant
Privilaged -> Privileged
courseare, coursweare -> courseware
Discssion -> Discussion
dimentions -> dimensions
* refactor: clean up language codes
2023-10-24 14:29:09 +05:00
ayesha waris
99ad3aff53
test: fixed postcommentsview test cases ( #543 )
...
* test: fixed postcommentsview test cases
* test: fixed hovercard failed tests
2023-06-21 18:21:11 +05:00
ayesha waris
8c53a7a19e
feat: integrated backend discussions restriction with MFE ( #529 )
...
* feat: integrated backend discussions restriction with MFE
* test: fixes failed test cases
* refactor: fixed lint issues
---------
Co-authored-by: ayesha waris <73840786+ayeshoali@users.noreply.github.com >
Co-authored-by: SundasNoreen <sundas.noreen@arbisoft.com >
2023-06-06 14:18:53 +05:00
Bilal Qamar
70f6541585
build: edx namespace packages upgrade & resolved respective eslint issue ( #508 )
...
* refactor: updated frontend-build, frontend-platform, header & footer packages
* fix: resolved eslint issues post frontend-build upgrade
* refactor: resolved eslint issues
* refactor: pinned frontend-build & changed suggested function definitions
2023-05-24 11:55:28 +05:00
ayesha waris
7aaa1fbd93
test: fixed test cases after MFE optimization ( #522 )
...
* test: fixed test cases after optimization
* test: fixed HoverCard and PostCommentsView failed test cases
* test: fixed PostCommentsView failed test cases
* test: remove spinner wait from PostCommentsView test case
* test: add await in PostCommentsView test cases
* refactor: updated variable name in HoverCard test cases
---------
Co-authored-by: ayesha waris <73840786+ayeshoali@users.noreply.github.com >
Co-authored-by: Awais Ansari <awais.ansari63@gmail.com >
2023-05-22 16:02:09 +05:00
Awais Ansari
4f0b5f9c3d
test: fixed test cases after MFE optimization ( #521 )
...
* test: fixed ActionDropDown test cases
* test: fixed AlertBanner and EndorsedAlertBanner test cases
* test: fixed LearnerFooter test cases
* test: fixed LearnersView failed test cases
* test: fixed PostFooter failed test cases
* test: fixed PostLink failed test cases
* test: fixed LearnerPostsView failed test cases
* test: fixed console error and warnings in PostEditor
* test: fixed Post anonymously test condition
2023-05-16 14:45:40 +05:00
Awais Ansari
0844ee6875
Perf: improved discussions MFE's components re-rendering and loading time ( #513 )
...
* chore: configure WDYR for react profiling
* perf: reduced post content re-rendering
* perf: post content view and it child optimization
* perf: add memoization in post editor
* perf: add memoization in postCommnetsView
* perf: improved endorsed comment view rendering
* perf: improved re-rendering in reply component
* fix: uncomment questionType commentsView
* fix: removed console errors in postContent area
* perf: reduced postType and postId dependancy
* perf: improved re-rendering in discussionHome
* perf: improved re-rendering of postsList and its child components
* perf: improved re-rendering of legacyTopic and learner sidebar
* fix: postFilterBar filter was not updating
* fix: resolve duplicate comment posts issue
* fix: memory leaking issue in comments view
* fix: duplicate topic posts in inContext sidebar
* perf: add lazy loading
* chore: remove WDYR configuration
* fix: alert banner padding
* chore: update package-lock file
* fix: bind tour API call with buttons
2023-05-08 16:21:29 +05:00
Awais Ansari
7b7c249abd
Revert "Perf: improved discussions MFE's components re-rendering and loading time ( #485 )" ( #512 )
...
This reverts commit 59b4366edd .
2023-05-08 15:34:43 +05:00
Awais Ansari
59b4366edd
Perf: improved discussions MFE's components re-rendering and loading time ( #485 )
...
* chore: configure WDYR for react profiling
* perf: reduced post content re-rendering
* perf: post content view and it child optimization
* perf: add memoization in post editor
* perf: add memoization in postCommnetsView
* perf: improved endorsed comment view rendering
* perf: improved re-rendering in reply component
* fix: uncomment questionType commentsView
* fix: removed console errors in postContent area
* perf: reduced postType and postId dependancy
* perf: improved re-rendering in discussionHome
* perf: improved re-rendering of postsList and its child components
* perf: improved re-rendering of legacyTopic and learner sidebar
* fix: postFilterBar filter was not updating
* fix: resolve duplicate comment posts issue
* fix: memory leaking issue in comments view
* fix: duplicate topic posts in inContext sidebar
* perf: add lazy loading
* chore: remove WDYR configuration
* fix: alert banner padding
* chore: update package-lock file
2023-05-08 15:14:53 +05:00
sundasnoreen12
f1a9922d29
fix: added role for editedby and closedby user ( #498 )
...
* fix: changed the title of new edx provider
* fix: added role for editedby and closedby user
* refactor: added left margin for endorsed time
* refactor: added AlertBar component to avoid duplicate code
---------
Co-authored-by: sundasnoreen12 <sundasnoreen12@ggmail.com >
2023-04-19 15:58:10 +05:00
Muhammad Adeel Tajamul
f13b34c6c7
fix: updated post actions dropdown design ( #495 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2023-04-07 14:30:54 +05:00
ayesha waris
39da42ee3f
fix: fix post height and remove overstate from author label ( #472 )
...
* fix: fixed post length according to figma
* fix: remove hoverstate from author label and author icon
* style: adds tooltip in hovercard for endorsemment icon
* test: fix test cases
* test: adds test cases for descreaased coverage
* refactor: updated api call to a method for reusability
* refactor: changed test descriptions
2023-03-22 17:19:15 +05:00
Ahtisham Shahid
d39a196cdf
feat: added product tour for response sort ( #462 )
...
* feat: added product tour for response sort
2023-03-10 12:23:13 +05:00
SaadYousaf
7b000f1974
feat: send enableInContextSidebar param to backend to identify source of content for events
2023-03-09 09:02:10 +05:00
Muhammad Adeel Tajamul
1db94718c8
fix: more actions dropdown was not visible ( #461 )
2023-03-07 06:22:31 +05:00
Awais Ansari
22474f4b1e
feat: add comments sorted by ascending and descending functionality ( #408 )
...
* feat: comments sorting option
* feat: create new dropdown for comment sort
* test: fix comments failing test cases
* refactor: update comment sort filter param
* test: update comment sort param in test cases
* refactor: resolve lint issue
* test: add comment sort param in hover test case
* refactor: update comments folder structure
* test: add new test cases for comments sort
2023-02-13 14:25:43 +05:00
ayesha waris
71931c83de
refactor: hovercard hover state refactoring ( #425 )
...
* fix: peoples icon fixed to proper height and width
* refactor: reduced lines of codes aand changed some classes
* fix: fixed side bar peoples icon height and width
* test: fix test cases
* style: add wrapper around add response button
* test: add and fix test cases for hover card
* refactor: change line height class and view to hovercard
2023-02-09 23:30:16 +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
Awais Ansari
e1d8af4498
fix: editedBy and closedBy banner will be visible to global staff ( #410 )
...
* fix: editedBy and closedBy banner will be visible to global staff
* refactor: rename isAdmin to userIsGlobalStaff
2023-01-17 17:41:32 +05:00
Mehak Nasir
928108e96c
style: username space issue post summary
2023-01-05 20:06:52 +05:00
Awais Ansari
3f890401e8
feat: implements new v3 in-context topics structure ( #371 )
2022-12-30 17:15:47 +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
ayeshoali
c26c7d34e6
fix: discussions navigation tab is not sticking to top
2022-12-16 14:39:45 +05:00
AsadAzam
67b0b33a81
Revert "feat: Support runtime configuration"
...
This reverts commit 9f84230c17 .
2022-12-12 15:36:40 +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
ayeshoali
21176131a7
fix: removed divider from report in action drop down
2022-12-01 16:05:40 +05:00
ayeshoali
42f1efd0a0
refactor: confirmation modal modified to handle variants
2022-11-30 19:04:32 +05:00
ayeshoali
8e449acde7
refactor: changed deleteconfirm and reportconfirm rename to comfirmAction and made it required
2022-11-30 19:04:32 +05:00
ayeshoali
5f477cb93f
fix: report icon changed to correct report icon
2022-11-30 19:04:32 +05:00
ayeshoali
b72dbae4f0
style: confirmation modal added when reporting content
2022-11-30 19:04:32 +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
Awais Ansari
9350922200
fix: incontext modal alignment changes ( #353 )
2022-11-18 16:21:43 +05:00
ayeshoali
32593f6736
fix: removed extra space besides authorlabel
2022-11-14 18:17:33 +05:00
ayeshoali
2203f43052
fix: removed highlighted header-action-bar on confirmation pop-up
2022-11-01 17:51:25 +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
Awais Ansari
ecae19b4ec
fix: convert clickable author label to text in posts summary list ( #331 )
...
* fix: convert clickable author label to text in posts summary list
* test: update post link test and add new tests for authorLabel
2022-10-20 15:36:43 +05:00
SaadYousaf
cd204c8e05
fix: fix for reported alert banner
2022-10-13 23:28:07 +05:00
Awais Ansari
52550149ea
chore: upgrade paragon version to 20.12.1 ( #315 )
2022-10-05 15:08:36 +05:00
Muhammad Adeel Tajamul
b774b6bab1
feat: copy post functionality ( #280 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-09-12 12:31:14 +05:00
Mehak Nasir
02202e2c07
fix: learner tab is hidden from learners
2022-09-02 17:14:05 +05:00