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

[CMS] Set owned proposals on manage cms user #2055

Merged
merged 4 commits into from
Jul 24, 2020

Conversation

thi4go
Copy link
Member

@thi4go thi4go commented Jul 13, 2020

This diff adds the option to set owned proposals on the manage cms user tab.

Depends on #2041
Closes #2020

Solution description

Add proposals owned field to the manage cms form. Modifies calls to manage cms user endpoint to set the corresponding field correctly.

UI Changes Screenshot

ownedprops

victorgcramos and others added 3 commits July 8, 2020 11:10
This diff now allows users to select proposals by its name, instead of
its token.

Since getting proposals names require a batching request, and those
requests are bounded by 20 proposals for each request, those requests
have to be done more than once in case the token from the
invoice (details and diff), or
the proposal (new and edit actions) are not on the dropdown list.
- add onFetchRemainingProposalsBatch method to fetch remaining
  tokens and lazy load proposal list
Copy link
Member

@alexlyp alexlyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@alexlyp alexlyp merged commit 3f11571 into decred:master Jul 24, 2020
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.

[cms] Allow administor to set a user as proposal owner
4 participants