fix: centre the context ring, show a live status while running, and settle project rows

- The folded composer aligns to its bottom edge, so the 16px usage ring sat
  below the 36px keys; a 10px bottom padding puts it on their centre line (the
  two-row layout was already centred).
- A running turn no longer shows the finished turn's footer (model · mode ·
  time, with its copy/fork menu). Above the input there is now an activity
  strip like dsh-Go's: "思考中 / 正在回复 / 正在读取 · …" with the current
  step's summary and a clock that ticks each second.
- Project headers in the sidebar are tinted bands at least a session row tall,
  with a folder icon, a bolder name and the path beneath, so the project and
  its sessions read as different levels.
- Project names take the last path segment with either separator, and path
  comparisons unify `\`/`/` (case-insensitively for drive-letter paths); the
  grouping key does too, so a Windows server no longer shows a full path or
  splits one project in two.
- 0.3.19 (319).
This commit is contained in:
blumia committed 2026-11-22 11:59:33 +08:00
1 parent d9d5424318
commit 6ced914757
9 files changed
+272 -56

No files matched your search

+7 -1
View File
@@ -187,7 +187,13 @@ class _ComposerBoxState extends State<ComposerBox> {
Expanded(child: _field()),
const SizedBox(width: 4),
if (accessory != null) ...[
accessory,
// The keys are 36 high and the row aligns to its bottom:
// lift the smaller accessory by half the difference so it
// sits on the keys' centre line, not below it.
Padding(
padding: const EdgeInsets.only(bottom: 10),
child: accessory,
),
const SizedBox(width: 2),
],
widget.trailing,