* test: added newly cases to cover codeCov
* test: added new cases of empty posts
* test: added test cases of legacy topics
* refactor: removed extra lines and extra const objects
* test: added test cases for postPreviewpane
* test: added test cases for post comment view api
* refactor: removed extra lines and code
* refactor: fixed issues identified during code review
* refactor: changed description of one test case
---------
Co-authored-by: sundasnoreen12 <sundasnoreen12@ggmail.com>
* 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
* fix: fix topic info for course-wide discussion topics
* refactor: removed const and used url directly
* test: adds test cases for topic info
* test: updated test cases
* 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
* 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>
* 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>
* fix: display subsection name when there is no units in subsection
* feat: display archived topics is post editor and topics list
* fix: posts filter are affecting topic posts result
(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
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