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

Motions and Permission Funding breaking #2937

Closed arrenv closed 2 months ago

arrenv commented 2 months ago

Teamwork task: Motions and Permission Funding breaking

Steps to reproduce

Prerequisite:

  1. Go to file src/components/v5/common/CompletedAction/partials/PaymentBuilder/partials/FundingModal/FundingModal.tsx
  2. Disable conditional logic at line 132 so that button loading state does not appear.

image

  1. Ensure you have the Reputation decision method enabled.
  2. Create a new Advanced payment action.
  3. Get all the way to the Funding step and open the funding modal.
  4. Set the Decision method to Reputation.
  5. Do the following as quickly as possible.
  6. Click the Fund payment button a number of times.
  7. Quickly set the Decision method to Permissions.
  8. Click the Fund payment button a number of times.
  9. You can slow down now.
  10. The UI should update to the release stage.
  11. Return to the Funding stage and interact with the widgets.
  12. Note the split sections and broken interactions.

Expected behaviour

Actual behaviour

image

broken-motions.webm

image

image

Additional broken UI.

image

image

image

rdig commented 2 months ago

Is this one for us or for Pagepro ?

arrenv commented 2 months ago

This is for Pagepro, I have labelled it correctly.