BUILDING SKYLARK / WEBSITE MAKING-OF
Building the website that records Skylark
A small application grew into a living project record. Its useful lessons concern keeping a visitor's place, preserving evidence and making development independent of publication.
Start with the brief, then keep the machinery small
ASP.NET Core MVC, Razor and Bootstrap-compatible styling were requirements in the original brief. We did not run a framework competition and declare them the winners. Within that boundary, one website project was sufficient: controllers accept requests, C# prepares typed records, and Razor combines those records with HTML templates.
The server calculates filtering, sorting and page bounds. Full pages and locally updated lists use the same rules, avoiding two implementations that could disagree. Reusable Razor partials give galleries the same filters, summaries, pagers and messages. Small JSON files hold curated entries; authored research uses ordinary pages. This workload did not need a database or a general content-management system.
Bootstrap CSS supplies familiar form, button and utility styles and is served from our own site. Our CSS provides the sidebar, layouts and semantic colour tokens: names for roles such as text, surface and emphasis. Those roles can take different values in Light, Dark and Blue Dark; System follows the browser's reported preference. The browser behaviour uses our own small scripts, without Bootstrap's JavaScript components.
The reusable website build pack preserves that form and behaviour, while allowing another project its own colours and character. Reusing the specification does not require copying Skylark's implementation, pictures or services. The stack guide describes the current pieces.
Update the results without taking the visitor somewhere else
Imagine typing a new search while looking through the current results. Paging should use the search already applied, and leave the unfinished text alone. We keep the filter controls outside the region replaced by the response. The server returns the results, summary and pagers together; the browser checks that the expected pieces are present before replacing anything.
- Ask for a new result. The browser cancels an older request where possible and gives the new request a sequence number. A late response is accepted only if it still belongs to the latest request.
- Keep the surrounding state. Focus, open explanations and the position of the active pager are retained. A little space below a short final page prevents the browser from forcing the visitor upward when the document shrinks.
- Make history meaningful. The applied criteria become the URL. Back and Forward restore the page together with pending inputs, disclosures and position. Independent lists keep separate criteria.
- Make failure recoverable. A failed request leaves the existing results and edits available and reports the problem beside the list. Ordinary links and GET forms still load complete pages when JavaScript is unavailable.
Detail links carry validated gallery criteria, so previous/next stays within the chosen selection and returning finds the current image's page. Remembering this extra state is optional in Settings. Security tokens and appearance-form values are not copied into browsing history. The storage explanation distinguishes our saved state from the browser's own history.
Browser checks on 7 November exercised pending input, focus, history, disclosures, failed requests and competing delayed searches. They do not establish every assistive-technology or browser combination.
Turn pictures into evidence without losing their origins
A selected original is recorded in a manifest: a small inventory containing its identity, caption, provenance and relevant build. Preparation checks its file hash—a fingerprint of the bytes—and creates smaller previews outside the maintained source tree. The website receives a typed catalogue and static copies, never a live connection to the game.
A concept proposes a design; an engine capture records a rendered result; an asset entry identifies a candidate, an adopted revision or a superseded one. Cross-links connect those stories without treating them as interchangeable proof. Older originals and meaningful failures remain available. A browser material preview alone cannot establish that an asset works in the game.
The capture cards now show the recorded date and time, including seconds and UTC. Date-only artwork keeps its date rather than acquiring an invented midnight timestamp. Selecting a random concept for About also selects that record's caption and link. One record supplies the image's meaning wherever it appears.
The journal marks worthwhile developments; research explains methods and decisions; the asset catalogue follows revisions. Minor refinements belong with their existing story. See the concept collection, actual captures and asset records.
The hot-reload permission mistake
On 6 November we enabled server hot reload so saved code could update the development application. We also left the SDK's automatic browser-refresh helper enabled. These are different operations: one updates our server; the other runs code in the visitor's browser.
Through the public domain, that helper tried to connect to a refresh listener using localhost. In a visitor's browser, localhost means the visitor's computer. Chrome consequently asked for access to other apps and services on that device. Testing only at the local development address had missed the problem.
The correction disabled the browser-refresh helper while retaining server hot reload, and limited browser connections to the site's own origin. Visitors refresh the page normally to see saved changes. Domain checks found no refresh client or WebSocket connection, and regression checks cover the helper endpoint. The original mistake and fix remain in the journal. No visitor needs to grant local-device access to browse Skylark.
Publish a complete version, then select it
The development watcher is useful while editing, but the live site must not depend on an open coding session or mutable source files. We inspected the service-and-release pattern already used by WoWData Explorer, then implemented separate Skylark tooling. No WoWData application, database or service is a runtime dependency.
- Package once. Compile the Release application with its runtime, styling and curated content. Check that actual package on a temporary local address. Record its source and package fingerprints.
- Keep persistent data separate. Durable security keys live outside release folders, so changing the application version does not discard the keys used by forms.
- Switch the live version. Copy and verify a new release, briefly stop the dedicated Windows service, change its fixed directory link, start it and check the exact release identity.
- Retain the previous version. A failed activation restores and checks the old release. Interrupted activation has a recorded recovery route.
Two failures made this concrete. A deliberately incomplete stylesheet failed the page checks and the service returned to its previous release; a form opened before the exercise still submitted afterward. A different package was rejected when concurrent source edits changed its inputs during verification. The existing published site continued serving its checked version.
Live publication uses port 5110; development remains on 5111. One Git repository keeps related game, website and evidence changes together, but their builds and runtimes remain separate. Large binary revisions use Git LFS, while generated builds and scratch work stay outside the source tree. Publication may use uncommitted working source because it records the actual file identities; it does not require an artificial commit first.
A release switch has a brief interruption. The host PC must remain awake and connected, and the bundled runtime requires republishing for runtime updates. Automatic startup is configured; the original service verification did not observe a real reboot or power-loss recovery. See the operating guide and the original service evidence.
Check the changed boundary, then finish
Early publication work repeated too much verification. The project owner's feedback established a simpler routine: build once, deploy once, check health and changed pages, then stop. The package now tests its Release assembly directly instead of first compiling another Debug website. Prose-only completion checks the affected entries, routes and links on the healthy watcher; media or application changes receive the corresponding checks.
A separate early browser-access problem also led to an unnecessary proposed Playwright installation. It was a testing-tool detour, not a website requirement, and no installation completed. The useful lesson is to investigate the environment's existing browser tools before adding another framework. Build and HTTP success must never be reported as browser acceptance.
The completion receipt records the selected scope, identities, results and gaps. It can explicitly record that no journal entry is appropriate. There is no controlled before/after timing study, so these changes establish a narrower routine rather than a measured speedup. Related reasoning appears in the verification investigation.