Skip to content

ref(feedback): Rename Dialog to Form across feedback APIs#5349

Open
romtsn wants to merge 7 commits intomainfrom
rz/chore/feedback-rename
Open

ref(feedback): Rename Dialog to Form across feedback APIs#5349
romtsn wants to merge 7 commits intomainfrom
rz/chore/feedback-rename

Conversation

@romtsn
Copy link
Copy Markdown
Member

@romtsn romtsn commented Apr 29, 2026

Rename SentryUserFeedbackDialog to SentryUserFeedbackForm as the primary feedback UI class. The old SentryUserFeedbackDialog is kept as a deprecated subclass for backward compatibility — existing user code continues to compile and work unchanged.

Public API: Sentry.showUserFeedbackForm()

New Sentry.showUserFeedbackForm() methods replace the deprecated Sentry.showUserFeedbackDialog() overloads, which now delegate to the new ones.

Internal API renames

Internal-only types and methods are renamed directly (no deprecation shim needed): IDialogHandlerIFormHandler, showDialog()showForm(), setDialogHandler()/getDialogHandler()setFormHandler()/getFormHandler(), AndroidUserFeedbackIDialogHandlerAndroidUserFeedbackFormHandler.

Closes #5304

Rename SentryUserFeedbackDialog to SentryUserFeedbackForm as the primary
class. Keep SentryUserFeedbackDialog as a deprecated subclass for backward
compatibility.

Also rename internal APIs to use Form naming consistently:
- IDialogHandler -> IFormHandler
- showDialog -> showForm
- setDialogHandler/getDialogHandler -> setFormHandler/getFormHandler
- AndroidUserFeedbackIDialogHandler -> AndroidUserFeedbackFormHandler

Add deprecated Sentry.showUserFeedbackDialog() overloads that delegate to
the new Sentry.showUserFeedbackForm() methods.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 29, 2026

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.40.0 (1) release

⚙️ sentry-android Build Distribution Settings

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 290.22 ms 366.63 ms 76.41 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
5865051 319.74 ms 365.60 ms 45.86 ms
cf708bd 408.35 ms 458.98 ms 50.63 ms
b750b96 408.98 ms 480.32 ms 71.34 ms
1df7eb6 397.04 ms 429.64 ms 32.60 ms
9ea89e8 308.06 ms 358.16 ms 50.10 ms
319f256 315.96 ms 372.96 ms 57.00 ms
c8125f3 383.82 ms 441.66 ms 57.84 ms
f064536 327.04 ms 405.35 ms 78.31 ms
b3d8889 420.46 ms 453.71 ms 33.26 ms
f064536 335.52 ms 408.79 ms 73.27 ms

App size

Revision Plain With Sentry Diff
5865051 0 B 0 B 0 B
cf708bd 1.58 MiB 2.11 MiB 539.71 KiB
b750b96 1.58 MiB 2.10 MiB 533.19 KiB
1df7eb6 1.58 MiB 2.10 MiB 532.97 KiB
9ea89e8 1.58 MiB 2.28 MiB 716.23 KiB
319f256 1.58 MiB 2.19 MiB 619.79 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
f064536 1.58 MiB 2.20 MiB 633.90 KiB
b3d8889 1.58 MiB 2.10 MiB 535.07 KiB
f064536 1.58 MiB 2.20 MiB 633.90 KiB

Previous results on branch: rz/chore/feedback-rename

Startup times

Revision Plain With Sentry Diff
e8da1a3 318.98 ms 377.86 ms 58.88 ms
0038ede 315.91 ms 364.81 ms 48.90 ms

App size

Revision Plain With Sentry Diff
e8da1a3 0 B 0 B 0 B
0038ede 0 B 0 B 0 B

romtsn and others added 6 commits April 29, 2026 17:01
…onstructors

Use SentryUserFeedbackDialog.OptionsConfiguration as the parameter type
in the deprecated Builder constructors so old compiled code looking for
the original descriptor still resolves correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@romtsn romtsn marked this pull request as ready for review April 29, 2026 15:47
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: Rename FeedbackWidget to FeedbackForm

1 participant