Skip to content

feat(feedback): Screenshot button error flow - #4757

Merged
antonis merged 3 commits into
feedback-ui-2from
antonis/capture-screenshot-error
Apr 17, 2025
Merged

feat(feedback): Screenshot button error flow#4757
antonis merged 3 commits into
feedback-ui-2from
antonis/capture-screenshot-error

Conversation

@antonis

@antonisantonis commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

Based on #4726

📜 Description

Shows an error message when screenshot capture fails

💡 Motivation and Context

See #4714 (comment)

💚 How did you test it?

Manual with screenshotError.patch, CI

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

@github-actions

github-actionsBot commented Apr 16, 2025

Copy link
Copy Markdown
Contributor
Messages
📖Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against f6e950e

@antonis
antonis marked this pull request as ready for review April 16, 2025 12:43
@github-actions

github-actionsBot commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

Android (legacy) Performance metrics 🚀

PlainWith SentryDiff
Startup time459.04 ms480.16 ms21.12 ms
Size17.75 MiB20.15 MiB2.40 MiB

Baseline results on branch: feedback-ui-2

Startup times

RevisionPlainWith SentryDiff
6e4d2e1435.80 ms432.63 ms-3.17 ms

App size

RevisionPlainWith SentryDiff
6e4d2e117.75 MiB20.13 MiB2.39 MiB

@github-actions

github-actionsBot commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

Android (new) Performance metrics 🚀

PlainWith SentryDiff
Startup time392.47 ms388.58 ms-3.89 ms
Size7.15 MiB8.42 MiB1.26 MiB

Baseline results on branch: feedback-ui-2

Startup times

RevisionPlainWith SentryDiff
6e4d2e1+dirty394.19 ms378.08 ms-16.11 ms

App size

RevisionPlainWith SentryDiff
6e4d2e1+dirty7.15 MiB8.40 MiB1.25 MiB

@github-actions

Copy link
Copy Markdown
Contributor

iOS (legacy) Performance metrics 🚀

PlainWith SentryDiff
Startup time1225.65 ms1232.76 ms7.10 ms
Size2.63 MiB3.80 MiB1.16 MiB

Baseline results on branch: feedback-ui-2

Startup times

RevisionPlainWith SentryDiff
6e4d2e1+dirty1231.82 ms1240.18 ms8.36 ms

App size

RevisionPlainWith SentryDiff
6e4d2e1+dirty2.63 MiB3.77 MiB1.14 MiB

if (screenshot === 'ErrorCapturingScreenshot') {
setTimeout(async () => {
feedbackAlertDialog(text.errorTitle, text.captureScreenshotError);
}, 100);

@krystofwoldrichkrystofwoldrichApr 16, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The delay is here to let the widget slide back up, a.k.a just for better visuals?

@antonisantonisApr 16, 2025

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Yes, and to prevent the alert from hiding below the modal.

@krystofwoldrichkrystofwoldrich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you, looks good.

@antonis
antonis merged commit bd5bd30 into feedback-ui-2Apr 17, 2025
@antonis
antonis deleted the antonis/capture-screenshot-error branch April 17, 2025 07:13
Sign up for freeto 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.

2 participants

@antonis@krystofwoldrich