Update 3d chart mode, add US heatmap, move kjol-web -> kjol-website
This commit is contained in:
@@ -59,10 +59,10 @@ plus `HighlightGo` / `HighlightC`. It is a lexer and not a parser on purpose —
|
||||
escaped plain text rather than failing, and an unknown language is not an error. It is outside
|
||||
`webui` because it touches no DOM. **Its output is Tailwind class names**, so any stylesheet that
|
||||
has to render a code block must scan `lexer/**/*.go` — a build that forgets to still compiles and
|
||||
just renders the snippet unstyled (see `cmd/kjol-web/build.Tailwind`). The C tables deliberately
|
||||
just renders the snippet unstyled (see `cmd/kjol-website/build.Tailwind`). The C tables deliberately
|
||||
mirror `c/lexer/lexer_c.c`; add a type to one, add it to the other.
|
||||
|
||||
**`cmd/kjol-web` is the website**: the landing page and documentation for the whole
|
||||
**`cmd/kjol-website` is the website**: the landing page and documentation for the whole
|
||||
codebase, and the runnable example of both web layers. It is its own nested module (so its
|
||||
go-chart / esbuild / goja deps stay out of kjol) and it is ONE server running TWO
|
||||
front-ends — `/wasm/*` is the Go→WebAssembly SPA, `/js/*` is the Solid SPA, and `/` is a
|
||||
@@ -135,7 +135,7 @@ get a white flash until the bundle loads. It is the only hand-written JavaScript
|
||||
AutoTable must vendor them or the bundle fails to evaluate at all.
|
||||
- `icons/` — FontAwesome SVG source kit (the bundler scans usage and generates a per-app
|
||||
registry; the generated file is app-owned, not committed here). kjol ships only the SUBSET its
|
||||
own kit + `kjol-web` reference. An app's own `frontend/icons` is searched FIRST, so an app with
|
||||
own kit + `kjol-website` reference. An app's own `frontend/icons` is searched FIRST, so an app with
|
||||
a fuller kit keeps it — see `jsbundler.iconsDirs`.
|
||||
- `styles/theme.css` — the `@theme` scaffold, the semantic tokens, the `.dark` overrides, and the
|
||||
`:root` fa vars. **It does the `@import "tailwindcss"`**, because the bundler PREPENDS it to the
|
||||
@@ -181,7 +181,7 @@ class out in full.
|
||||
| `appenv` | compile-time environment via build tags (`-tags staging` / `-tags production`); the bundler reads `appenv.Environment` for the JS `__ENV_TYPE__` define |
|
||||
| `httputil.CorsMiddleware(CorsConfig{...})` | allowed domains + bundle-version source injected |
|
||||
| `wasmdevserver` | the app injects `Build` / `Render` / `Document` / `Handle` via `Config` |
|
||||
| `jsbundler` public pages | kjol generates the registry (`public_pages.gen.go`); the APP owns the `publicPage` type it is written against, and the document shell. See `cmd/kjol-web/internal/handlers`. |
|
||||
| `jsbundler` public pages | kjol generates the registry (`public_pages.gen.go`); the APP owns the `publicPage` type it is written against, and the document shell. See `cmd/kjol-website/internal/handlers`. |
|
||||
|
||||
## Stays app-side (never moves into kjol)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user