-
-
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
fix(feedback): accessibility audit action items #4698
base: main
Are you sure you want to change the base?
Conversation
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
65f104b | 1229.87 ms | 1247.69 ms | 17.82 ms |
46f5eb8 | 1212.27 ms | 1231.42 ms | 19.15 ms |
0f30019 | 1239.22 ms | 1240.04 ms | 0.82 ms |
c0ff306 | 1218.92 ms | 1240.64 ms | 21.72 ms |
c021422 | 1237.12 ms | 1263.18 ms | 26.06 ms |
bb5dc7d | 1240.44 ms | 1266.45 ms | 26.01 ms |
160a073 | 1260.72 ms | 1270.10 ms | 9.38 ms |
9ae806a | 1243.84 ms | 1256.22 ms | 12.39 ms |
188547e | 1241.47 ms | 1257.35 ms | 15.88 ms |
156e771 | 1228.06 ms | 1242.64 ms | 14.58 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
65f104b | 21.58 KiB | 625.82 KiB | 604.24 KiB |
46f5eb8 | 20.76 KiB | 432.37 KiB | 411.61 KiB |
0f30019 | 22.84 KiB | 405.39 KiB | 382.54 KiB |
c0ff306 | 20.76 KiB | 434.65 KiB | 413.89 KiB |
c021422 | 20.76 KiB | 435.64 KiB | 414.88 KiB |
bb5dc7d | 22.85 KiB | 412.98 KiB | 390.13 KiB |
160a073 | 22.85 KiB | 408.88 KiB | 386.03 KiB |
9ae806a | 21.58 KiB | 616.14 KiB | 594.56 KiB |
188547e | 21.58 KiB | 424.34 KiB | 402.76 KiB |
156e771 | 20.76 KiB | 419.70 KiB | 398.94 KiB |
Previous results on branch: armcknight/feat(feedback)/accessibility-audit
Startup times
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3cbcd11 | 1220.02 ms | 1242.74 ms | 22.72 ms |
0acedc3 | 1237.90 ms | 1253.62 ms | 15.72 ms |
01ccbc7 | 1225.10 ms | 1235.39 ms | 10.29 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 |
0acedc3 | 22.31 KiB | 780.06 KiB | 757.75 KiB |
01ccbc7 | 22.31 KiB | 780.93 KiB | 758.61 KiB |
e3de806 | 22.31 KiB | 770.93 KiB | 748.62 KiB |
Sources/Swift/Integrations/UserFeedback/Configuration/SentryUserFeedbackFormConfiguration.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.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.
I added a few comments.
Sources/Swift/Integrations/UserFeedback/Configuration/SentryUserFeedbackFormConfiguration.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
Sources/Swift/Integrations/UserFeedback/SentryUserFeedbackForm.swift
Outdated
Show resolved
Hide resolved
…erFeedbackFormConfiguration.swift Co-authored-by: Philip Niedertscheider <[email protected]>
…ack)/accessibility-audit
…ack)/accessibility-audit
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, smaller comments to decide at your discretion
@@ -56,6 +56,10 @@ public class SentryUserFeedbackFormConfiguration: NSObject { | |||
/** | |||
* Allows the user to send a screenshot attachment with their feedback. | |||
* - note: Default: `true` | |||
* - warning: Your app must provide a value in its Info plist for the |
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.
l
: do we still need this warning?
@@ -30,4 +55,107 @@ class SentryFeedbackTests: XCTestCase { | |||
let attachments = sut.attachments() | |||
XCTAssertEqual(attachments.count, 0) | |||
} | |||
|
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.
l
: instead of creating a single test which loops over all input combinations, you could create individual tests for each input combination, but each one calls a helper function. The helper function would then pass ...file: StaticString = #file, line: UInt = #line)
as parameters down to the XCTAssertEqual(..., file: file, line: line)
, therefore propagating the error up to the calling function.
That would then result in individual tests failing if the input combination is not working, rather than failing the whole
@@ -1 +1 @@ | |||
19.1.6 | |||
19.1.7 |
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.
l
: maybe move this and the swiftlint-version to its own PR
for #4401; #skip-changelog