openedx / frontend-app-discussions

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

fix: fixed author liking its own post #720

Closed ayesha-waris closed 5 months ago

ayesha-waris commented 5 months ago

INF-1446 Description fix for https://github.com/openedx/frontend-app-discussions/issues/688

To prevent learners from accidentally voting on their own posts (previously possible), this frontend PR disables the like button for a learner's own posts. BE PR

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.88%. Comparing base (e862ee6) to head (57de7a9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #720 +/- ## ========================================== + Coverage 92.87% 92.88% +0.01% ========================================== Files 160 160 Lines 3324 3329 +5 Branches 893 898 +5 ========================================== + Hits 3087 3092 +5 Misses 218 218 Partials 19 19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.