umputun / remark42

comment engine
https://remark42.com
MIT License
4.77k stars 375 forks source link

Hide delete button for non-admin users after edit period expires #1751

Closed paskal closed 4 months ago

paskal commented 4 months ago

Resolves #1737. The user couldn't delete their comment once EditDuration passes.

github-actions[bot] commented 4 months ago

size-limit report 📦

Path Size
public/embed.mjs 2.03 KB (0%)
public/remark.mjs 73.46 KB (+0.01% 🔺)
public/remark.css 8.26 KB (0%)
public/last-comments.mjs 35.72 KB (+0.01% 🔺)
public/last-comments.css 3.75 KB (0%)
public/deleteme.mjs 12.07 KB (0%)
public/counter.mjs 751 B (0%)
codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 61.47%. Comparing base (e1173bb) to head (989c36a). Report is 9 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1751 +/- ## ======================================= Coverage 61.47% 61.47% ======================================= Files 132 132 Lines 2998 2998 Branches 715 715 ======================================= Hits 1843 1843 Misses 1151 1151 Partials 4 4 ```

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