- commit
- 1bfcd2bd3d2e32e1274da479dd8b7a17018ad020
- parent
- c07c641147fd6669c4a33c7a97cce53a9cbcaead
- author
- dami etoile <dami.etoile@gmail.com>
| M | dashboard/ | 2 | +- |
| M | dashboard/ | 4 | ++++ |
@@ -500,7 +500,7 @@
500500 )501501 ) : h("p", { className: "os-empty" }, "Select a spec.")502502 );503- })() : h("p", { className: "os-empty" }, "No specs found.")503+ })() : h("p", { className: "os-empty" }, mode === "dirty" ? "No changes between HEAD and worktree." : mode === "refs" ? "No differences between refs." : "No specs found.")504504 );505505 }506506 @@ -607,6 +607,10 @@ def _spec_browser(root: Path, before: str = "", after: str = "", dirty: bool = F
607607 mtime = None608608 ctime = None609609 status = _spec_status(before_content, after_content)610+ # In dirty mode, skip unchanged specs — only show what's actually611+ # different between HEAD and the worktree.612+ if dirty_mode and status in ("unchanged", "missing"):613+ continue610614 files.append({611615 "path": rel,612616 "token": _change_token(f"spec:{rel}"),