Repository navigation
feat(ui): filter the hand export by period, room and buy-in - #82
Merged
Merged
Conversation
Hands with no seated player have no flag row to store, so they stayed pending and the statistics update ran again on every launch. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Playback stopped before the flop because the step counter excluded deals while the index counted every action, and blinds were skipped when stepping forward. Chips put in are now read from the pot change, the current action is the last one played, and the slider, jump-to-end and log share one counter. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The export used to dump every stored hand, which is unwieldy with years of history. A dialog now narrows it by period, room and buy-in, shows the resulting hands, files and size, and can group files per day, month or in one. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What changed
GET /db/export-summaryreturns hands grouped by room, buy-in and day, so the dialog sizes any filter without fetching hands.export_datatakes a filter; dates are validated in the shell. A filter left on "everything" restricts nothing, so hands without a known room or buy-in are kept.Why
With years of history, "export everything" was too heavy to be useful.
How it was tested
cargo test -p spintracker-core --test api_routes(incl. new export summary test) and the 6 newexport::testsinsrc-taurinpm run frontend:test(newexportFilter.test.ts) andnpm run frontend:buildcargo check -p spintrackercleancargo test -p spintracker-coresuite.🤖 Generated with Claude Code