Repository navigation
feat(site): reference site, technical-manual design and fast loading - #25
Merged
Merged
Conversation
- Replace launchTables with launchEnvelopes: altitude, TAS and range grids - Rows are altitude in m, columns TAS in m/s - Re-extract the 69 weapons that have launch tables
- Add schema_types, ref_paths, search and an FTS5 index - Add the Lua API as api_symbols and api_type_uses - Add site:dev and site:build tasks
- Static shell queries the release SQLite by HTTP range requests - Search, record pages, compare, units switch and Lua API docs - Hand-written overlays in site/content; stale ones are reported - Pages workflow publishes the shell and the release SQLite
- Build shell and database in cached jobs; deploy with wrangler - Split the database into 32 KiB parts; Pages ignores Range - Serve deep links with the app shell and status 200
- record_views and series_views hold one row per page - Order startup pages together for fewer reads
- Read each page with one query; prefetch startup parts in parallel - Preload wasm, worker and fonts; lazy-load heavy views - Show the record name at once while the page loads - Remove filler text, taglines and help paragraphs
- Rename unsuffixed angle fields in extractor configs and record schemas - Re-extract dcs-world-reference/latest with the new field names - Update extractor tests, weapon-flight docs, and changelog - Field names now state their units; values are unchanged BREAKING CHANGE: minLaunchAngle, reloadAngleY/Z, inclinationCorrectionBias/UpperLimit gain Rad; trackingRateMax becomes trackingRateMaxRadS; aoaMax, angle0, angle100, deviationAngle gain Deg.
- Swap fonts and theme for a serif, print-manual look - Restyle home, header, record pages and API reference pages - Show radians as degrees; add key-figure strips and link details - Dedupe facts shown in strips, linked names and code pairs
- Group browse rows under headings, with a flat-list toggle - Group liveries by airframe through their unitTypes ref - Use configured facets and columns before heuristics in series index
- Add dump_lua pack and collect commands with a Taskfile task - Collect dump Lua in CI and copy it into the site - Add a View Lua drawer and links beside dump paths
- Add a Leaflet location figure to located record pages - Link coordinate fields to the figure from field rows and tables - Add geo helpers with tests and the leaflet dependency
- Render the code once per file and memoise it - Draw the block highlight as one positioned overlay - Parse each file once; find lines by binary search - Update the URL without re-rendering the record page
- Pin the filter bar, column head and filter sidebar - Virtualise rows against the window scroll, not a box - Show as many columns as fit; others stay in Columns - Page Down, Home and End now scroll the page
- Head each entry with its signature; drop the SYNOPSIS row - Label only parameters, notes, examples and other extras - Show only parameter names when a parameter list follows - Nest member links under their section in On this page
- Show a RETURNS label before each function's return type - Keep the Lua-typed call in the heading's copied text - Clarity: a bare ": string" read as ambiguous
- Replace dot-leader rows with Name, Type, Description columns - Size name and type columns per list, capped - Stack each row on phones
- Add a Lua scripting API chapter to the contents - Add a Scripting section linking records to API classes and enums - Link API classes and enums back to their reference data - Root API breadcrumbs under Reference
- Stop the Value column wrapping one letter per line
- Add a GitHub icon beside the theme toggle - Add a GitHub entry to the phone menu instead
- Skip schema CI when only site/ or site.yml change - Deploy the site only when the site or its data inputs change - Why: site tweaks no longer run the full schema CI
- Add shared once, base path, text, json and useLoaded helpers - Merge ApiLink into RefLink; add a shared modal dialog hook - Remove unused exports, components and CSS rules - Unify toggle styles and drop !important overrides
- Catalog records roles, unit conversions, layouts and list titles - One placement pass decides where each record field goes - Browse memoises counts and text; compare waits for URL params - Palette search ranks per provider in one capped FTS query
- Catalog marks axes, range lists, titles, assets and link fields - One provenance renderer, sort header and bounded cache - Show all on Referenced by reads one group with link details - Drop the always-zero Columns counts and per-record query caching
- Catalog walks the schema, then runs ordered mark passes - One block dispatcher, path walker and compare toggle - Record keys and the airbase map no longer duplicate or rebuild - Drop dead naming rules and the old-database query fallback
- API enum pages and the footer skip the model and browse index - Curves, surfaces, table cells and sections use one rule each - Lua links and the model render from cached values at once - Remove pack.ts and other unused props and fields
- Catalog marks compareAs; views switch on it, not on paths - Differences only compares values, not their text summaries - One cell renderer, root-fields helper and settled cache - Why: identical summaries hid differing curves in compare
- Configured nested and list paths now reach browse - Test fails on any configured path the catalog lacks - Readouts render through ScalarValue; cards is a catalog layout - Remove CatalogEntry.comparable and inline namedReferences
- storageOf resolves field storage with one empty-list rule - Browse and compare share one linked-field loader and labels - Phones skip facet loads until the filters panel opens - recordsLayoutFor makes the whole card or table decision
- Mach-sampled values are curves, so compare counts the step - Browse index keeps ref ids with a links table - Overlay files are named by encoded record id, checked at build - Share entryFor, present, refName and surface axis labels
- Ref facet values and URLs use ids, labels resolve names - One summary basis drives compare's All-records column - Envelopes and Mach cards use the shared surface and curve helpers - Nav sections carry kind, prefetch and class; no id branches
- Add a checks job gated on site paths for PRs and main - Deploy waits for checks; PRs skip shell, lua and deploy - Concurrency is per ref so PRs can't cancel a deploy
- Model and search ship as hashed static JSON; FTS path removed - Views are deflate blobs with browse fields, groups, scripting rows - Scripting renders with the record; no delay or API query - Tighten perf budgets to the new measured cold loads
- Let record cards shrink so nested tables scroll in place - Add an e2e check that six pages fit a 375px screen
- Package field_values and field_paths from compare-fields.json - Compare and browse read one precomputed row per field - Test fails if the committed comparable list goes stale - Why: picking a field scanned whole JSON columns (up to 15 s)
- Give options and optgroups the theme's paper and ink colours
- Compare reads its address from Next's search params - Why: window.location lags client navigation, so the last series won - Add an e2e test with a different stored series
- Let _varint take a bytearray as well as bytes - Import rules from check_refs in the field-view test
DCS Schema Stats
✅ All validation checks passed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the reference site under
site/, deployed to Cloudflare Pages frommain.minLaunchAngleRad,aoaMaxDeg, …); see CHANGELOG