Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed author liking its own post #720

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

ayesha-waris
Copy link
Contributor

INF-1446
Description
fix for #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

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/discussions/common/HoverCard.jsx Show resolved Hide resolved
src/discussions/common/HoverCard.jsx Outdated Show resolved Hide resolved
@ayesha-waris ayesha-waris merged commit 422fbf6 into master Jun 26, 2024
7 checks passed
@ayesha-waris ayesha-waris deleted the Ayesha/INF-1446 branch June 26, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants