Legacy shell

Pre-Solid static shell vs current AXIS product path — what to ignore and what still runs.

This page

Legacy shell

Abstract

AXIS’s shipping product path is Solid + Vite. An older static shell remains in the repo for historical scripts and some Bun tests. Do not document or extend the legacy shell as the primary UI.

Source of truth: frontend/LEGACY.md.

Conceptual model

Diagram

Rendering…

What is legacy

PathRole
frontend/src/main.jsOld bootstrap (chart.js, legacy-topbar.js, …)
frontend/style.cssTV-blue-era tokens
frontend/pyne-editor.jsPre-Solid CM6 wiring (renamed from pine-editor.js)
frontend/server.tsBun static server for old tree
Root / frontend sw.js (static shell SW)Service worker for old shell

Makefile make run-frontend still prints AXIS and runs bun run frontend/server.ts on :8081 — useful for legacy debugging, not the Solid product path.

What is current

PathRole
frontend/src/index.tsx, app.tsxSolid app
frontend/src/chart/ChartHost.tsxLWC panes
frontend/src/ui/*Topbar, Settings, Results, Manager, …
frontend/public/ + bun run buildProduction PWA assets
frontend/axis_pwa_server.pyServe dist for demos

Migration residue

ResidueHandling
pynescript.axis.plugins.v1Plugin install list
pynescript.axis.library.v1Library localStorage fallback
pynescript.axis.editor.docEditor document backup
CF Pages project axisPages id; canonical https://axis.hoox.sh
CF Worker worker-axisScript name; URL https://worker.axis.hoox.sh
Some docs/Makefile stringsCurrent brand is AXIS

App state namespace: pynescript.axis.v1.

Invariants

  1. Do not port new features into main.js.
  2. Prefer Solid store (src/store) over state.js.
  3. Plugin registry is the Solid path (src/plugins/registry.ts); dual registries in old JS should be treated as dead ends.
  4. Pages deploy should use Vite dist/, not the repo root static tree.

Failure modes

ConfusionClarification
“UI doesn’t match docs”You may be serving the legacy shell
Plugin manager missingLegacy topbar lacks Solid Manager
Tests pass, UI wrongUnit tests may still import legacy helpers

See also