Kafkatorio/modules/web-map
Lazzexus 8770a0617b Add a research page, and keep the topics that views are rebuilt from
The mod sends the research state of a force (researched technologies,
levels, current research, progress and queue) whenever research changes,
and every minute for the progress. events-server-web keeps the latest state
and serves it at /kafkatorio/data/servers/{id}/research.

The web map has a research page (/servers/{id}/research, linked from the
header), with:
- progress, the current research and the queue
- the science packs needed for everything that's left
- every technology, filterable by status, science pack and name, with its
  cost (including levelled technologies' count formulas)
- details: the total cost to reach a technology, its prerequisites, what it
  leads to and what it unlocks

The technology tree comes from export_building_icons.py, which now also
exports technologies.json, items.json and technology/science pack icons.

Kafka deleted data older than 7 days, but the building, resource and
research views are rebuilt by reading their topics from the beginning, so
buildings disappeared after a restart. These topics are now kept forever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:46:09 +01:00
..
docker Add a building icon layer to the web map 2026-10-21 09:52:07 +02:00
src Add a research page, and keep the topics that views are rebuilt from 2026-11-03 10:46:09 +01:00
webpack.config.d fix webpack dev server, redownload bootstrap.min.css 2022-09-10 10:07:46 +02:00
.gettext.json added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
.gitignore added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
build.gradle.kts Remove dead kotlinx-nodejs dependency from web-map 2026-10-12 15:46:04 +02:00