mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-02-09 18:04:21 +01:00
feat: add collapsible analytics, click-to-pin chart tooltips, and extended virtualization
This commit is contained in:
parent
3877890889
commit
20b9e8037c
10 changed files with 1036 additions and 202 deletions
26
CHANGELOG.md
26
CHANGELOG.md
|
|
@ -1,9 +1,4 @@
|
|||
- Random Modes (alpha): added env flags RANDOM_MODES, RANDOM_UI, RANDOM_MAX_ATTEMPTS, RANDOM_TIMEOUT_MS.
|
||||
- Determinism: CSV_FILES_DIR override to point tests to csv_files/testdata; permalink now carries optional random fields (seed/theme/constraints).
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
This format follows Keep a Changelog principles and aims for Semantic Versioning.
|
||||
|
||||
## How we version
|
||||
|
|
@ -18,19 +13,26 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
|
|||
- Optimistic include/exclude experience with HTMX caching, prefetch hints, and telemetry instrumentation for must-have interactions.
|
||||
- Commander catalog skeleton placeholders and lazy commander art loading to smooth catalog fetch latency.
|
||||
- Commander catalog default view now prewarms and pulls from an in-memory cache so repeat visits respond in under 200 ms.
|
||||
- Virtualization helper now respects `data-virtualize-*` hints and powers deck summary lists without loading all rows at once.
|
||||
- Step 5 deck summary now streams via an HTMX fragment so the main review payload stays lean while virtualization kicks in post-swap.
|
||||
- Mana analytics now load on-demand with collapsible sections, reducing initial deck review time by ~30-40%.
|
||||
- Interactive chart tooltips with click-to-pin highlighting make cross-referencing cards between charts and deck lists easier.
|
||||
|
||||
### Added
|
||||
- Skeleton placeholders now accept `data-skeleton-label` microcopy and only surface after ~400 ms on the build wizard, stage navigator, and alternatives panel.
|
||||
- Skeleton placeholders now accept `data-skeleton-label` microcopy and only surface after ~400 ms on the build wizard, stage navigator, and alternatives panel.
|
||||
- Must-have toggle API (`/build/must-haves/toggle`), telemetry ingestion route (`/telemetry/events`), and structured logging helpers for include/exclude state changes and frontend beacons.
|
||||
- Commander catalog results wrap in a deferred skeleton list, and commander art lazy-loads via a new `IntersectionObserver` helper in `code/web/static/app.js`.
|
||||
- Collapsible accordions for Mana Overview and Test Hand sections defer content loading until expanded.
|
||||
- Click-to-pin chart tooltips with consistent corner positioning (lower-left desktop, lower-right mobile) and working copy buttons.
|
||||
- Virtualized card lists automatically render only visible items when 12+ cards are present.changes to this project will be documented in this file.
|
||||
|
||||
### Changed
|
||||
- Commander quick-start and theme picker searches route through a centralized `data-hx-debounce` helper so rapid keystrokes coalesce into a single HTMX request.
|
||||
- Card grids and alternative lists opt into `content-visibility`/`contain` to reduce layout churn on large decks.
|
||||
- Build wizard Step 5 now emits optimistic include/exclude updates using cached HTMX fragments, prefetch metadata, and persistent summary containers for pending must-have selections.
|
||||
- Skeleton utility supports opt-in placeholder blocks (`data-skeleton-placeholder`) and overlay suppression for complex shimmer layouts.
|
||||
- Commander catalog route caches filter results and page renders (plus startup prewarm) so repeated catalog loads avoid recomputing the entire dataset.
|
||||
- Must-have include/exclude buttons are hidden by default behind a new `SHOW_MUST_HAVE_BUTTONS` env toggle and now ship with tooltips explaining how they differ from locks.
|
||||
- Commander search and theme picker now intelligently debounce keystrokes, preventing redundant requests while you type.
|
||||
- Card grids use modern browser containment rules to minimize layout recalculations on large decks.
|
||||
- Include/exclude buttons now respond immediately with optimistic updates, falling back gracefully if the server disagrees.
|
||||
- Frequently-accessed views (like the commander catalog default) now load from memory, responding in under 200ms.
|
||||
- Deck review now loads in focused chunks, keeping the initial page lean while analytics stream in progressively.
|
||||
- Chart hover zones expanded to full column width for easier interaction.
|
||||
|
||||
### Fixed
|
||||
- _None_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue