Kafkatorio/modules/web-map
Lazzexus a0519a1b83 Show the research as a tree, like the game's technology screen
The research page has a new tree layout (/servers/{id}/research/tree),
next to the existing list, with List / Tree buttons to switch.

The tree goes from top to bottom: each technology is in the row of its
longest chain of prerequisites, and rows are ordered so technologies sit
near the ones they're linked to. Links are drawn between technologies and
their prerequisites, green once the prerequisite is researched.

- drag to move, scroll or pinch to zoom, and Fit to show the whole tree
- selecting a technology highlights all its prerequisites and links, and
  what it leads to, and shows the science packs still needed to reach it
- search highlights matching technologies; Enter goes to each in turn
- double-click (or Details) opens the same details as the list, whose
  details now have a 'Show in tree' link
- the selected technology is kept in the URL (?tech=), so it can be shared

The details pop-up is moved out of researchPage.kt into
TechnologyDetail.kt, so both layouts use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 10:26:40 +01:00
..
docker Add a building icon layer to the web map 2026-10-21 09:52:07 +02:00
src Show the research as a tree, like the game's technology screen 2026-11-22 10:26:40 +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