Skip to content

feat(feedback): Pull down to cancel #4534

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

Merged
merged 29 commits into from
Feb 17, 2025

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Feb 13, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

Based on #4524

📜 Description

Implements pull down to cancel for feedback modal.

💡 Motivation and Context

See #4302

💚 How did you test it?

Manual

📝 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 Feb 13, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 455.44 ms 464.20 ms 8.75 ms
Size 17.75 MiB 20.12 MiB 2.38 MiB

Baseline results on branch: feedback-ui

Startup times

Revision Plain With Sentry Diff
3e4cdf5 462.35 ms 474.96 ms 12.61 ms
6b1624f 462.78 ms 465.13 ms 2.35 ms
df05370 477.62 ms 491.63 ms 14.00 ms
e5d5735 452.70 ms 453.04 ms 0.34 ms
0325426 477.32 ms 457.43 ms -19.89 ms
269c976 448.08 ms 428.86 ms -19.22 ms
2646c98 429.98 ms 421.63 ms -8.35 ms
9402883 448.53 ms 468.73 ms 20.20 ms
894ebb0 497.45 ms 545.04 ms 47.60 ms
8cb898b 438.83 ms 420.58 ms -18.25 ms

App size

Revision Plain With Sentry Diff
3e4cdf5 17.75 MiB 20.12 MiB 2.37 MiB
6b1624f 17.75 MiB 20.12 MiB 2.37 MiB
df05370 17.75 MiB 20.12 MiB 2.37 MiB
e5d5735 17.75 MiB 20.12 MiB 2.37 MiB
0325426 17.75 MiB 20.12 MiB 2.37 MiB
269c976 17.75 MiB 20.12 MiB 2.37 MiB
2646c98 17.75 MiB 20.12 MiB 2.37 MiB
9402883 17.75 MiB 20.12 MiB 2.37 MiB
894ebb0 17.75 MiB 20.12 MiB 2.37 MiB
8cb898b 17.75 MiB 20.12 MiB 2.37 MiB

Previous results on branch: antonis/feedback-ios-pull-down-to-cancel

Startup times

Revision Plain With Sentry Diff
d0692d8 418.98 ms 434.96 ms 15.98 ms

App size

Revision Plain With Sentry Diff
d0692d8 17.75 MiB 20.12 MiB 2.37 MiB

Copy link
Contributor

github-actions bot commented Feb 13, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1231.51 ms 1231.81 ms 0.30 ms
Size 2.63 MiB 3.75 MiB 1.12 MiB

Baseline results on branch: feedback-ui

Startup times

Revision Plain With Sentry Diff
2646c98+dirty 1218.51 ms 1218.92 ms 0.41 ms
269c976+dirty 1210.02 ms 1204.46 ms -5.56 ms
e5d5735+dirty 1222.02 ms 1222.22 ms 0.20 ms
df05370+dirty 1209.92 ms 1216.55 ms 6.63 ms
894ebb0+dirty 1224.33 ms 1214.45 ms -9.89 ms
9402883+dirty 1219.65 ms 1217.94 ms -1.72 ms
77e88fc+dirty 1224.55 ms 1232.41 ms 7.86 ms
3e4cdf5+dirty 1222.53 ms 1224.42 ms 1.89 ms
0325426+dirty 1228.88 ms 1229.92 ms 1.04 ms
8cb898b+dirty 1221.40 ms 1231.78 ms 10.37 ms

App size

Revision Plain With Sentry Diff
2646c98+dirty 2.63 MiB 3.69 MiB 1.06 MiB
269c976+dirty 2.63 MiB 3.69 MiB 1.06 MiB
e5d5735+dirty 2.63 MiB 3.69 MiB 1.06 MiB
df05370+dirty 2.63 MiB 3.71 MiB 1.07 MiB
894ebb0+dirty 2.63 MiB 3.71 MiB 1.07 MiB
9402883+dirty 2.63 MiB 3.71 MiB 1.07 MiB
77e88fc+dirty 2.63 MiB 3.75 MiB 1.12 MiB
3e4cdf5+dirty 2.63 MiB 3.69 MiB 1.06 MiB
0325426+dirty 2.63 MiB 3.69 MiB 1.06 MiB
8cb898b+dirty 2.63 MiB 3.71 MiB 1.08 MiB

Previous results on branch: antonis/feedback-ios-pull-down-to-cancel

Startup times

Revision Plain With Sentry Diff
d0692d8+dirty 1221.78 ms 1224.60 ms 2.82 ms

App size

Revision Plain With Sentry Diff
d0692d8+dirty 2.63 MiB 3.71 MiB 1.08 MiB

Copy link
Contributor

github-actions bot commented Feb 13, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 411.58 ms 415.57 ms 3.99 ms
Size 7.15 MiB 8.39 MiB 1.24 MiB

Baseline results on branch: feedback-ui

Startup times

Revision Plain With Sentry Diff
3e4cdf5+dirty 642.13 ms 702.23 ms 60.10 ms
269c976+dirty 395.13 ms 438.37 ms 43.24 ms
8cb898b+dirty 393.33 ms 416.20 ms 22.87 ms
894ebb0+dirty 417.81 ms 499.74 ms 81.93 ms
2646c98+dirty 415.13 ms 438.41 ms 23.28 ms
9402883+dirty 436.49 ms 518.94 ms 82.45 ms
6b1624f+dirty 382.17 ms 441.00 ms 58.83 ms
0325426+dirty 418.89 ms 485.00 ms 66.11 ms
df05370+dirty 395.08 ms 430.38 ms 35.30 ms
77e88fc+dirty 358.67 ms 346.20 ms -12.47 ms

App size

Revision Plain With Sentry Diff
3e4cdf5+dirty 7.15 MiB 8.39 MiB 1.23 MiB
269c976+dirty 7.15 MiB 8.39 MiB 1.23 MiB
8cb898b+dirty 7.15 MiB 8.39 MiB 1.24 MiB
894ebb0+dirty 7.15 MiB 8.39 MiB 1.23 MiB
2646c98+dirty 7.15 MiB 8.38 MiB 1.23 MiB
9402883+dirty 7.15 MiB 8.39 MiB 1.23 MiB
6b1624f+dirty 7.15 MiB 8.39 MiB 1.23 MiB
0325426+dirty 7.15 MiB 8.38 MiB 1.23 MiB
df05370+dirty 7.15 MiB 8.39 MiB 1.23 MiB
77e88fc+dirty 7.15 MiB 8.39 MiB 1.24 MiB

Previous results on branch: antonis/feedback-ios-pull-down-to-cancel

Startup times

Revision Plain With Sentry Diff
d0692d8+dirty 400.17 ms 430.28 ms 30.11 ms

App size

Revision Plain With Sentry Diff
d0692d8+dirty 7.15 MiB 8.39 MiB 1.24 MiB

Copy link
Contributor

github-actions bot commented Feb 13, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1233.49 ms 1236.29 ms 2.80 ms
Size 3.19 MiB 4.32 MiB 1.13 MiB

Baseline results on branch: feedback-ui

Startup times

Revision Plain With Sentry Diff
2646c98+dirty 1239.94 ms 1246.90 ms 6.96 ms
269c976+dirty 1223.29 ms 1222.90 ms -0.39 ms
e5d5735+dirty 1217.78 ms 1221.80 ms 4.02 ms
df05370+dirty 1221.14 ms 1216.60 ms -4.55 ms
894ebb0+dirty 1210.94 ms 1202.08 ms -8.85 ms
9402883+dirty 1217.71 ms 1213.02 ms -4.69 ms
77e88fc+dirty 1218.79 ms 1220.00 ms 1.21 ms
3e4cdf5+dirty 1213.36 ms 1221.31 ms 7.95 ms
0325426+dirty 1210.17 ms 1216.37 ms 6.20 ms
8cb898b+dirty 1209.39 ms 1207.57 ms -1.82 ms

App size

Revision Plain With Sentry Diff
2646c98+dirty 3.19 MiB 4.26 MiB 1.07 MiB
269c976+dirty 3.19 MiB 4.26 MiB 1.07 MiB
e5d5735+dirty 3.19 MiB 4.26 MiB 1.07 MiB
df05370+dirty 3.19 MiB 4.27 MiB 1.09 MiB
894ebb0+dirty 3.19 MiB 4.27 MiB 1.09 MiB
9402883+dirty 3.19 MiB 4.27 MiB 1.09 MiB
77e88fc+dirty 3.19 MiB 4.32 MiB 1.13 MiB
3e4cdf5+dirty 3.19 MiB 4.26 MiB 1.07 MiB
0325426+dirty 3.19 MiB 4.26 MiB 1.07 MiB
8cb898b+dirty 3.19 MiB 4.28 MiB 1.09 MiB

Previous results on branch: antonis/feedback-ios-pull-down-to-cancel

Startup times

Revision Plain With Sentry Diff
d0692d8+dirty 1200.51 ms 1209.06 ms 8.55 ms

App size

Revision Plain With Sentry Diff
d0692d8+dirty 3.19 MiB 4.27 MiB 1.09 MiB

Base automatically changed from antonis/feedback-ui-imagepicker-integration to feedback-ui February 14, 2025 09:00
@antonis antonis changed the title Feedback UI: Pull down to cancel (iOS) Feedback UI: Pull down to cancel Feb 14, 2025
@antonis antonis marked this pull request as ready for review February 14, 2025 10:02
@antonis antonis changed the title Feedback UI: Pull down to cancel feat(feedback): Pull down to cancel Feb 14, 2025
Copy link
Contributor

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

Generated by 🚫 dangerJS against 3238fe0


private _panResponder = PanResponder.create({
onStartShouldSetPanResponder: (evt, _gestureState) => {
// On Android allow pulling down only from the top to avoid breaking native gestures
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for including here the reason why.

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you.

@antonis antonis merged commit 874b2a2 into feedback-ui Feb 17, 2025
71 checks passed
@antonis antonis deleted the antonis/feedback-ios-pull-down-to-cancel branch February 17, 2025 09:28
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.

2 participants