Repository navigation
Organize infractions into Open and History views - #14
Merged
Merged
Conversation
The infractions panel listed every infraction ever as a full card, so it grew without bound. Split it into an Open tab for active reviews and a History tab of compact, month-grouped rows that expand for the dispute, votes, and close time. History filters by roommate and outcome, shows unpaid and paid totals, and pages like Coming up. Open cards keep their order while you vote, show your current vote with a way to change it, and hide voting on your own infraction (the server already rejects it). Forgiving now asks for confirmation.
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.
The Infractions panel on the Chores page showed every infraction ever recorded as a full card, so it kept growing. This splits it into two views.
Open
History
Everything is built from existing app patterns: the Money activity filter select, the chips from the member balance details, the Coming up pager, and the app's existing
window.confirmprompts.Testing: typecheck, lint, unit tests and build pass. The e2e suite passes except
household.spec.ts(bill breakdown), which fails the same way onmaster. The forgive e2e test now accepts the new confirmation dialog.