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
feat: adds proposal status polling #5428
Conversation
7988ed9
to
18cf68c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good overall; just a few minor requested changes 👍
packages/desktop/views/dashboard/governance/views/DetailsView.svelte
Outdated
Show resolved
Hide resolved
export * from './proposal-status-polling' | ||
export * from './setVotingPower' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be either camelCase or kebab-case, just not both
packages/shared/lib/core/governance/constants/proposal-status-poll-interval.constant.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/governance/constants/proposal-status-poll-interval.constant.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/governance/stores/proposals-state.store.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/profile-manager/api/deregisterParticipationEvent.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/profile-manager/api/getVotingProposalState.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it and it works like a charm! 💪
Summary
Adds proposal status polling, refactors the proposal status enum and adds the proposal statuses as a persistent storage
Changelog
Relevant Issues
closes #5260
Testing
Platforms
Checklist