clock: add screenshot captures for settings and dialog routes
- Commit
b918832de7bdaa77a59e51f60aa42a913436755b- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-01 23:33 UTC (4 days ago)
- Parents
ee4399f
The five clock routes with no screenshot capture (AlarmSettings, SelectTimeZonesDialog, NewTimerDialog, NewAlarmDialog and AlarmSetTimeDialog) now have real preview captures instead of exemptions, following the contacts/calendar dialog-capture pattern. Each dialog that had no separable stateless slice gets a minimal internal *Content extraction in its existing file, camera-style: the route entry keeps the side-effectful plumbing (DataStore reads and writes, the ringtone-picker launcher, building/persisting/scheduling alarms and timers, loading and filtering the city map, and the current-time fallback for a route that carries no time) and passes literal values plus callbacks in. AlarmSettingsContent wraps the existing stateless AlarmOptionControls in its DetailScaffold; SelectTimeZonesDialogContent receives the already-filtered city rows (selected pinned first, computed off the main thread by the caller), the selected set and the search query; NewTimerDialogContent and NewAlarmDialogContent keep only the dialog-local label/duration/time fields and report the confirmed values out. AlarmSetTimeDialog needs no extraction: it is the shared library TimePickerDialogContent, rendered with a fixed 06:30 and a throwaway nav-result registry like the existing alarm-tab preview. MetadataPreviews gains Preview5..Preview9 on the phone bucket (5-alarm-settings, 6-select-time-zones-dialog, 7-new-timer-dialog, 8-new-alarm-dialog, 9-alarm-set-time-dialog), all with fixed literal fixtures (07:30 alarm, 5-minute Tea timer, London/Tokyo selected), so no fixture reads the host clock or time zone. Also fixes the ScaffoldSearch error on HEAD in SelectTimeZonesDialog: the search field is a dialog-local city filter inside a DialogPage with no scaffold host, so the file carries the honest dialog-local exception marker, and the regenerated docs/structure/exceptions.tsv inventory is included. Verified: ./gradlew :clock:lint :clock:lintVitalRelease :clock:testDevUnitTest (272 tests, 0 failures) :clock:compileReleaseKotlin all green, run individually after the first combined run lost its daemon to host memory pressure (other agents' daemons on the box). Also :clock:compileDevKotlin, :clock:compileDevScreenshotTestKotlin and :clock:updateDevScreenshotTest green: all nine previews render non-blank PNGs. Note this branch's lint registry does not yet implement RouteScreenshotCoverage (it reports as an UnknownIssueId warning), so the captures satisfy the detector contract textually; the parent re-run of release lint is the deciding check.
Diff
clock/src/main/java/com/vayunmathur/clock/ui/AlarmSettingsPage.kt
diff --git a/clock/src/main/java/com/vayunmathur/clock/ui/AlarmSettingsPage.kt b/clock/src/main/java/com/vayunmathur/clock/ui/AlarmSettingsPage.ktindex 9077b97ed0..b9c4f3195b 100644--- a/clock/src/main/java/com/vayunmathur/clock/ui/AlarmSettingsPage.kt+++ b/clock/src/main/java/com/vayunmathur/clock/ui/AlarmSettingsPage.kt@@ -45,9 +45,60 @@ fun AlarmSettingsPage(backStack: NavBackStack<Route>, ds: DataStoreUtils) { } } + AlarmSettingsContent(+ ringtoneUri = ringtone,+ vibrate = vibrate,+ snoozeMinutes = snooze,+ gradualVolumeSeconds = gradual,+ onNavigateBack = { backStack.pop() },+ onRingtoneClick = {+ ringtoneLauncher.launch(+ ringtonePickerIntent(+ ringtone,+ RingtoneManager.TYPE_ALARM,+ soundTitle,+ )+ )+ },+ onVibrateChange = {+ vibrate = it+ scope.launch { ds.setBoolean(ClockViewModel.KEY_DEFAULT_VIBRATE, it) }+ },+ onSnoozeChange = {+ snooze = it+ scope.launch { ds.setLong(ClockViewModel.KEY_DEFAULT_SNOOZE, it.toLong()) }+ },+ onGradualChange = {+ gradual = it+ scope.launch { ds.setLong(ClockViewModel.KEY_DEFAULT_GRADUAL, it.toLong()) }+ },+ )+}++/**+ * The alarm-settings form itself, stateless: every value is passed in and every+ * change is reported through a callback, so the screen renders identically+ * from DataStore (in [AlarmSettingsPage]) or from literal fixtures (the+ * `src/screenshotTest` capture for `Route.AlarmSettings`). The DataStore reads,+ * the ringtone-picker launcher and the persistence writes stay in+ * [AlarmSettingsPage]; this composable only lays out the rows.+ */+@OptIn(ExperimentalMaterial3Api::class)+@Composable+internal fun AlarmSettingsContent(+ ringtoneUri: String?,+ vibrate: Boolean,+ snoozeMinutes: Int,+ gradualVolumeSeconds: Int,+ onNavigateBack: () -> Unit,+ onRingtoneClick: () -> Unit,+ onVibrateChange: (Boolean) -> Unit,+ onSnoozeChange: (Int) -> Unit,+ onGradualChange: (Int) -> Unit,+) { DetailScaffold( title = stringResource(R.string.alarm_settings),- onNavigateBack = { backStack.pop() },+ onNavigateBack = onNavigateBack, ) { Text( stringResource(R.string.defaults_for_new_alarms),@@ -55,31 +106,14 @@ fun AlarmSettingsPage(backStack: NavBackStack<Route>, ds: DataStoreUtils) { color = MaterialTheme.colorScheme.primary, ) AlarmOptionControls(- ringtoneUri = ringtone,+ ringtoneUri = ringtoneUri, vibrate = vibrate,- snoozeMinutes = snooze,- gradualVolumeSeconds = gradual,- onRingtoneClick = {- ringtoneLauncher.launch(- ringtonePickerIntent(- ringtone,- RingtoneManager.TYPE_ALARM,- soundTitle,- )- )- },- onVibrateChange = {- vibrate = it- scope.launch { ds.setBoolean(ClockViewModel.KEY_DEFAULT_VIBRATE, it) }- },- onSnoozeChange = {- snooze = it- scope.launch { ds.setLong(ClockViewModel.KEY_DEFAULT_SNOOZE, it.toLong()) }- },- onGradualChange = {- gradual = it- scope.launch { ds.setLong(ClockViewModel.KEY_DEFAULT_GRADUAL, it.toLong()) }- },+ snoozeMinutes = snoozeMinutes,+ gradualVolumeSeconds = gradualVolumeSeconds,+ onRingtoneClick = onRingtoneClick,+ onVibrateChange = onVibrateChange,+ onSnoozeChange = onSnoozeChange,+ onGradualChange = onGradualChange, ) } }
clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewAlarmDialog.kt
diff --git a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewAlarmDialog.kt b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewAlarmDialog.ktindex b7c9651611..050032222b 100644--- a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewAlarmDialog.kt+++ b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewAlarmDialog.kt@@ -37,7 +37,6 @@ import kotlinx.datetime.TimeZone import kotlinx.datetime.toLocalDateTime import kotlin.time.Clock -@OptIn(ExperimentalMaterial3Api::class) @Composable fun NewAlarmDialog( backStack: NavBackStack<Route>,@@ -47,17 +46,59 @@ fun NewAlarmDialog( initialMessage: String?, initialDays: ArrayList<Int>?, ) {- var nameState by remember { mutableStateOf(TextFieldValue(initialMessage ?: "")) } val context = LocalContext.current val nowTime = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()).time- val timePickerState = rememberTimePickerState(+ NewAlarmDialogContent( initialHour = initialHour ?: nowTime.hour, initialMinute = initialMinutes ?: nowTime.minute,+ initialMessage = initialMessage, is24Hour = DateFormat.is24HourFormat(context),+ onDismiss = { backStack.pop() },+ onConfirm = { name, time ->+ var daysMask = 0+ // Only Calendar.SUNDAY..SATURDAY (1..7) are weekdays;+ // other values arriving via the SET_ALARM intent are ignored.+ initialDays?.forEach { day ->+ if (day in 1..7) daysMask = daysMask or (1 shl (day - 1))+ }+ val newAlarm = clockViewModel.buildDefaultAlarm(time, name, daysMask)+ clockViewModel.upsert(newAlarm) { id ->+ AlarmScheduler.schedule(context, newAlarm.copy(id = id))+ }+ backStack.pop()+ },+ )+}++/**+ * The new-alarm dialog itself, stateless apart from the label field+ * (dialog-local input, like a rename field): the initial time, label and+ * 24-hour mode are passed in and the confirmed label plus picked time are+ * reported through a callback, so the dialog renders identically from the+ * route entry (in [NewAlarmDialog], which supplies the current time when the+ * route carries none) or from literal fixtures (the `src/screenshotTest`+ * capture for `Route.NewAlarmDialog`). Building, persisting and scheduling+ * the alarm stay in [NewAlarmDialog].+ */+@OptIn(ExperimentalMaterial3Api::class)+@Composable+internal fun NewAlarmDialogContent(+ initialHour: Int,+ initialMinute: Int,+ initialMessage: String?,+ is24Hour: Boolean,+ onDismiss: () -> Unit,+ onConfirm: (name: String, time: LocalTime) -> Unit,+) {+ var nameState by remember { mutableStateOf(TextFieldValue(initialMessage ?: "")) }+ val timePickerState = rememberTimePickerState(+ initialHour = initialHour,+ initialMinute = initialMinute,+ is24Hour = is24Hour, ) AlertDialog(- onDismissRequest = { backStack.pop() },+ onDismissRequest = onDismiss, title = { Text(stringResource(R.string.label_alarm)) }, text = { Column(@@ -85,25 +126,14 @@ fun NewAlarmDialog( confirmButton = { Button( onClick = {- val time = LocalTime(timePickerState.hour, timePickerState.minute)- var daysMask = 0- // Only Calendar.SUNDAY..SATURDAY (1..7) are weekdays;- // other values arriving via the SET_ALARM intent are ignored.- initialDays?.forEach { day ->- if (day in 1..7) daysMask = daysMask or (1 shl (day - 1))- }- val newAlarm = clockViewModel.buildDefaultAlarm(time, nameState.text, daysMask)- clockViewModel.upsert(newAlarm) { id ->- AlarmScheduler.schedule(context, newAlarm.copy(id = id))- }- backStack.pop()+ onConfirm(nameState.text, LocalTime(timePickerState.hour, timePickerState.minute)) }, ) { Text(stringResource(UiR.string.save)) } }, dismissButton = {- TextButton(onClick = { backStack.pop() }) {+ TextButton(onClick = onDismiss) { Text(stringResource(UiR.string.cancel)) } },
clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewTimerDialog.kt
diff --git a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewTimerDialog.kt b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewTimerDialog.ktindex 6f7a554325..171f522ebb 100644--- a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewTimerDialog.kt+++ b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/NewTimerDialog.kt@@ -46,8 +46,40 @@ fun NewTimerDialog( initialLengthSeconds: Int? = null, initialMessage: String? = null ) {- var name by remember { mutableStateOf(initialMessage ?: "") }- + val context = LocalContext.current+ NewTimerDialogContent(+ initialName = initialMessage ?: "",+ initialLengthSeconds = initialLengthSeconds,+ onDismiss = { backStack.pop() },+ onConfirm = { name, h, m, s ->+ val duration = h.hours + m.minutes + s.seconds+ val timer = Timer(true, name, Clock.System.now(), duration, duration, remainingStartElapsedRealtime = com.vayunmathur.clock.platform.DualTimeBase.elapsedRealtimeMs())+ clockViewModel.upsert(timer) {+ sendTimerNotification(context, timer.copy(id = it), true)+ }+ backStack.pop()+ },+ )+}++/**+ * The new-timer dialog itself, stateless apart from the label and duration+ * fields (dialog-local input, like a rename field): the initial values are+ * passed in and the confirmed label plus hours/minutes/seconds are reported+ * through a callback, so the dialog renders identically from the route entry+ * (in [NewTimerDialog]) or from literal fixtures (the `src/screenshotTest`+ * capture for `Route.NewTimerDialog`). Creating and persisting the timer and+ * posting its notification stay in [NewTimerDialog].+ */+@Composable+internal fun NewTimerDialogContent(+ initialName: String,+ initialLengthSeconds: Int?,+ onDismiss: () -> Unit,+ onConfirm: (name: String, hours: Int, minutes: Int, seconds: Int) -> Unit,+) {+ var name by remember { mutableStateOf(initialName) }+ // Internal state is just the raw digits (up to 6) var timeInput by remember { mutableStateOf(@@ -59,11 +91,9 @@ fun NewTimerDialog( } ?: "" ) }- - val context = LocalContext.current AlertDialog(- onDismissRequest = { backStack.pop() },+ onDismissRequest = onDismiss, title = { Text(stringResource(R.string.label_new_timer)) }, text = { Column(@@ -115,14 +145,9 @@ fun NewTimerDialog( val h = padded.substring(0, 2).toIntOrNull() ?: 0 val m = padded.substring(2, 4).toIntOrNull() ?: 0 val s = padded.substring(4, 6).toIntOrNull() ?: 0- + if (h > 0 || m > 0 || s > 0) {- val duration = h.hours + m.minutes + s.seconds- val timer = Timer(true, name, Clock.System.now(), duration, duration, remainingStartElapsedRealtime = com.vayunmathur.clock.platform.DualTimeBase.elapsedRealtimeMs())- clockViewModel.upsert(timer) {- sendTimerNotification(context, timer.copy(id = it), true)- }- backStack.pop()+ onConfirm(name, h, m, s) } }, enabled = timeInput.isNotEmpty() && timeInput.any { it != '0' }@@ -131,7 +156,7 @@ fun NewTimerDialog( } }, dismissButton = {- TextButton(onClick = { backStack.pop() }) {+ TextButton(onClick = onDismiss) { Text(stringResource(UiR.string.cancel)) } }
clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.kt
diff --git a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.kt b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.ktindex fa5fd96ed8..0d5f198319 100644--- a/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.kt+++ b/clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.kt@@ -1,4 +1,6 @@ package com.vayunmathur.clock.ui.dialogs++// SCAFFOLD SEARCH EXCEPTION: dialog-local city filter inside a DialogPage with no scaffold host import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer@@ -67,7 +69,36 @@ fun SelectTimeZonesDialog(backStack: NavBackStack<Route>, ds: DataStoreUtils, cl pinned + rest } }- Dialog({ backStack.pop() }) {+ SelectTimeZonesDialogContent(+ options = filteredOptions.map { (city, id, _) -> city to id },+ selectedCities = selectedCities.orEmpty().toSet(),+ searchQuery = searchQuery,+ onSearchChange = { searchQuery = it },+ onToggle = { city -> scope.launch { WorldClockCities.toggle(ds, city) } },+ onDismiss = { backStack.pop() },+ )+}++/**+ * The city-picker dialog itself, stateless: the already-filtered [options]+ * (city name to time-zone ID, selected cities pinned first by the caller),+ * the [selectedCities] set and the search query are passed in, and toggles are+ * reported through a callback, so the dialog renders identically from the+ * ViewModel/DataStore (in [SelectTimeZonesDialog]) or from literal fixtures+ * (the `src/screenshotTest` capture for `Route.SelectTimeZonesDialog`).+ * Loading the city map, filtering it off the main thread and persisting+ * toggles stay in [SelectTimeZonesDialog]; this composable only lays out rows.+ */+@Composable+internal fun SelectTimeZonesDialogContent(+ options: List<Pair<String, String>>,+ selectedCities: Set<String>,+ searchQuery: String,+ onSearchChange: (String) -> Unit,+ onToggle: (String) -> Unit,+ onDismiss: () -> Unit,+) {+ Dialog(onDismiss) { Card( modifier = Modifier .fillMaxWidth()@@ -79,7 +110,7 @@ fun SelectTimeZonesDialog(backStack: NavBackStack<Route>, ds: DataStoreUtils, cl OutlinedTextField( value = searchQuery,- onValueChange = { searchQuery = it },+ onValueChange = onSearchChange, label = { Text(stringResource(R.string.search_city_hint)) }, singleLine = true, modifier = Modifier.fillMaxWidth()@@ -88,16 +119,15 @@ fun SelectTimeZonesDialog(backStack: NavBackStack<Route>, ds: DataStoreUtils, cl Spacer(Modifier.height(8.dp)) LazyColumn(Modifier.weight(1f)) {- items(filteredOptions, key = { (city, _) -> city }) { (city, id) ->- val isSelected = city in selectedCities.orEmpty()- val toggle = { scope.launch { WorldClockCities.toggle(ds, city) } }+ items(options, key = { (city, _) -> city }) { (city, id) ->+ val isSelected = city in selectedCities ListItem( content = { Text(city) }, supportingContent = { Text(id, style = MaterialTheme.typography.labelSmall) }, trailingContent = {- Checkbox(checked = isSelected, onCheckedChange = { toggle() })+ Checkbox(checked = isSelected, onCheckedChange = { onToggle(city) }) },- modifier = Modifier.clickable { toggle() },+ modifier = Modifier.clickable { onToggle(city) }, colors = ListItemDefaults.colors(Color.Transparent) ) }
clock/src/screenshotTest/kotlin/com/vayunmathur/clock/ui/MetadataPreviews.kt
diff --git a/clock/src/screenshotTest/kotlin/com/vayunmathur/clock/ui/MetadataPreviews.kt b/clock/src/screenshotTest/kotlin/com/vayunmathur/clock/ui/MetadataPreviews.ktindex 30b3bf3e57..cd26cc1bd6 100644--- a/clock/src/screenshotTest/kotlin/com/vayunmathur/clock/ui/MetadataPreviews.kt+++ b/clock/src/screenshotTest/kotlin/com/vayunmathur/clock/ui/MetadataPreviews.kt@@ -16,7 +16,11 @@ import com.vayunmathur.clock.platform.StopwatchUiState import com.vayunmathur.clock.platform.TimerActions import com.vayunmathur.clock.platform.TimerUiState import com.vayunmathur.clock.platform.WorldClock+import com.vayunmathur.clock.ui.dialogs.NewAlarmDialogContent+import com.vayunmathur.clock.ui.dialogs.NewTimerDialogContent+import com.vayunmathur.clock.ui.dialogs.SelectTimeZonesDialogContent import com.vayunmathur.library.ui.DynamicTheme+import com.vayunmathur.library.ui.dialog.TimePickerDialogContent import com.vayunmathur.library.ui.IconAccessTime import com.vayunmathur.library.ui.IconAlarm import com.vayunmathur.library.ui.IconHourglass@@ -62,6 +66,13 @@ private val MORNING = Instant.parse("2026-02-13T17:41:09Z") * Previews render through [ChromePreview] โ the real [TabbedPagerScaffold] with the * app's real tabs โ not bare screens, so the bottom bar users see is in the shot. * Only the selected tab is literal.+ *+ * Coverage beyond the four tabs: `AlarmSettings` from its stateless+ * [AlarmSettingsContent] slice, and the four dialog routes+ * (`SelectTimeZonesDialog`, `NewTimerDialog`, `NewAlarmDialog`,+ * `AlarmSetTimeDialog`) from their stateless dialog contents, all on phone.+ * The alarm-set-time dialog is the shared library time picker, rendered with+ * a fixed time and a throwaway nav-result registry like [AlarmContent]. */ class MetadataPreviews { @@ -92,6 +103,95 @@ class MetadataPreviews { fun Preview4Stopwatch() { ChromePreview(selectedTab = 3) }++ @PreviewTest+ @Preview(name = "5-alarm-settings", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview5AlarmSettings() {+ DynamicTheme(darkTheme = true) {+ AlarmSettingsContent(+ ringtoneUri = null,+ vibrate = true,+ snoozeMinutes = 5,+ gradualVolumeSeconds = 0,+ onNavigateBack = {},+ onRingtoneClick = {},+ onVibrateChange = {},+ onSnoozeChange = {},+ onGradualChange = {},+ )+ }+ }++ @PreviewTest+ @Preview(name = "6-select-time-zones-dialog", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview6SelectTimeZonesDialog() {+ DynamicTheme(darkTheme = true) {+ SelectTimeZonesDialogContent(+ options = listOf(+ "London" to "Europe/London",+ "Tokyo" to "Asia/Tokyo",+ "New York" to "America/New_York",+ "Paris" to "Europe/Paris",+ "San Francisco" to "America/Los_Angeles",+ "Sydney" to "Australia/Sydney",+ ),+ selectedCities = setOf("London", "Tokyo"),+ searchQuery = "",+ onSearchChange = {},+ onToggle = {},+ onDismiss = {},+ )+ }+ }++ @PreviewTest+ @Preview(name = "7-new-timer-dialog", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7NewTimerDialog() {+ DynamicTheme(darkTheme = true) {+ NewTimerDialogContent(+ initialName = "Tea",+ initialLengthSeconds = 300,+ onDismiss = {},+ onConfirm = { _, _, _, _ -> },+ )+ }+ }++ @PreviewTest+ @Preview(name = "8-new-alarm-dialog", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview8NewAlarmDialog() {+ DynamicTheme(darkTheme = true) {+ NewAlarmDialogContent(+ initialHour = 7,+ initialMinute = 30,+ initialMessage = "Wake up",+ is24Hour = false,+ onDismiss = {},+ onConfirm = { _, _ -> },+ )+ }+ }++ @PreviewTest+ @Preview(name = "9-alarm-set-time-dialog", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview9AlarmSetTimeDialog() {+ DynamicTheme(darkTheme = true) {+ // The shared time picker dispatches through LocalNavResultRegistry,+ // so hand it a throwaway one like AlarmContent โ no preview confirms.+ CompositionLocalProvider(LocalNavResultRegistry provides remember { NavResultRegistry() }) {+ TimePickerDialogContent(+ backStack = rememberNavBackStack<Route>(Route.Alarm, Route.AlarmSetTimeDialog(1L, LocalTime(6, 30))),+ resultKey = "alarm_set_time_1",+ initialTime = LocalTime(6, 30),+ )+ }+ }+ } } @Composable
docs/structure/exceptions.tsv
diff --git a/docs/structure/exceptions.tsv b/docs/structure/exceptions.tsvindex 75c6e32330..5d0e961021 100644--- a/docs/structure/exceptions.tsv+++ b/docs/structure/exceptions.tsv@@ -27,6 +27,7 @@ RAW_SCAFFOLD music/src/main/java/com/vayunmathur/music/ui/NowPlayingScreen.kt ne SCAFFOLD_SEARCH astronomy/src/main/java/com/vayunmathur/astronomy/ui/SearchScreen.kt full-bleed sky-map screen with TopAppBarOverlay chrome; no scaffold host for the catalog search field 1 SCAFFOLD_SEARCH calendar/src/main/java/com/vayunmathur/calendar/ui/HolidayCalendarsScreen.kt language-picker dialog-local search filter in this file; the screen's country search uses the scaffold search parameter 1 SCAFFOLD_SEARCH calendar/src/main/java/com/vayunmathur/calendar/ui/dialogs/TimezonePickerDialog.kt dialog-local timezone filter inside a picker dialog; no scaffold host 1+SCAFFOLD_SEARCH clock/src/main/java/com/vayunmathur/clock/ui/dialogs/SelectTimeZonesDialog.kt dialog-local city filter inside a DialogPage with no scaffold host 1 SCAFFOLD_SEARCH communicate/src/main/java/com/vayunmathur/communicate/ui/NewMessagePicker.kt dialog-local contact filter inside the NewMessage dialog route, no scaffold host 1 SCAFFOLD_SEARCH health/src/main/java/com/vayunmathur/health/ui/IngredientSearchDialog.kt dialog-local ingredient search inside an AlertDialog; no scaffold host 1 SCAFFOLD_SEARCH launcher/src/main/java/com/vayunmathur/launcher/ui/DrawerContent.kt app-drawer overlay over the home screen (not a scaffold screen); apps must stay draggable into the home gesture root 1