A dashboard tab listing the cities with no POP yet

The dashboard shows what you have built, not what you haven't. The new tab lists every city you could still open, with its eyeballs, exchange and price, and sorts, filters by region and pages like the other long lists. Open selects the city on the map, so a build still goes through the city panel and its warnings. The tab also works in the NOC window.
This commit is contained in:
Christopher Hawker 2026-11-05 18:26:44 +11:00
parent b8d313b029
commit 0cdbef97fe
17 changed files with 227 additions and 8 deletions

View file

@ -56,7 +56,8 @@ const API_DOMAINS={
leftTab:{kind:'enum',values:['goals','deals','noc','nets']},
netFilter:{kind:'enum',values:['all','out']},
pniFilter:{kind:'enum',values:['all','t','worth','pni']},
listPage:{kind:'enum',values:['conn','cust','nets','pni']},
listPage:{kind:'enum',values:['conn','cust','nets','pni','pops']},
popsSortKey:{kind:'enum',values:['eye','cost','name']},
custSortKey:{kind:'enum',values:['mood','mo','name','city']},
connFilter:{kind:'enum',values:['all','k']},
connSortKey:{kind:'enum',values:['k','city','name','use','mo']},

View file

@ -443,6 +443,9 @@ const API_VIEW={
custCity:{args:[['v','string']],doc:'Filter the customers list by city.'},
custSort:{args:[['k','custSortKey']],doc:'Flip the customers list sort.'},
custOpen:{args:[['sad','boolean',false]],doc:'Open the customers dashboard tab.'},
popGo:{args:[['city','cityId']],doc:'Jump from the dashboard to a city with no POP yet.'},
popsReg:{args:[['v','string']],doc:'Filter the list of cities with no POP by region.'},
popsSort:{args:[['k','popsSortKey']],doc:'Flip the sort of the list of cities with no POP.'},
goConn:{args:[['city','cityId'],['k','connKind']],doc:'Open a city\'s connections tab.'},
goEgress:{args:[['city','cityId'],['k','egressKind']],doc:'Open a city\'s connections tab (l2 for the customer list).'},
connOpen:{args:[],doc:'Open the connections dashboard tab.'},