Skip to content

More alert playgrounds, native alert playgrounds#63

Open
dfabulich wants to merge 2 commits intoskiptools:mainfrom
dfabulich:native-alert-playgrounds
Open

More alert playgrounds, native alert playgrounds#63
dfabulich wants to merge 2 commits intoskiptools:mainfrom
dfabulich:native-alert-playgrounds

Conversation

@dfabulich
Copy link
Contributor

Added a playground for a very long alert, for long button titles, and added an Android-only block showing native AlertDialogs (for comparison)

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

data = 1
} else {
data = data! + 1
#if SKIP
Copy link
Member

Choose a reason for hiding this comment

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

Why is this in an #if SKIP block?

// error = nil
// }
// }
#if SKIP
Copy link
Member

Choose a reason for hiding this comment

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

Was this SKIP block just for your own Compose experimentation? Can we remove it?

Copy link
Contributor Author

@dfabulich dfabulich Mar 8, 2026

Choose a reason for hiding this comment

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

These display the original Material 3 AlertDialog dialogs, which were the basis of my work in skiptools/skip-ui#336.

It seems plausible to me that we'd do some regression testing on this in the future (e.g. Material 4 or something).

I think it's good to leave these in, but I'll remove them if you insist…?

@dfabulich dfabulich force-pushed the native-alert-playgrounds branch from 240723a to 41ce29f Compare March 8, 2026 02:06
@dfabulich dfabulich requested a review from marcprux March 8, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants