okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

Don't prompt users to "Send Payments" until first distribution period starts #2267

Closed dotmacro closed 2 months ago

dotmacro commented 3 months ago

Problem

On testing, a user with a needed monetary pledge is prompted to "Send Payments" in the Contributions section of the dashboard:

beforeStart-Contributions

Clicking the button takes the user to the Payments screen, where the user is told they cannot make payments because the first distribution period has not yet started:

beforeStart-payments

A user who will receive a monetary pledge is shown there are payments to be received:

image

Clicking the button to "See more" takes the user to the Payments screen, where the user is told the first distribution period has not yet started:

image

Note: The Contributions page (for all users) shows all contributions that have been entered so far, and is fine as-is :) image

Solution

Before the first distribution period: