Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(3.2) Handles Capture feedback form submission errors #4383

Draft
wants to merge 5 commits into
base: antonis/4359-Feedback-Form-NetworkError
Choose a base branch
from

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Dec 17, 2024

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

Based on #4364

📜 Description

Implements a sendFeedback similar JS to get the call response.

💡 Motivation and Context

See #4364 (comment)

💚 How did you test it?

Manual testing with sample

📝 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

Copy link
Contributor

github-actions bot commented Dec 17, 2024

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 379.94 ms 443.92 ms 63.98 ms
Size 7.15 MiB 8.38 MiB 1.23 MiB

Baseline results on branch: antonis/4359-Feedback-Form-NetworkError

Startup times

Revision Plain With Sentry Diff
0131975+dirty 402.71 ms 454.00 ms 51.29 ms
f4422db+dirty 373.74 ms 412.16 ms 38.42 ms
5679aac+dirty 403.96 ms 470.57 ms 66.61 ms
274d5b5+dirty 413.06 ms 456.54 ms 43.48 ms
06ab320+dirty 382.32 ms 433.65 ms 51.33 ms
25507c5+dirty 378.89 ms 434.94 ms 56.05 ms
d232ce7+dirty 401.80 ms 423.51 ms 21.71 ms

App size

Revision Plain With Sentry Diff
0131975+dirty 7.15 MiB 8.38 MiB 1.23 MiB
f4422db+dirty 7.15 MiB 8.38 MiB 1.23 MiB
5679aac+dirty 7.15 MiB 8.38 MiB 1.23 MiB
274d5b5+dirty 7.15 MiB 8.37 MiB 1.22 MiB
06ab320+dirty 7.15 MiB 8.38 MiB 1.23 MiB
25507c5+dirty 7.15 MiB 8.38 MiB 1.23 MiB
d232ce7+dirty 7.15 MiB 8.37 MiB 1.22 MiB

Previous results on branch: antonis/4359-Feedback-Form-SendFeedback

Startup times

Revision Plain With Sentry Diff
279f59b+dirty 397.21 ms 420.10 ms 22.89 ms

App size

Revision Plain With Sentry Diff
279f59b+dirty 7.15 MiB 8.43 MiB 1.28 MiB

Copy link
Contributor

github-actions bot commented Dec 17, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1223.82 ms 1232.12 ms 8.31 ms
Size 2.36 MiB 3.13 MiB 782.71 KiB

Baseline results on branch: antonis/4359-Feedback-Form-NetworkError

Startup times

Revision Plain With Sentry Diff
0131975+dirty 1231.33 ms 1227.10 ms -4.23 ms
274d5b5+dirty 1221.69 ms 1227.56 ms 5.87 ms
f4422db+dirty 1232.53 ms 1225.81 ms -6.72 ms
5679aac+dirty 1237.88 ms 1231.70 ms -6.18 ms
d232ce7+dirty 1223.47 ms 1226.79 ms 3.32 ms
25507c5+dirty 1230.96 ms 1229.94 ms -1.02 ms
06ab320+dirty 1222.00 ms 1220.50 ms -1.50 ms

App size

Revision Plain With Sentry Diff
0131975+dirty 2.36 MiB 3.11 MiB 761.34 KiB
274d5b5+dirty 2.36 MiB 3.11 MiB 761.55 KiB
f4422db+dirty 2.36 MiB 3.13 MiB 782.34 KiB
5679aac+dirty 2.36 MiB 3.11 MiB 761.93 KiB
d232ce7+dirty 2.36 MiB 3.11 MiB 761.50 KiB
25507c5+dirty 2.36 MiB 3.11 MiB 761.92 KiB
06ab320+dirty 2.36 MiB 3.11 MiB 761.14 KiB

Previous results on branch: antonis/4359-Feedback-Form-SendFeedback

Startup times

Revision Plain With Sentry Diff
279f59b+dirty 1235.22 ms 1233.14 ms -2.08 ms

App size

Revision Plain With Sentry Diff
279f59b+dirty 2.36 MiB 3.19 MiB 847.95 KiB

Copy link
Contributor

github-actions bot commented Dec 17, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1236.37 ms 1244.39 ms 8.02 ms
Size 2.92 MiB 3.69 MiB 794.14 KiB

Baseline results on branch: antonis/4359-Feedback-Form-NetworkError

Startup times

Revision Plain With Sentry Diff
0131975+dirty 1242.96 ms 1240.12 ms -2.83 ms
274d5b5+dirty 1235.24 ms 1234.41 ms -0.84 ms
f4422db+dirty 1233.30 ms 1231.47 ms -1.83 ms
5679aac+dirty 1242.61 ms 1234.55 ms -8.06 ms
d232ce7+dirty 1234.69 ms 1240.02 ms 5.33 ms
25507c5+dirty 1226.49 ms 1228.98 ms 2.49 ms
06ab320+dirty 1235.38 ms 1241.82 ms 6.43 ms

App size

Revision Plain With Sentry Diff
0131975+dirty 2.92 MiB 3.67 MiB 773.85 KiB
274d5b5+dirty 2.92 MiB 3.67 MiB 774.02 KiB
f4422db+dirty 2.92 MiB 3.69 MiB 793.65 KiB
5679aac+dirty 2.92 MiB 3.67 MiB 774.41 KiB
d232ce7+dirty 2.92 MiB 3.67 MiB 773.91 KiB
25507c5+dirty 2.92 MiB 3.67 MiB 774.58 KiB
06ab320+dirty 2.92 MiB 3.67 MiB 773.58 KiB

Previous results on branch: antonis/4359-Feedback-Form-SendFeedback

Startup times

Revision Plain With Sentry Diff
279f59b+dirty 1249.57 ms 1253.84 ms 4.27 ms

App size

Revision Plain With Sentry Diff
279f59b+dirty 2.92 MiB 3.76 MiB 859.28 KiB

…359-Feedback-Form-SendFeedback

# Conflicts:
#	packages/core/src/js/feedback/FeedbackForm.tsx
…359-Feedback-Form-SendFeedback

# Conflicts:
#	yarn.lock
Copy link
Contributor

github-actions bot commented Dec 18, 2024

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 488.04 ms 498.57 ms 10.53 ms
Size 17.74 MiB 20.10 MiB 2.37 MiB

Baseline results on branch: antonis/4359-Feedback-Form-NetworkError

Startup times

Revision Plain With Sentry Diff
d232ce7 434.55 ms 442.12 ms 7.57 ms
06ab320 438.67 ms 425.40 ms -13.27 ms
5679aac 452.07 ms 470.16 ms 18.09 ms
f4422db 475.17 ms 480.38 ms 5.21 ms
0131975 436.28 ms 427.60 ms -8.68 ms
25507c5 448.50 ms 439.85 ms -8.65 ms
274d5b5 436.44 ms 436.02 ms -0.42 ms

App size

Revision Plain With Sentry Diff
d232ce7 17.74 MiB 20.09 MiB 2.35 MiB
06ab320 17.74 MiB 20.10 MiB 2.36 MiB
5679aac 17.74 MiB 20.10 MiB 2.37 MiB
f4422db 17.74 MiB 20.10 MiB 2.37 MiB
0131975 17.74 MiB 20.10 MiB 2.36 MiB
25507c5 17.74 MiB 20.10 MiB 2.37 MiB
274d5b5 17.74 MiB 20.09 MiB 2.35 MiB

Previous results on branch: antonis/4359-Feedback-Form-SendFeedback

Startup times

Revision Plain With Sentry Diff
279f59b 468.84 ms 459.52 ms -9.32 ms

App size

Revision Plain With Sentry Diff
279f59b 17.74 MiB 20.15 MiB 2.42 MiB

…359-Feedback-Form-SendFeedback

# Conflicts:
#	packages/core/src/js/feedback/FeedbackForm.tsx
#	yarn.lock
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.

1 participant