openedx / frontend-app-discussions

A React-based micro frontend for the Open edX discussion forums.
GNU Affero General Public License v3.0
6 stars 63 forks source link

fix: added role for editedby and closedby user #498

Closed sundasnoreen12 closed 1 year ago

sundasnoreen12 commented 1 year ago

INF-818

Description

  1. Role info needs to be present in edited and closed banner.
  2. Username and role color in the banner should match figma.
Before After
Screenshot 2023-04-14 at 3 54 29 PM Screenshot 2023-04-18 at 2 40 47 PM

Merge Checklist

Post-merge Checklist

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (009417b) 92.15% compared to head (2c6a75e) 92.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #498 +/- ## ========================================== + Coverage 92.15% 92.17% +0.01% ========================================== Files 163 164 +1 Lines 3251 3259 +8 Branches 889 891 +2 ========================================== + Hits 2996 3004 +8 Misses 236 236 Partials 19 19 ``` | [Impacted Files](https://codecov.io/gh/openedx/frontend-app-discussions/pull/498?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | Coverage Ξ” | | |---|---|---| | [src/discussions/common/AlertBanner.jsx](https://codecov.io/gh/openedx/frontend-app-discussions/pull/498?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-c3JjL2Rpc2N1c3Npb25zL2NvbW1vbi9BbGVydEJhbm5lci5qc3g=) | `100.00% <100.00%> (ΓΈ)` | | | [src/discussions/common/AlertBar.jsx](https://codecov.io/gh/openedx/frontend-app-discussions/pull/498?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-c3JjL2Rpc2N1c3Npb25zL2NvbW1vbi9BbGVydEJhci5qc3g=) | `100.00% <100.00%> (ΓΈ)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.