Skip to content

Conversation

@ben-fornefeld
Copy link
Member

@ben-fornefeld ben-fornefeld commented Feb 11, 2026

Make sandbox ID optional for issue reporting to allow users to submit issues without providing a sandbox ID.


Slack Thread

Open in Cursor Open in Web


Note

Low Risk
Small, localized change to form validation and support ticket payload construction; minimal risk beyond handling sandboxId as undefined across analytics and the support router.

Overview
Allows users to submit a dashboard issue report without providing a sandbox ID.

The report form now treats sandbox ID as optional (updated placeholder, submit enabling/validation, and PostHog payloads omit empty IDs). The support.reportIssue tRPC input schema accepts an optional sandboxId, and Plain thread creation now adjusts the title/body to exclude sandbox details when not provided.

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

- Updated backend API to accept optional sandboxId in ReportIssueSchema
- Adjusted Plain ticket formatting to handle missing sandboxId
- Updated frontend validation to only require description
- Changed input placeholder to indicate sandboxId is optional
- Updated button disable logic to only check for description

Co-authored-by: Ben Fornefeld <ben-fornefeld@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Feb 11, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Feb 11, 2026

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

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Feb 11, 2026 2:37am
web-juliett Ready Ready Preview, Comment Feb 11, 2026 2:37am

Request Review

@ben-fornefeld ben-fornefeld changed the title Issue reporting sandbox ID Improve: Allow issue reporting without Sandbox ID Feb 11, 2026
@ben-fornefeld ben-fornefeld marked this pull request as ready for review February 11, 2026 02:29
@ben-fornefeld ben-fornefeld enabled auto-merge (squash) February 11, 2026 02:30
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.

Use z.string().min(1).optional() to reject empty or whitespace-only
strings while still allowing the field to be omitted entirely

Co-authored-by: Ben Fornefeld <ben-fornefeld@users.noreply.github.com>
@ben-fornefeld ben-fornefeld merged commit 821b047 into main Feb 11, 2026
9 checks passed
@ben-fornefeld ben-fornefeld deleted the cursor/issue-reporting-sandbox-id-34a3 branch February 11, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvements in-code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants