Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useActions from many screens #634

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open

Conversation

Harthor
Copy link
Member

@Harthor Harthor commented Sep 26, 2021

We worked on this issue with @juliangnr90
We removed useActions from 8 screens.
On each screen we receive only the necessary actions for the screen through props.

The only one we didn't remove is createProposalScreen because this is called from Home and Footer, with Home it's ok because it's already calling useActions, the problem is the footer component, which is called from MainView component and we are not sure which is the best way to call actions from that component.

We tested it for:
RaiseDisputeScreens
RemoveProposalScreens
SignAgreementScreens
SupportProposalScreens
WrapTokenScreens

We will be able to test these in the next 48 hours I think, we left a proposal challenged and a proposal supported in the test dao.
ExecuteProposalScreens
SettleProposalScreens

We don't know about ClaimRewardsScreens

@vercel
Copy link

vercel bot commented Sep 26, 2021

@Harthor is attempting to deploy a commit to the 1hive Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Sep 27, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/1hive/honey-pot/CPeFU6qXAcPEuLXvXqD5KRBf5t5E
✅ Preview: https://honey-pot-git-fork-harthor-gardens-1hive.vercel.app

@0xGabi 0xGabi changed the base branch from gardens to staging December 22, 2021 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants