Skip to content

[Feature] Add a "Duplicate Pool" action to quickly recreate a pool with the same settings #91

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/duplicate-pool-action

Overview

Users who regularly start new savings cycles with the same group (e.g. a monthly rotational pool that completes and the group wants to start a fresh one) currently have to manually re-enter every setting from scratch.

Requirements

  • Add a "Start New Cycle" / "Duplicate Pool" button on completed pools in group-details.tsx
  • Pre-fills the relevant creation form with the same pool type, deposit amount, round duration/target amount, and member list from the original pool
  • User can edit any pre-filled value before submitting (it's a pre-fill, not a hard clone)
  • Clearly indicate in the UI that this is a new, separate pool/contract, not a continuation of the old one

Acceptance Criteria

  • Clicking "Duplicate Pool" navigates to the correct creation form with fields pre-populated
  • All pre-filled values are editable
  • Only available on pools the user actually created/administered (not any arbitrary pool)
  • Creating the duplicated pool results in a genuinely new, independent contract deployment

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSOfficial CampaignCampaign: Official CampaignfeatureNew functionality to addmedium-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