Skip to content

fix(web): enforce comment and reaction settings in web comment actions - #3608

Open
yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/web-comments
Open

yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/web-comments

Conversation

@yashranaway

@yashranaway yashranaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

turning off comments or reactions on a video (or at the org or space level) only hid the comment box on the share page. the server actions behind it never checked the setting, so anyone with the page already open, or calling the action directly, could still post comments, replies, reactions and voice or video notes, which also notified the owner and uploaded into their bucket. the mobile and agent apis already enforce this, the web actions were the gap.

now new comments check the effective setting (video, org and space, resolved the same way the share page does) after the access check, and media comments are refused when comments are off, which also stops the upload before anything hits storage.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; both earlier findings are fixed and no new actionable issues remain.

Summary

The PR checks video, organization, and space settings before accepting web comments, replies, reactions, or media comments.

  • Web feedback actions now follow the video’s effective feedback settings.

Reviews (3) · Last reviewed commit: "test(web): mock awaitable comment querie..." · Reviewed by Greptile

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Nov 1, 2026 8:46am UTC

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 07:22 Inactive
Comment thread apps/web/actions/videos/new-comment.ts Resolved
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:18 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:46 Inactive

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 644b7a97 Deployed Nov 1, 2026 by vercel[bot]
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.

1 participant