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

Backup work #2495

Open
1 of 5 tasks
wliyongfeng opened this issue Dec 20, 2022 · 12 comments
Open
1 of 5 tasks

Backup work #2495

wliyongfeng opened this issue Dec 20, 2022 · 12 comments

Comments

@wliyongfeng
Copy link
Member

wliyongfeng commented Dec 20, 2022

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Dec 21, 2022

Governance statistics

Delegation ✅

  • How many addresses are delegating?
  • What's the total amount/capital of delegation?
  • Which address has the most amount/capital delegated?
  • Delegation by track.

Vote type

  • Ratios of Standard, Split, SplitAbstain.
  • Token ratios of Standard, Split, SplitAbstain.

Vote

  • Addresses ranking by vote participation.
  • Addresses ranking by vote amount/capital.

General ✅

  • Token referendum vote percentage trend.
  • Vote participation addresses number trend.

Referendum statistics

  • Decentralized voices proportion

Others

  • Show referenda pass rate comparation between different tracks.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Feb 6, 2023

User vote management

  • Show current vote, and support removing them to unlock the balance.
  • Show history records.
  • For democracy and referenda pallets

Check: #2529

  • Show delegated on-chain votes.
  • As a voter, if I set a proxied account, I should be able to switch between my proxied account votes and my votes.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Feb 17, 2023

Search

  • First phase: google in site search.
  • Second phase: implement full text search.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Mar 20, 2023

Democracy util actions

  • Second a democracy proposal with times in a batch extrinsic, so users don't have to sign extrinsics many times.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Apr 21, 2023

Ideas

  • Show off-chain voting proposals on summary page.
  • Support google calendar to subscribe events on calendar.
  • Show polkadot forum topics on subsquare. Show latest polkadot forum topics on the overview page discussions panel #3770
  • User can leave emojis on post content or comments. like: 👍 , 😄 , 🤝 .
  • User can leave a short reason about their vote.
  • Referenda confirming is so important that we should create a warning message for confirming referenda on home page.
  • Make UI to support voter leaving short comments about why they vote Nay to a proposal. Related links: forum topic.
  • Show multisig addresses and to signed multisigs.
    • Show history multisigs and multisig status.
  • Show ecosystem news. Implement Eco News section to overview page #3627
  • Show the author's vote on a referendum comment.
  • Show red/green color on users' comments for aye/nay, check twitter here.
  • Show login user's portfolio. Check here.
  • User should be able to see translations of a post.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Apr 21, 2023

OpenGov enhancements:

  • On referenda all page, support users to delegate to another address on multiple tracks.
  • Filter referenda by state
  • Show requested amount on referenda list if they are treasury request referenda.
  • Show a timeout countdown component when a referendum preparing phase ended but not enter into decision phase.
  • Add a search box at the top of votes popup, so we can find quickly a specified address/identity's vote.
  • Support users to refund the decision deposit.
  • Support users to un note preimage on referendum detail page.
  • Show referendum tally history trend on the threshold curve chart.
  • Show user vote on tally history chart.
  • Add a milestone based USDx treasury spend proposal.

Fellowship

  • Vote should be disabled for non fellowship members or members without enough eligibility(rank too low).
  • Show curve chart on referendum detail page.
  • Show my vote on referendum detail page.
  • Support cleaning up poll.
  • Upcoming referenda events should be shown on calendar.

Polkadot Fellowship

  • Show warnings when a member's demotion period is coming to an end.
  • Overall activity status feed including membership changes, rank alterations, salary payments and proposals..

Visualization

  • Queue info for different tracks. Track queue capacity, confirming/deciding/preparing/queueing referenda status, and finished referenda statistics.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Apr 22, 2023

User personalization support

  • Support avatar setting.
  • Switch avatar when clicking current avatar.
  • Support user set a delegation manifesto.

All settings should take advantage of a cross platform solution, so different platforms can use a user's one-time setting. Maybe we will user remark+ IPFS solution.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented May 3, 2023

UI & UX enhancements

  • Show a award countdown component for a treasury proposal
  • Show a mark for malicious post on list page
  • Add project related links on summary page
  • Show a countdown component for a democracy referendum to show when it will end.
  • Show a countdown component for a democracy referendum to show when it will be executed.
  • Improve call data shown on proposal metadata panel. For example, we first only show section#method, and show detail on popup when a icon is clicked. ⭐
  • There should be a switch to control timeline item details. If off, only show timeline item name/time, or if on, show all the item args. ⭐
  • Show a warning message when the execution info is not found on a democracy/OpenGov referendum detail page. This warnings message should only be shown when current chain height is over the scheduled height.
  • Add a subscan link besides polkassembly on referendum detail page.

Profile

  • Show user balances on profile page.
  • Show governance locked balance and show a link for users to manage their on-chain votes.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Jul 3, 2023

Performance

  • We should subscribe post data on each detail page. So we don't have to manually update data when user some calls happened. The subscribed data should be state and timeline.
  • Reduce useless fields for list api. -> query param: simple=true
  • Sync polkassembly comments to self DB.

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Jul 17, 2023

Url improvement: ✅

After refactor, old ones should be redirected to the new ones.

OpenGov:

  • referenda/referendum/[referendum_id] -> referenda/[referendum_id]
  • referenda/track/[track_id] -> referenda/tracks/[track_id]
  • referenda/track/[track_id]/statistics -> referenda/tracks/[track_id]/statistics
  • fellowship/referendum/[referendum_id] -> fellowship/referenda/[referendum_id]

Treasury:

  • treasury/proposal/[proposal_id] -> treasury/proposals/[proposal_id]
  • treasury/bounty/[bounty_id] -> treasury/bounties/[bounty_id]
  • treasury/child-bounty/[bounty_id] -> treasury/child-bounties/[bounty_id]
  • treasury/tip/[id] -> treasury/tips/[id]

@wliyongfeng
Copy link
Member Author

Technical:

Helper libs:

@wliyongfeng
Copy link
Member Author

wliyongfeng commented Oct 21, 2023

Interlay

We should show some customized governance status for interlay.

  • Total issuance of vINTR token.
  • How many addresses with vINTR token.
  • Account rank by vINTR balance.

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

No branches or pull requests

1 participant