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

[andr][replay] Add support for ignoring Compose elements via Modifiers #129

Merged

Conversation

murki
Copy link
Contributor

@murki murki commented Nov 21, 2024

(current) captureIgnore(ignoreSubTree = false) captureIgnore(ignoreSubTree = true)
Screenshot 2024-11-20 at 7 15 46 PM Screenshot 2024-11-20 at 7 14 32 PM Screenshot 2024-11-20 at 7 14 44 PM

@murki murki requested review from Reflejo and snowp November 21, 2024 00:17
@@ -62,7 +62,7 @@ fun SecondScreen() {
)
ElevatedButton(
onClick = { Timber.w("Warning logged from Compose Screen") },
modifier = centerWithPaddingModifier.padding(top = normalSpacing)
modifier = centerWithPaddingModifier.padding(top = normalSpacing).captureIgnore(ignoreSubTree = false)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

example use

@murki murki enabled auto-merge (squash) November 21, 2024 17:51
@murki murki merged commit 99fcf17 into main Nov 21, 2024
15 checks passed
@murki murki deleted the murki/bit-4115-support-ignoring-compose-elements-in-session-replay branch November 21, 2024 18:06
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants