-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
ref(feedback): split up SentryUserFeedbackForm.swift #4726
ref(feedback): split up SentryUserFeedbackForm.swift #4726
Conversation
…nit tests for accessibility hint; combine validation and accessibility hint generation so they can't easily disagree
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## armcknight/feat(feedback)/accessibility-audit #4726 +/- ##
===================================================================================
+ Coverage 91.022% 91.895% +0.873%
===================================================================================
Files 624 625 +1
Lines 72322 72475 +153
Branches 26307 26301 -6
===================================================================================
+ Hits 65829 66601 +772
+ Misses 6395 5774 -621
- Partials 98 100 +2
... and 31 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3cbcd11 | 1220.02 ms | 1242.74 ms | 22.72 ms |
e3de806 | 1242.67 ms | 1262.22 ms | 19.56 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3cbcd11 | 22.31 KiB | 774.49 KiB | 752.17 KiB |
e3de806 | 22.31 KiB | 770.93 KiB | 748.62 KiB |
Previous results on branch: armcknight/armcknight/feat(feedback)/form-controller-refactor
Startup times
Revision | Plain | With Sentry | Diff |
---|---|---|---|
135f1cc | 1228.78 ms | 1244.12 ms | 15.35 ms |
6a01098 | 1236.08 ms | 1251.76 ms | 15.67 ms |
2f59cde | 1221.22 ms | 1243.70 ms | 22.48 ms |
484eb3c | 1222.22 ms | 1234.35 ms | 12.12 ms |
031bb71 | 1229.60 ms | 1248.00 ms | 18.40 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
135f1cc | 22.31 KiB | 777.51 KiB | 755.19 KiB |
6a01098 | 22.31 KiB | 775.97 KiB | 753.66 KiB |
2f59cde | 22.31 KiB | 777.38 KiB | 755.07 KiB |
484eb3c | 22.31 KiB | 776.35 KiB | 754.04 KiB |
031bb71 | 22.31 KiB | 775.98 KiB | 753.66 KiB |
…doesnt work well in the UI test architecture
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormController.swift
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormViewModel.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormController.swift
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormController.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, if #4726 (comment) is addressed in another PR.
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormController.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackFormController.swift
Show resolved
Hide resolved
a99c302
into
armcknight/feat(feedback)/accessibility-audit
so that we can unit test some things. includes a couple fixes along the way (which might be better served moving to #4727). follows #4698, in particular, #4698 (comment)
TestSentryPhotoPicker
in the SDK code itself to be able to use from the UI tests)split out the photo picker to make it cleaner to substitute in a mock (although we still have to do it in the production code for UI tests)tupleResult<String, Error>
; this way we don't have two parallel implementations that can diverge and disagree at any point (and some of the code already was trying to handle that...)TODO
#skip-changelog