Reduce repeated status noise in TUI v2

This commit is contained in:
thePR0M3TH3AN committed 2026-03-01 17:00:06 -05:00
1 parent e1b87ff2df
commit feb4e0df8c
2 files changed
+6

No files matched your search

+2
View File
@@ -204,3 +204,5 @@
- Added document dirty-state UX improvements (`Edit mode [*]` marker, no-op save guard) and updated Textual interaction/parity tests for Textual 8-compatible action-driven control paths.
- 2026-03-01: Visual polish pass for TUI v2 updated panel styling hierarchy (stronger status/pane contrast), refined left-panel summaries, improved help overlay readability, and added labeled headers for entry/detail and links sections.
- UI copy now emphasizes current selection/filter context while keeping deterministic action affordances unchanged; full TUI-focused test slice remains green.
- 2026-03-01: Reduced TUI v2 status noise by deduplicating repeated status messages before appending to status bar/activity log.
- Verified critical coverage gate against existing full coverage artifact (`artifacts/coverage/coverage.json`): all default threshold modules pass (main/core manager/core encryption/core migrations).
+4
View File
@@ -259,6 +259,7 @@ def launch_tui2(
self._focus_pane = "center"
self._doc_dirty = False
self._doc_snapshot: dict[str, Any] = {}
self._last_status_message = ""
try:
self._service = (
entry_service_factory() if callable(entry_service_factory) else None
@@ -281,6 +282,9 @@ def launch_tui2(
self._load_entries()
def _set_status(self, message: str) -> None:
if message == self._last_status_message:
return
self._last_status_message = message
mode = (
"PALETTE"
if self.palette_open