Director's Chair: Premiere proposals are view-only while booking is off
No placing or dropping from a Premiere card until Paul approves booking, so nothing is written for them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -419,7 +419,9 @@ private fun ChairPopup(choice: ChairChoice, onPlace: (DeskOption) -> Unit, onDro
|
||||
else Text("Premiere booking switches on once you approve it", color = ChairGold, fontSize = 10.sp)
|
||||
}
|
||||
// Asks show both channels from the start; a pick shows its suggestion, and the other fits on Change channel.
|
||||
val shown = when { choice.ask || others -> choice.options; else -> choice.options.take(1) }
|
||||
// A Premiere proposal is view-only while booking is off: no placing, no dropping, nothing written.
|
||||
val viewOnly = choice.firstRun != null && !PREMIERE_BOOKING_ACTIVE
|
||||
val shown = when { viewOnly -> emptyList(); choice.ask || others -> choice.options; else -> choice.options.take(1) }
|
||||
shown.forEachIndexed { i, option ->
|
||||
Row(Modifier.fillMaxWidth().background(ChairPanel, RoundedCornerShape(6.dp)).padding(10.dp), verticalAlignment = androidx.compose.ui.Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.spacedBy(12.dp)) {
|
||||
@@ -431,9 +433,9 @@ private fun ChairPopup(choice: ChairChoice, onPlace: (DeskOption) -> Unit, onDro
|
||||
}
|
||||
}
|
||||
Row(horizontalArrangement = Arrangement.spacedBy(10.dp)) {
|
||||
if (!choice.ask && !others && choice.options.size > 1) OrbitButton("Change channel", onClick = { others = true })
|
||||
OrbitButton("Drop", if (choice.options.isEmpty()) Modifier.focusRequester(firstButton) else Modifier, onClick = onDrop)
|
||||
OrbitButton("Not now", onClick = onClose)
|
||||
if (!viewOnly && !choice.ask && !others && choice.options.size > 1) OrbitButton("Change channel", onClick = { others = true })
|
||||
if (!viewOnly) OrbitButton("Drop", if (choice.options.isEmpty()) Modifier.focusRequester(firstButton) else Modifier, onClick = onDrop)
|
||||
OrbitButton(if (viewOnly) "Close" else "Not now", if (viewOnly) Modifier.focusRequester(firstButton) else Modifier, onClick = onClose)
|
||||
}
|
||||
Text("Placing adds it to that channel's own list; it joins at the next top-up and nothing already booked changes. Drop keeps it off the Chair.",
|
||||
color = Muted, fontSize = 10.sp)
|
||||
|
||||
Reference in New Issue
Block a user