-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
Add a waitForFullDisplay
parameter to the sentryTrace()
SwiftUI modifier
#4787
Comments
This should be covered in https://github.com/getsentry/sentry-cocoa/pull/4596/files :) Closing this, feel free to comment if I misunderstood, or follow up on the other issue |
I realize I misread - this is requesting |
@kahest Our use case is that in order to keep our code easier to read, we use In other words, instead of this: SentryTracedView("My Awesome Screen") {
VStack {
// The part of your content you want to measure
}
} we prefer to do this: VStack {
// The part of your content you want to measure
// This makes the substance of the view more prominent than if it's nested
}
.sentryTrace("some view name") |
@matthewreimer got it, we'll discuss if we can add this |
@matthewreimer after discussing this internally, we believe your solution brainstorm should work. Can you please open up a PR with the proposed changes? We are happy to review it. |
Add a waitForFullDisplay parameter to the sentryTrace view modifier on platforms that support it, for parity with SentryTracedView. Fixes getsentry#4787.
@philprime Here you go: #4797 |
Problem Statement
For control and for symmetry with
SentryTracedView
it would be nice for thesentryTrace()
SwiftUI view modifier to have awaitForFullDisplay
parameter.Solution Brainstorm
Basically this:
Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: