Skip to content

Organize infractions into Open and History views - #14

Merged
AshtonLong merged 1 commit into
masterfrom
redesign-infractions-panel
Oct 30, 2026
Merged

AshtonLong merged 1 commit into
masterfrom
redesign-infractions-panel

Conversation

@AshtonLong

Copy link
Copy Markdown
Collaborator

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

  • Active reviews as full cards, with the ones waiting on your vote first. Cards keep their position while you vote.
  • Shows your current vote with a way to change it.
  • Hides Excuse/Uphold on your own infraction, since the server already rejects that vote.
  • Forgive now asks for confirmation.

History

  • Closed infractions as compact rows grouped by month. Tapping a row shows the dispute reason, the votes and the close time.
  • Filter by roommate or outcome (Upheld, Paid, Excused), with unpaid and paid totals.
  • Paginated like Coming up.

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.confirm prompts.

Testing: typecheck, lint, unit tests and build pass. The e2e suite passes except household.spec.ts (bill breakdown), which fails the same way on master. The forgive e2e test now accepts the new confirmation dialog.

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.
Copilot AI balanced review requested due to automatic review settings October 30, 2026 22:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@AshtonLong
AshtonLong merged commit 8996670 into master Oct 30, 2026
3 checks passed
@AshtonLong
AshtonLong deleted the redesign-infractions-panel branch October 30, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants