feat: actions under user messages, and a dependable footer icon

Every prompt now carries a row with its time, a copy button and a menu
(copy message, fork before this prompt), matching the first-party
client. The turn footer's sparkles became an inline SVG: the platform
symbol table left an empty square on some devices.

Bump version to 0.1.10 (build 11).
This commit is contained in:
blumia committed 2026-11-16 19:55:05 +08:00
1 parent d3e92f036a
commit 0e34d82a06
5 files changed
+135 -4

No files matched your search

+15
View File
@@ -333,3 +333,18 @@ func TestForkFromTurnFooter(t *testing.T) {
t.Fatal("no fork request reached the server")
}
}
func TestUserMessageActions(t *testing.T) {
srv := newChatServer(t)
a := uitest.Mount(t, func() ui.Node { return rootWithStore(&memStore{}) }, uitest.Platform(ui.PlatformAndroid))
connectViaForm(t, a, srv.URL)
a.WaitFor("First session")
a.Tap("First session")
a.WaitFor("What is this?")
a.Expect("复制消息")
a.Tap("消息操作")
a.WaitFor("从这里分叉")
a.Expect("复制消息")
a.Back()
}