Skip to content

fix(tui): make task sidebar glyph reactive so status updates in real-…#1134

Open
ukarpenkov wants to merge 1 commit into
XiaomiMiMo:mainfrom
ukarpenkov:fix/tui-sidebar-task-status-reactive
Open

fix(tui): make task sidebar glyph reactive so status updates in real-…#1134
ukarpenkov wants to merge 1 commit into
XiaomiMiMo:mainfrom
ukarpenkov:fix/tui-sidebar-task-status-reactive

Conversation

@ukarpenkov

@ukarpenkov ukarpenkov commented Jun 19, 2026

Copy link
Copy Markdown

…time

The glyph (✓/⏸/✗/ ) in TaskItem was a plain variable computed once on mount, so it never updated when a task changed status. This caused the sidebar to show [ ] instead of [✓] after marking a task done (Fixes #926).

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

…time

The glyph (✓/⏸/✗/ ) in TaskItem was a plain variable computed once on mount,
so it never updated when a task changed status. This caused the sidebar to
show [ ] instead of [✓] after marking a task done (Fixes XiaomiMiMo#926).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]右侧SIDE BAR任务DONE状态后没有进行界面更新

1 participant