Skip to content

CS-117 Remove screenshots on portal#2095

Merged
Marfuen merged 14 commits intomainfrom
chas/remove-screenshots
Feb 11, 2026
Merged

CS-117 Remove screenshots on portal#2095
Marfuen merged 14 commits intomainfrom
chas/remove-screenshots

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 3, 2026

This is an automated pull request to merge chas/remove-screenshots into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Feb 3, 2026

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

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Feb 11, 2026 5:24pm
portal Ready Ready Preview, Comment Feb 11, 2026 5:24pm

Request Review

@cursor
Copy link

cursor bot commented Feb 3, 2026

PR Summary

Medium Risk
Introduces new deletion behavior that removes DB records and S3 objects; mistakes in scoping (organizationId/policyId/userId) or error handling could delete the wrong data or leave orphaned objects.

Overview
Adds a "Remove images" action for passing fleet policies with attachments, including a confirmation modal that calls DELETE /api/fleet-policy?organizationId&policyId and refreshes the policy list.

Updates image upload flow to pass organizationId from the parent component (instead of reading route params), and implements the new DELETE handler to delete matching fleetPolicyResult DB rows for the signed-in user/org and best-effort remove the referenced S3 objects in batches.

Written by Cursor Bugbot for commit 6826481. This will update automatically on new commits. Configure here.

@chasprowebdev chasprowebdev changed the title [dev] [chasprowebdev] chas/remove-screenshots CS-117 Remove screenshots on portal Feb 3, 2026
@linear
Copy link

linear bot commented Feb 3, 2026

@chasprowebdev
Copy link
Contributor

remove-images.mov

@chasprowebdev chasprowebdev requested a review from Marfuen February 3, 2026 02:26
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@Marfuen Marfuen merged commit 346eb4c into main Feb 11, 2026
10 checks passed
@Marfuen Marfuen deleted the chas/remove-screenshots branch February 11, 2026 18:18
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 1.82.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants