Skip to content

ref(onboarding): migrate storeCrashReports config#114942

Draft
priscilawebdev wants to merge 1 commit intomasterfrom
priscila/ref/migrate-store-crash-reports-config-form
Draft

ref(onboarding): migrate storeCrashReports config#114942
priscilawebdev wants to merge 1 commit intomasterfrom
priscila/ref/migrate-store-crash-reports-config-form

Conversation

@priscilawebdev
Copy link
Copy Markdown
Member

Migrate StoreCrashReportsConfig from the legacy Form + JsonForm system to AutoSaveForm (built on useScrapsForm).

Behavior is preserved:

  • Auto-saves on change
  • Keeps the inherit-from-organization option (null) and the rest of the per-issue limits
  • Respects the event-attachments feature gate and project:write access
  • Reuses formatStoreCrashReports and getStoreCrashReportsValues for option labels

The legacy form pulled the field config out of projectSecurityAndPrivacyGroups; the new form inlines the field declaratively, mirroring the org-level migration in static/app/views/settings/organizationSecurityAndPrivacy/index.tsx. allowUndo is intentionally dropped per the form migration guide.

The component renders inside getting-started docs (not Settings), so no FormSearch wrapper is needed — the project security & privacy settings page still owns the search registry entry for this field.

Migrate StoreCrashReportsConfig from the legacy JsonForm/Form system
to AutoSaveForm. Behavior is preserved: the project-level setting still
auto-saves on change, supports the inherit-from-organization option, and
respects the event-attachments feature gate and project:write access.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.40%

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

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant