JoinColony / colonyCDapp

An iteration of the Colony Dapp sporting both a fully decentralized operating mode, as well as a mode enhanced by a metadata caching layer
5 stars 14 forks source link

Modify required stake for the staked expenditure extension when deprecated #2498

Open arrenv opened 5 months ago

arrenv commented 5 months ago

Specification

Story

As a USER, I would like to be able to modify the Staked expenditure extension when deprecated.

Description

It should be possible to edit the "Required stake" percentage value when the extension is in a deprecated state. This is possible on the contracts, however, according to recent updates as of this PR https://github.com/JoinColony/colonyCDapp/pull/2474, it is currently not supported by the saga.

The appearance and logic of the input, how it saves, the toast, who can edit it, etc. should be consistent with the state when the extension is enabled, it just needs to also be editable when the extension is in a deprecated state.

Implementation

This issue is complete when...

jakubcolony commented 5 months ago

@arrenv there is a setStakeFraction saga added which was added back in #2386, it should allow to set stake fraction for both enabled and deprecated extensions