HausDAO / daohaus-app

long live pokemol
https://daohaus.club/
Other
134 stars 79 forks source link

Bug: Voting still allowed on executed proposal #1917

Closed plor closed 2 years ago

plor commented 2 years ago

final fix - https://github.com/HausDAO/daohaus-app/pull/1948

Describe the bug Minion transfer - early execution Problem: The early execution was a success but voting is still enabled. https://app.daohaus.club/dao/0x64/0xcd8fad1a2fc74bce90e9f5fd87164c68ecca9c12/proposals/280

To Reproduce Steps to reproduce the behavior:

  1. Submit minion proposal with early execution
  2. Vote yes and execute
  3. Switch to another wallet that has membership
  4. See that you are still able to vote after executing

Expected behavior

After execution UI should no longer show the vote buttons.

Actual behavior

Voting is still shown after execution has been done.

Screenshots

Image

Application area

Where in the app is this happening?

Additional context To reproduce you'll need to have access to two wallets on the same DAO. The first one to vote and execute, the second to see that voting is still showing.

plor commented 2 years ago

This works for me, though I'm having an issue with new safe minions (unrelated I think).

I did notice that the currently passing looks a bit odd with the voting buttons missing.

Image

plor commented 2 years ago

Also, voting is still showing on the proposal list view, there are quite a few issues where the details view doesn't match the list view. Should this be created as a separate issue?

brossetti1 commented 2 years ago

nah lets tackle it here - thanks for the thourough investigation, ill take a look

brossetti1 commented 2 years ago

fyi this fixes this draft

Image

plor commented 2 years ago

I'll just archive that draft then. Thanks.

brossetti1 commented 2 years ago

im wondering if this fixes https://github.com/HausDAO/daohaus-app/issues/1786

brossetti1 commented 2 years ago

linking latest pr https://github.com/HausDAO/daohaus-app/pull/1948

plor commented 2 years ago

1786 is a tricky one. I'll try to reproduce again when this is merged.

brossetti1 commented 2 years ago

this one has been deployed to https://qa.daohaus.club/ - moving into testing @plor

plor commented 2 years ago

Just want to note that the voting buttons are still enabled after execution on the proposal list page. This looks good on the details page though.