Skip to content

chore(core): Deprecate FeedbackButton FAB APIs#5933

Merged
antonis merged 9 commits intomainfrom
antonislilis/deprecate-feedback-fab
Mar 31, 2026
Merged

chore(core): Deprecate FeedbackButton FAB APIs#5933
antonis merged 9 commits intomainfrom
antonislilis/deprecate-feedback-fab

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented Mar 31, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

⚠️ Based on #5931

📜 Description

Marks the floating action button (FAB) APIs as deprecated:

  • FeedbackButton component
  • showFeedbackButton()
  • hideFeedbackButton()

JSDoc @deprecated annotations added to the exports in index.ts, the source functions in FeedbackFormManager.tsx, and the component class in FeedbackButton.tsx.

💡 Motivation and Context

The FAB pattern is being deprecated in favor of programmatic feedback form triggering.

Closes #5893

💚 How did you test it?

  • Build succeeds

📝 Checklist

🔮 Next steps

  • Remove FAB APIs in next major version

antonis and others added 6 commits March 31, 2026 11:04
Deprecate "widget" term in favor of "form" to align with the broader
Sentry SDK ecosystem naming convention.

All public APIs are preserved as deprecated aliases:
- FeedbackWidget → FeedbackForm
- showFeedbackWidget → showFeedbackForm
- FeedbackWidgetProps → FeedbackFormProps
- FeedbackWidgetStyles → FeedbackFormStyles
- FeedbackWidgetState → FeedbackFormState
- FeedbackWidgetTheme → FeedbackFormTheme
- FeedbackWidgetManager → FeedbackFormManager

Closes #5892

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…eedback-rename-feedbackwidget-to-feedbackform

# Conflicts:
#	packages/core/src/js/feedback/FeedbackFormProvider.tsx
…eedback-rename-feedbackwidget-to-feedbackform
…idget API

Verify that the deprecated FeedbackWidget and showFeedbackWidget exports
are identical to their FeedbackForm replacements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…edbackButton

Mark the floating action button (FAB) APIs as deprecated. They will be
removed in a future major version.

Closes #5893

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(core): Deprecate FeedbackButton FAB APIs by antonis in #5933
  • refactor(core): Rename FeedbackWidget to FeedbackForm by antonis in #5931
  • refactor(core): Extract playground modal styles to separate file by antonis in #5927
  • fix(ci): Avoid unnecessary runner allocation by splitting platform matrix into separate jobs by alwx in #5924
  • feat(core): Track shake to report integration usage by antonis in #5929
  • chore(deps): update CLI to v3.3.5 by github-actions in #5925
  • chore: Replace prettier with oxfmt by antonis in #5880
  • chore(deps): bump brace-expansion to ^5.0.5 by antonis in #5920
  • chore(deps): bump path-to-regexp to ^8.4.0 by antonis in #5919
  • chore: Migrate from ESLint to oxlint by antonis in #5867
  • chore(deps): bump yaml to ^2.8.3 by antonis in #5921
  • chore(deps): bump activesupport to >= 7.2.3.1 by antonis in #5922
  • fix(ci): Update validate-pr action to remove draft enforcement by stephanie-anderson in #5923
  • chore(deps): bump actions/checkout from 4 to 6 by dependabot in #5916
  • chore(deps): bump getsentry/craft from 2.25.0 to 2.25.2 by dependabot in #5918
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.25.0 to 2.25.2 by dependabot in #5914
  • chore(deps): bump github/codeql-action from 4.34.1 to 4.35.1 by dependabot in #5917
  • chore(deps): bump dorny/paths-filter from 3.0.2 to 4.0.1 by dependabot in #5915
  • fix: Prevent script injection vulnerability in platform-check action by fix-it-felix-sentry in #5913
  • chore(ios): Upgrade clang-format from v20 to v22 by antonis in #5905
  • chore: Add PR validation workflow by stephanie-anderson in #5906
  • chore(deps): bump brace-expansion from 1.1.12 to 1.1.13 by dependabot in #5909
  • chore(deps): bump picomatch to fix ReDoS and method injection by antonis in #5900
  • chore(deps): update Android SDK to v8.37.1 by github-actions in #5884

Plus 5 more


🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against e9f313e

antonis added a commit to getsentry/sentry-docs that referenced this pull request Mar 31, 2026
Remove showFeedbackButton, hideFeedbackButton, and FeedbackButton
Customization section from the user feedback documentation, as these
APIs are deprecated in getsentry/sentry-react-native#5933.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@antonis antonis marked this pull request as ready for review March 31, 2026 10:50
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from antonislilis/rn-554-feedback-rename-feedbackwidget-to-feedbackform to main March 31, 2026 11:21
@antonis antonis merged commit c75ac51 into main Mar 31, 2026
42 of 54 checks passed
@antonis antonis deleted the antonislilis/deprecate-feedback-fab branch March 31, 2026 12:00
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.

Feedback: Deprecate FAB

2 participants