pending.nvim/lua/pending
Barrett Ruth 969dbd299f
feat(views): make queue view sort order configurable (#154)
Problem: the queue/priority view sort in `sort_tasks_priority()` uses a
hardcoded tiebreak chain (status, priority, due, order, id). Users who
care more about due dates than priority have no way to reorder it.

Solution: add `view.queue.sort` config field (string[]) that defines an
ordered tiebreak chain. `build_queue_comparator()` maps each key to a
comparison function and returns a single comparator. Unknown keys emit a
`log.warn`. The default matches the previous hardcoded behavior.
2026-03-12 20:29:04 -04:00
..
sync refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-12 20:29:02 -04:00
buffer.lua feat(views): add hide_done_categories config option (#153) 2026-03-12 20:29:03 -04:00
complete.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-12 20:29:02 -04:00
config.lua feat(views): make queue view sort order configurable (#154) 2026-03-12 20:29:04 -04:00
diff.lua fix(parse): skip forge refs in right-to-left metadata scan (#142) 2026-03-12 20:29:02 -04:00
forge.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-12 20:29:02 -04:00
health.lua refactor(forge): simplify auth gating (#139) 2026-03-12 20:29:02 -04:00
init.lua feat(views): add hide_done_categories config option (#153) 2026-03-12 20:29:03 -04:00
log.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
parse.lua fix(parse): skip forge refs in right-to-left metadata scan (#142) 2026-03-12 20:29:02 -04:00
recur.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-12 20:29:02 -04:00
store.lua refactor: tighten LuaCATS annotations and canonicalize metadata fields (#141) 2026-03-12 20:29:02 -04:00
textobj.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
views.lua feat(views): make queue view sort order configurable (#154) 2026-03-12 20:29:04 -04:00