paritytech / capi-multisig-app

[WIP] Simple multisig administration
https://multisig.capi.dev/
Apache License 2.0
8 stars 0 forks source link

The sign button is sometimes disabled #221

Open statictype opened 1 year ago

statictype commented 1 year ago

Even if the multisig has pending proposals, the UI doesn't allow signing them. Looks like for the respective proposal, the RuntimeCall is undefined so the button is disabled

Screenshot 2023-06-26 at 16 21 22
peetzweg commented 1 year ago

This is probably intentional, as I disabled the button if no callData is available for this pending transaction.

https://github.com/paritytech/capi-multisig-app/blob/main/www/src/components/Setup.tsx#L176C1-L176C58

We should think about this case, how to show multisig transactions we are missing the callData for. This could be transaction triggered by other multisig apps i.e. .

Maybe show the whole transaction in a "disabled" state with a info to why this transaction can not be viewed & signed with our multisig app? cc @Goranch3

statictype commented 1 year ago

i think we should allow the user to paste call data in this case. the call data was there, but for some reason was not stored properly. we could also allow users to remove a pending transaction from the UI.