Repository navigation
feat: detect jetpack compose material3 alert dialogs - #418
Merged
gmegidish merged 2 commits intoOct 18, 2026
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
gmegidish
force-pushed
the
feat/compose-textfield-label
branch
from
October 16, 2026 18:58
e732206 to
f354b19
Compare
gmegidish
force-pushed
the
feat/compose-alert-dialog
branch
from
October 16, 2026 18:58
11051e0 to
4af98f1
Compare
gmegidish
force-pushed
the
feat/compose-textfield-label
branch
from
October 16, 2026 19:01
f354b19 to
b45a1e2
Compare
gmegidish
force-pushed
the
feat/compose-alert-dialog
branch
from
October 16, 2026 19:01
4af98f1 to
fa994a0
Compare
gmegidish
force-pushed
the
feat/compose-textfield-label
branch
from
October 17, 2026 20:05
f6a4228 to
266fd02
Compare
gmegidish
force-pushed
the
feat/compose-alert-dialog
branch
from
October 17, 2026 20:06
b7f020d to
8d85472
Compare
3 tasks done
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
waitForEvent('dialog'),screen.on('dialog')andgetByRole('alert')now detect a Material3AlertDialog.android.app.AlertDialog'sandroid:id/*ids. The one marker is the pane titleBasicAlertDialogsets:semantics { paneTitle = getString(Strings.Dialog) }, which is"Dialog"in English. mobilecli reports it aspaneTitle(feat: report pane titles on android elements mobilecli#525).dismissButtonbeforeconfirmButton, soacceptpresses the last button anddismissthe first (the only one, if there's one).ModalBottomSheet("Bottom Sheet") or a plainDialog { }without a pane title is not treated as an alert.accessibleName, so a Compose button's caption comes from its child.Stacked on #417, which builds on #416.
Notes
ponytail:comment.Test plan
npm run build,npm test(975 passed),npm run lintalertrole test.dialogstests andgetByRole› finds an alert pass (109 passed overall, up from 94)