← NewTon DC Tournament Manager

History, Properly Kept

NewTon DC Tournament Manager v5.0.1-beta.8 — March 29, 2026

Download v5.0.1-beta.8

Overview

NewTon DC Tournament Manager v5.0.1-beta.8 is a polish and correctness release. History management gets delete support and a fixed import. The undo dialog now knows whether achievements came from the Chalker or were entered manually. The tons counter is corrected. The QR Results button is tidied up across the UI. The help system is updated for all new features.


Undo Dialog: Source Awareness

The undo confirmation now shows whether a match was completed via Chalker or Manual entry, and adjusts its achievement message accordingly:

The source label also appears in the match score line: e.g. “Frank wins 1–0 (Chalker)”.


Tons Fix

NewtonStats.extractAchievements() previously used if / else if — a 180 was counted as a 180 but not as a ton. Fixed to two independent checks: any visit ≥ 100 now increments tons, and any visit of exactly 180 also increments oneEighties. A match with two 180s and one additional ton now correctly shows 3 tons and 2 180s.


QR Results Button — Placement and Visibility


History: Delete Tournament

Each tournament row in the History tab now has a Delete button. Clicking it opens a confirmation modal that requires typing the exact tournament name before the Delete button enables. All match records and the tournament meta record are permanently removed.


History: Import Fix

importAll() previously deleted the id field from imported match records and called put() without a key. This caused a ConstraintError on the tournamentMatch unique index whenever records for the same tournament already existed in the database — silently rolling back the entire import.

Rewritten as a proper per-record upsert: each match is looked up by (tournamentId, matchId); if found, the existing DB primary key is reused for put() (overwrite); if not found, the record is added as new. Tournament metadata continues to use put() directly, keyed by tournamentId. Unrelated records in the database are never touched.


Help System


Bug Fixes


Files Changed


NewTon DC Tournament Manager v5.0.1-beta.8 — History, Properly Kept.

Download v5.0.1-beta.8

Previous Releases

For older releases, see the GitHub releases page.