Skip to content

[Feature] Add a "minimum viable group size" warning when a pool drops below a healthy member count #150

Description

@grantfox-oss

Getting Started

  1. Fork the repository: https://github.com/JointSave-org/Joint_Save
  2. Clone your fork:
   git clone https://github.com/<your-username>/Joint_Save.git
   cd Joint_Save
  1. Create a new branch:
   git checkout -b feat/low-member-count-warning

Overview

With remove_member (and the upcoming self-service leave function, if that ships) now letting pools shrink over time, a Rotational pool with very few members left (e.g. down to 2) has a meaningfully different risk profile than one with many — a single missed deposit affects a much larger share of the pool. There's currently no warning surfaced to members about this.

Requirements

  • Add a simple, non-blocking banner on the group detail page when a Rotational pool's member count drops to 2 or fewer: "This pool has very few members remaining — consider inviting more or planning for a shorter cycle"
  • This is purely informational, not a hard restriction — don't block any pool actions because of it
  • Reasonable threshold is a starting suggestion; feel free to propose a better one with reasoning in the PR

Acceptance Criteria

  • Banner appears correctly when a pool's member count is at or below the threshold
  • Banner doesn't appear for healthy-sized pools
  • No functional restriction introduced — purely informational

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSOfficial CampaignCampaign: Official Campaignmedium-complexityNot too complex, Few files and some planning needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions