You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d3d16f
Browse filesBrowse the repository at this point in the historyBrowse files
fix: three ways the app disagreed with itself, found by an end-to-end pass
Walked the whole journey on a device — add with every field, detail edits,
search, filters, reports, sync — and fixed what surfaced:
1. A typed-but-unsubmitted tag was silently dropped on save, on both surfaces
that edit tags. A tag only enters the committed list on enter, a separator,
or a suggestion tap; text still sitting in the field when Save is tapped was
invisible to the save path, which then wiped it. Typing "urgent" and hitting
Save produced an untagged task that claimed success. The widget now reports
its raw text to the parent, and all four save paths (three add-sheet
handlers, the detail tag editor) adopt pending text as a final tag — saving
is as clear a submission as pressing enter. Also moved the tag-list listener
from build() to initState(): it was stacking a new listener on every rebuild.
2. The taskd list had two search implementations that disagreed on case.
search() lowercases both sides; the re-filter that runs on every sort or
filter change compared raw, so the same query returned different results
before and after a refresh. Both lowercase now, matching replica mode.
3. The filter drawer matched project by exact string, so selecting "work" hid
"work.sub" tasks — while the report engine, three screens away, already used
Taskwarrior's hierarchy rule (dot boundary, so "workshop" stays excluded).
The rule is now public on VirtualFilterEngine and the drawer calls it; five
tests pin the seam directly.
Tested: 422 Dart tests pass (5 new), analyze clean. Verified on device: a tag
typed without enter survives save on both surfaces and a re-open; project
filtering still works; the report builder's live count, custom-report save to
.taskrc, and run all work end to end.
0 commit comments