PNI list: status chips, value line, worth-it tag, filters and groups by type (#175, #172)

This commit is contained in:
Frederic Jung 2026-10-29 19:07:44 +01:00
parent 2699634e0f
commit d48fdbf2e5
No known key found for this signature in database
13 changed files with 217 additions and 10 deletions

View file

@ -0,0 +1,6 @@
// The PNI list's filter, sort and folded groups (#175, #172): view state only, never saved.
Object.assign(ACT,{
pniFilter:({f})=>{UI.pniF=['all','t','worth','pni'].includes(f)?f:'all';listReset('pni');renderPanel();},
pniGrp:({g,o})=>{if(!PNI_GRP.includes(g))return;UI.pniOpen=UI.pniOpen||{};UI.pniOpen[g]=!!o;renderPanel();},
pniSort:()=>{UI.pniSort=UI.pniSort==='az'?'worth':'az';renderPanel();},
});