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:
1 parent
d3e92f036a
commit
0e34d82a06
5 files changed
+135
-4
No files matched your search
@@ -10,6 +10,10 @@ import (
|
||||
// have no server glyph on Android, and an SVG keeps it crisp at any size.
|
||||
var serverIcon = svg.MustParse(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="8" x="2" y="2" rx="2"/><rect width="20" height="8" x="2" y="14" rx="2"/><line x1="6" x2="6.01" y1="6" y2="6"/><line x1="6" x2="6.01" y1="18" y2="18"/></svg>`)
|
||||
|
||||
// sparklesIcon marks the turn footer. Drawn here for the same reason as
|
||||
// the server icon: not every platform's symbol set has the name.
|
||||
var sparklesIcon = svg.MustParse(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l1.7 4.3L18 9l-4.3 1.7L12 15l-1.7-4.3L6 9l4.3-1.7L12 3z"/><path d="M19 15l.8 1.9L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-1.1L19 15z"/></svg>`)
|
||||
|
||||
// instancesButton opens the server list: one button, because picking a
|
||||
// server is also how the live one is replaced.
|
||||
func (c *controller) instancesButton() ui.Node {
|
||||
|
||||
Reference in new issue
Block a user