Skip to content

Show all users on the contribution manager#374

Merged
ExtraToast merged 1 commit into
mainfrom
feature/contribution-manager-all-users
Jun 30, 2026
Merged

Show all users on the contribution manager#374
ExtraToast merged 1 commit into
mainfrom
feature/contribution-manager-all-users

Conversation

@jorisjonkers-dev-agents

Copy link
Copy Markdown
Contributor

Problem

The Contribution Manager's "Contribution paid" / "Contribution unpaid" lists only included users with an active membership. Non-members who had paid — or who owed — a contribution were invisible to the board, so payment status could not be reconciled for the full user base.

Change

Both lists now contain every user returned by findUsers(), partitioned by whether the user has a contribution for the selected period. Membership state no longer gates visibility. The contribution row already renders a Member/User chip, so the two groups remain distinguishable.

Supporting changes in ContributionManager.vue:

  • Paid/unpaid are derived as computed lists from a selected-period contribution set, replacing the membership-filtered watch.
  • All membership fetching and state (findMemberships, MembershipResponse, the memberships ref, hasActiveMembership, getMemberships) is removed, along with the write-only contributionPeriod ref.
  • An undefined period clears the selected period and contributions; a stale period fetch is ignored if the selection changed while it was in flight.

The Member Manager is unaffected.

Tests

ContributionManager.test.ts covers all users being split by the selected period (including a non-member and a contribution from a different period that must not count as paid), the no-period state, and contribution upsert/delete.

Verified from services/frontend: yarn typecheck, yarn lint, and yarn test:unit (312 tests) pass.

The Contribution Manager's paid/unpaid lists only included users with an
active membership, so non-members who had paid (or owed) a contribution
were invisible to the board.

The lists now contain every user returned by findUsers(), partitioned by
whether the user has a contribution for the selected period. Membership
state no longer gates visibility; the row already renders a Member/User
chip to distinguish the two. Paid/unpaid are derived as computed lists
from a selected-period contribution set, an undefined period clears the
state, and stale period fetches are ignored.
@jorisjonkers-dev-agents jorisjonkers-dev-agents Bot added the enhancement New feature or request label Jun 30, 2026
@ExtraToast ExtraToast self-requested a review June 30, 2026 13:49

@ExtraToast ExtraToast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀 🚀

@ExtraToast ExtraToast merged commit 0653f1a into main Jun 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant