GET /api/v2/chats?archived=true a page at a time, from a drawer entry under Scheduled; a tap opens the chat, Restore chat PATCHes archived=false and refreshes the drawer. Shots 27-archived (+ small, large type) and -none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
16 files changed
+250
-1
No files matched your search
@@ -28,6 +28,9 @@ import eu.llembas.android.ui.chat.ChatContent
|
||||
import eu.llembas.android.ui.chat.ModelPickerContent
|
||||
import eu.llembas.android.ui.chat.TuneContent
|
||||
import eu.llembas.android.ui.chat.modelId
|
||||
import eu.llembas.android.ui.home.ArchivedActions
|
||||
import eu.llembas.android.ui.home.ArchivedContent
|
||||
import eu.llembas.android.ui.home.ChatsState
|
||||
import eu.llembas.android.ui.home.DrawerActions
|
||||
import eu.llembas.android.ui.home.DrawerContent
|
||||
import eu.llembas.android.ui.scheduled.RunContent
|
||||
@@ -50,6 +53,8 @@ private object NoChatActions : ChatActions
|
||||
|
||||
private object NoDrawerActions : DrawerActions
|
||||
|
||||
private object NoArchivedActions : ArchivedActions
|
||||
|
||||
private object NoActivityActions : ActivityActions
|
||||
|
||||
private object NoSettingsActions : SettingsActions
|
||||
@@ -232,6 +237,13 @@ class ScreenShots {
|
||||
|
||||
@Test
|
||||
fun schedulingModels() = shoot("13-scheduling-models") { SchedulingModelsContent(Fakes.schedulingModels) }
|
||||
|
||||
@Test
|
||||
fun archived() {
|
||||
shoot("27-archived") { ArchivedContent(Fakes.chats, NoArchivedActions) }
|
||||
shoot("27-archived", Phone.Small, fontScale = 1.5f) { ArchivedContent(Fakes.chats, NoArchivedActions) }
|
||||
shoot("27-archived-none") { ArchivedContent(ChatsState(), NoArchivedActions) }
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user