Subagents: one range slider, Min and Max, counting the chat's own agent
CI / check (push) Canceled after 0s
CI / check (push) Canceled after 0s
- The two Fewest/Most sliders become one Material 3 RangeSlider from 1 to the server's cap,
whole agents with no tick per value, the values above it ("Min 1 · Max 4"), thumbs described
Min and Max for TalkBack, theme colours only.
- The hint says what the numbers count: 1 is the agent alone, no subagents; Max 4 is the agent
and up to 3 subagents. The options button says "Subagents: Min 1 · Max 4".
- Strings regenerated at server 90a47ba, all eight languages (pl also picks up the Podagenci
wording strings_own.json already had).
- Shots: 07-tune at 411x2000, 07-tune-one-at-a-time at 1.5x type, 07-tune-alone (Min 1 · Max 1)
at 360x2000 and 1.5x type.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
16 files changed
+150
-86
No files matched your search
@@ -190,6 +190,11 @@ object Fakes {
|
||||
chat = tuned.chat!!.copy(agents = AgentsSetting(2, 3), subagents = SubagentsOffer(offered = true, namedOnly = true, cap = 6)),
|
||||
)
|
||||
|
||||
/** The agent alone: Min 1 · Max 1, no subagents, on an instance that caps a chat at 8. */
|
||||
val tunedAlone = tuned.copy(
|
||||
chat = tuned.chat!!.copy(agents = AgentsSetting(1, 1), subagents = SubagentsOffer(offered = true, cap = 8)),
|
||||
)
|
||||
|
||||
val chats = ChatsState(
|
||||
chats = listOf(
|
||||
chat,
|
||||
|
||||
@@ -106,6 +106,11 @@ class ScreenShots {
|
||||
fun tune() {
|
||||
shoot("07-tune") { SheetOver { TuneContent(Fakes.tuned, NoChatActions, agent = false) } }
|
||||
shoot("07-tune-one-at-a-time") { SheetOver { TuneContent(Fakes.tunedOneAtATime, NoChatActions, agent = false) } }
|
||||
// The Subagents range whole, at a cap of 32 and of 6, and the agent alone (Min 1 · Max 1)
|
||||
// at the narrow phone and large type.
|
||||
shoot("07-tune", Phone.Scroll) { SheetOver { TuneContent(Fakes.tuned, NoChatActions, agent = false) } }
|
||||
shoot("07-tune-one-at-a-time", Phone.Scroll, fontScale = 1.5f) { SheetOver { TuneContent(Fakes.tunedOneAtATime, NoChatActions, agent = false) } }
|
||||
shoot("07-tune-alone", Phone.SmallScroll, fontScale = 1.5f) { SheetOver { TuneContent(Fakes.tunedAlone, NoChatActions, agent = false) } }
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -16,12 +16,14 @@ import eu.llembas.android.ui.theme.LembasTheme
|
||||
|
||||
/**
|
||||
* The phones the screens are looked at on: a large one, and a small one where things crowd.
|
||||
* [Scroll] is the large one's width, tall enough to see a sheet's whole scroll at once.
|
||||
* [Scroll] is the large one's width, tall enough to see a sheet's whole scroll at once;
|
||||
* [SmallScroll] the same for the small one.
|
||||
*/
|
||||
enum class Phone(val tag: String, val widthDp: Int, val heightDp: Int) {
|
||||
Large("411x891", 411, 891),
|
||||
Small("360x640", 360, 640),
|
||||
Scroll("411x2000", 411, 2000),
|
||||
SmallScroll("360x2000", 360, 2000),
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user