-
Notifications
You must be signed in to change notification settings - Fork 10
feat(cat-voices): voting, representatives & delegation #4040
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
Draft
damian-molinski
wants to merge
31
commits into
feat/co-proposers-3677
Choose a base branch
from
feat/voting_dreps_delegation
base: feat/co-proposers-3677
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat(cat-voices): voting, representatives & delegation #4040
damian-molinski
wants to merge
31
commits into
feat/co-proposers-3677
from
feat/voting_dreps_delegation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: models for delegation & reps * feat: models & service & builder interfaces * feat: simple implementation of builder and dummy service * test: Delegation builder unit tests * chore: simplify exporting models * fix: analyzer * chore: apply PR review comments
* register drep role * refactor * refactor * refactor * refactor
* feat: dark mode support for actions cards * chore: review * chore: change to webp
* refactor: extract code * refactor: extract validation errors * refactor: cleanup * chore: spelling * feat: extract document builder menu placeholder * docs: improve * refactor: extract common widgets * chore: spelling * refactor: extract common mapping * refactor: extract mapping to a constructor * refactor: extract util * chore: cleanup
* feat: add global sync indicator * refactor * refactor
* feat: voting service watch voting role for account * refactor: extract unlocked account transformation * feat: interfaces for voting role * chore: remove VotingPower from account model and add getActiveVotingRole to VotingService * chore: apply PR review suggestions
* feat: always allow to access voting space * refactor: rename leading button * chore: unused widget
* feat: update tabs * feat: handle delegator role * feat: different voting tabs per different campaign stages * fix: count stream
* feat: setup document_viewer_cubit * feat: setup cache classes * feat: setup mixins * feat: setup proposal_viewer * feat: load proposal * feat: proposal_viewer page * feat: moving ui widgets to new cubit * feat: adding common document viewer widgets * chore: remove old ProposalPage * feat: rename common widget of Comments * feat: adding widgets regarding only proposal viewer * feat: renaming comment viewer widgets to be more common * feat: renaming common widgets from proposal only * feat: proposal_viewer logic * chore: remove old proposal page * feat: update collaborators state * chore: self review * fix: merge issue * chore: testing * feat: adding proposal segment builder and segments data * chore: remove old proposal cubit * chore: rename to viewer_segments_data * fix: comment segments in local proposal * chore: review updates * chore: cache setup * chore: apply new document version mapping * chore: review move emitting state to collaborator mixin * chore: comment mixin can emit state * chore: remove uncessesary override
* feat: setup document_viewer_cubit * feat: setup cache classes * feat: setup mixins * feat: setup proposal_viewer * feat: load proposal * feat: proposal_viewer page * feat: moving ui widgets to new cubit * feat: adding common document viewer widgets * chore: remove old ProposalPage * feat: rename common widget of Comments * feat: adding widgets regarding only proposal viewer * feat: renaming comment viewer widgets to be more common * feat: renaming common widgets from proposal only * feat: proposal_viewer logic * chore: remove old proposal page * feat: update collaborators state * chore: self review * fix: merge issue * chore: testing * feat: adding proposal segment builder and segments data * chore: remove old proposal cubit * chore: rename to viewer_segments_data * fix: comment segments in local proposal * chore: review updates * chore: cache setup * chore: apply new document version mapping * chore: review move emitting state to collaborator mixin * chore: comment mixin can emit state * feat: theme data for countdown * feat: optymize rebuilds * chore: revert discovery * fix: remove unused check * chore: remove uncessesary override * fix: format * chore: code review * fix: test
* feat: initial expanded fab implementation * feat: voting list and representatives list fab * fix: spelling
Co-authored-by: Ryszard Schossler <[email protected]>
* feat: update tabs * feat: handle delegator role * feat: different voting tabs per different campaign stages * fix: count stream * feat: voting results state * feat: voting results incoming state * refactor: orElse custom constructor
* feat: setup document_viewer_cubit * feat: setup cache classes * feat: setup mixins * feat: setup proposal_viewer * feat: load proposal * feat: proposal_viewer page * feat: moving ui widgets to new cubit * feat: adding common document viewer widgets * chore: remove old ProposalPage * feat: rename common widget of Comments * feat: adding widgets regarding only proposal viewer * feat: renaming comment viewer widgets to be more common * feat: renaming common widgets from proposal only * feat: proposal_viewer logic * chore: remove old proposal page * feat: update collaborators state * chore: self review * fix: merge issue * chore: testing * feat: adding proposal segment builder and segments data * chore: remove old proposal cubit * chore: rename to viewer_segments_data * fix: comment segments in local proposal * chore: review updates * chore: cache setup * chore: apply new document version mapping * chore: review move emitting state to collaborator mixin * chore: comment mixin can emit state * chore: remove uncessesary override * feat: proper settings for comments in proposal viewer * feat: remove readOnlyMode * chore: l10n clean * fix: test
* fix: align tabs with search bar * feat: make place for voting power card * feat: expose voting role view model * feat: individual voting power card * feat: extract info card * feat: delegator card * feat: representative voting power * fix: ui adjustments * chore: cleanup code * refactor: cleanup code * chore: cleanup * fix: header alignment * fix: gradient * refactor: remove selector * refactor: extract money
* feat: my representatives route * feat: setup become reviewer card * feat: become reviewer card and page * feat: set up actions cards * feat: checking voting roles * feat: become reviewer page header and hint * feat: steps to become reviewer widget * chore: cleanup after My opportunities * fix: format * chore: code review * feat: change colors for shadow * chore: remove campaign id from cache --------- Co-authored-by: Damian Molinski <[email protected]>
* add voting timeline * refactor * refactor * refactor * refactor * refactor * Add `favourite` to project dictionary * refactor
* feat: add individual voting power dialogs * feat: voting power dialogs * fix: missing translation * refactor: cleanup code * chore: clarify todo * chore: sort imports * chore: code review changes * docs: clarify date
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
no-track
Used to skip tracking in Swarmia analytics, etc.
squad: face
Frontend Catalyst Experience Team
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Feature PR for voting
Related Issue(s)
Resolves #3949
Resolves https://github.com/input-output-hk/catalyst-internal-docs/issues/349
Resolves https://github.com/input-output-hk/catalyst-internal-docs/issues/350
Resolves https://github.com/input-output-hk/catalyst-internal-docs/issues/351
Part of https://github.com/input-output-hk/catalyst-internal-docs/issues/348
Breaking Changes
Demo
TODO
Related Pull Requests
Builds on top of #3731