gaia-project/old-ui
2026-11-22 13:57:41 +00:00
..
public perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
src test: avoid duplicate chart and legacy UI fixture runs 2026-11-15 22:33:54 +00:00
.eslintrc.js 🎉 (old-ui) Add old-ui to repo 2021-05-18 23:42:49 +02:00
.gitignore 🐛 (old-ui) Fix factionPlanet calls 2021-05-18 23:42:49 +02:00
index.html feat(viewer): restore old UI with Lost Fleet support 2026-09-11 15:33:28 +02:00
index.ts perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
package.json fix: warn before wasting spaceship exploration power 2026-11-22 13:57:41 +00:00
pnpm-lock.yaml 💄 Fix charts icon clipped on the right edge of the map (#322) 2026-08-11 22:56:33 +02:00
README.md feat(viewer): restore old UI with Lost Fleet support 2026-09-11 15:33:28 +02:00
shims.d.ts 🎉 (old-ui) Add old-ui to repo 2021-05-18 23:42:49 +02:00
tsconfig.json 💚 (old-ui) Fix build 2021-05-18 23:42:49 +02:00
vite.config.ts feat(viewer): restore old UI with Lost Fleet support 2026-09-11 15:33:28 +02:00
vitest.config.ts feat(viewer): restore old UI with Lost Fleet support 2026-09-11 15:33:28 +02:00
vue.config.js 🎉 (old-ui) Add old-ui to repo 2021-05-18 23:42:49 +02:00

Gaia Project old UI

The original map, text-based research board and player-card arrangement run on Vue 2.7 and Vite. The game controller, engine, action controls, chat and journal are shared with viewer; this package has its own renderer and build.

Lost Fleet adds loose map tiles and spaceships, the scoring extension, ship actions, ship technology/federation tiles, artifacts, and updated faction boards and abilities.

From the repository root:

pnpm install
pnpm --dir old-ui serve    # http://localhost:5193/
pnpm --dir old-ui test
pnpm --dir old-ui package

Use ?lostFleet=1 for expansion setup or ?scenario=lost-fleet-overview for a playable test position. The local test tools also load the other expansion positions.

For BGS, publish dist/package/old-ui.umd.js and old-ui.css as the alternate viewer. Its API is gaiaViewer.launch, with the same events as the normal viewer. Vue and BootstrapVue remain supplied by the host; game assets and sounds are bundled.