← NewTon DC Tournament Manager

The Full Picture

NewTon DC Tournament Manager v5.0.10 — April 14, 2026

Download v5.0.10

Overview

The system now shows everything, from everywhere, to everyone.

v5.0.10 adds analytics-only deployment mode, automatic tournament import from disk, manual import from JSON files, a read-only bracket view, and unlimited darts for casual play. Under the hood, a shared backfill function unifies all import paths into one reliable pipeline.


Analytics-Only Mode

Set NEWTON_MODE=analytics in your Docker environment.

What changes:

Read-Only Bracket View

“View Bracket” button on tournament rows and match list. Loads the tournament JSON from disk, renders the bracket read-only. No match controls, no Developer Console. Uses currentTournament with an _analyticsPreview guard — save functions skip analytics previews, so no phantom data is persisted.

Bracket view and auto-import require the REST API (Docker deployment). Manual JSON import works without the API.


Tournament Import & Auto-Import

Import Tournament from JSON

“Import Tournament” button in the Analytics header. Pick a tournament JSON file (same format as Tournament Setup export) and it’s imported directly into the Analytics register. No localStorage, no API required — works offline, works in both full and analytics mode.

Auto-Import from Disk

On every Analytics load, the system checks for shared tournaments on disk not yet in the Analytics register. New tournaments are imported silently using the shared backfill function. One API call to list tournaments, then fetch and import any missing ones.

Requires REST API (Docker deployment).

Shared Backfill Function

NewtonDB.backfillTournament(t, config) — a single function in newton-db.js that handles all tournament imports into IndexedDB. Match-level achievement deltas from transaction history, tournament-level achievement aggregates, placements, reconciliation. Used by:


Chalker: Unlimited Darts

New “Unlimited” option in Max Rounds — both in Global Settings and the Chalker app. Internally uses 100 rounds (300 darts per leg), which keeps the QR result payload within comfortable scanning limits. No special-case logic — all existing code works unchanged.


Docker Environment Variables

VariableValuesDefaultDescription
NEWTON_MODEfull, analyticsfullApp mode. analytics hides tournament management.
NEWTON_LANDING_PAGEtrue, falseEnables the landing page at /.
NEWTON_DEMO_MODEtrue, falsefalseShows demo banner.
NEWTON_GITHUB_URLURLgithub.com/skrodahl/NewTonGitHub link in UI.
NEWTON_BASE_URLURLBase URL for canonical/OG tags.

Other Changes


Migration

No migration required. New environment variables are optional — existing deployments continue to run in full mode by default.


NewTon DC Tournament Manager v5.0.10 — The Full Picture.

Download v5.0.10

Previous Releases

For older releases, see the GitHub releases page.