feat(admin): region page redesign, resource ledger, drip and dark mode
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m40s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 4m46s
Foundation / image (push) Successful in 5m34s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m40s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 4m46s
Foundation / image (push) Successful in 5m34s
The region view adds the rules-13 drip and complete counts and totals over every life and deposit. The region page is rebuilt around the map: a KPI strip (tick pace, population, deposit capacity, region energy and matter, spent pool, next drip), layer toggles that double as the legend, zoom and a scale, and tabs for inspecting cells and deposits, resources (where each channel sits, the spent pool and each channel's next drip), actions, the running tuning and session access. The admin API serves the region tuning file read only (--region-tuning). Light and dark themes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -43,8 +43,9 @@
|
||||
// [&energy=PJ][&carbon=FG]...[&reason=R]
|
||||
// creates (no id) or replaces a schedule repeating
|
||||
// add_bubbles, release_pool or spawn_wildlife
|
||||
// GET /api/tuning the world's rules-13 tuning revisions, the newest text
|
||||
// and the baseline file regions opened with (schema 66)
|
||||
// GET /api/tuning the world's rules-13 tuning revisions, the newest text,
|
||||
// the baseline file regions opened with (schema 66) and
|
||||
// the region tuning file they restart with (read only)
|
||||
// GET /api/tuning/<revision> one revision's text
|
||||
// POST /api/tuning[?check=1][&reason=R] the request body is a tuning text (the Git
|
||||
// revamp file format): checked, then stored as a new
|
||||
@@ -61,6 +62,8 @@ struct AdminConfig {
|
||||
std::vector<std::uint64_t> view_regions;
|
||||
// The revamp tuning file the world's regions opened with (empty: unknown).
|
||||
std::string baseline_tuning;
|
||||
// The region tuning file (shape, movement, currents) they read at startup (empty: unknown).
|
||||
std::string region_tuning;
|
||||
std::string portal_config_json; // Served at /config.json.
|
||||
std::string content_security_policy; // Sent with every portal file.
|
||||
std::chrono::milliseconds db_timeout{3000};
|
||||
|
||||
Reference in New Issue
Block a user