On branch main

Your branch is up to date with 'origin/main'.

Accounts:
the account panel now sorts from most free to least free. Fewer Busy tasks come first, and ties go alphabetically.

Tasks:
they now sort by status, then account A–Z, then wait time, then task name.

Status order:
Limit reset, Testing, Prompt, Wait, Uploading, Frozen, Done.

Account order: it ignores case. Tasks with no account come last in their status group.
Wait time: it only matters among tasks that have the same status and the same account.

Changes to be committed:
	modified:   README.md
	modified:   include/Status.h
	modified:   include/StringUtil.h
	modified:   src/Display.cpp
	modified:   src/Status.cpp
	modified:   src/StringUtil.cpp
This commit is contained in:
alejo committed 2026-10-17 11:59:35 -03:00
1 parent 4c69c164e4
commit 04fa2b1b20
6 files changed
+69 -53

No files matched your search

+6 -4
View File
@@ -72,13 +72,15 @@ goes back to `$VISUAL` / `$EDITOR` / nano / vim / vi. The choice is stored in
to save if there are unsaved changes.
* The stored status is never shown directly: a `wait` task displays as
`Wait HH:MM` until that time passes, then as `Limit reset`. Tasks are sorted
by the computed status. The panels are cleared and redrawn after changes.
* Account panel: one row per account. `Busy` while any of its tasks is
Testing or Wait (those tasks are listed), otherwise `Free`
by computed status (Limit reset, Testing, Prompt, Wait, Uploading, Frozen,
Done), then account A-Z (unassigned last), then wait time, then name. The panels are cleared and redrawn after changes.
* Account panel: one row per account, sorted from most free to least free.
`Busy` while any of its tasks is Testing or Wait (those tasks are listed),
otherwise `Free`; fewer busy tasks sorts first, ties by name
(see `Display::renderAccounts` / `StatusUtil::isBusy` to change the rules).
* Deleting an account leaves its tasks unassigned (`-`).
* Names are case-insensitive; the original spelling is kept.
* Notes live in the database (SQLite TEXT, binary-safe, SQLite's default limit is ~1 GB). Multi-line notes show on one line in the table, in full.
* Notes live in the database (SQLite TEXT, binary-safe, SQLite's default limit is ~1 GB). The task table shows `-` when a task has no notes, otherwise the number of lines (e.g. `3 lines`); open them with `tsk notes <name>`.
## Layout