Giter VIP home page Giter VIP logo

eos-wps-front's Introduction

eos-wps-frontend

Interaction with the eosio-wps

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

eos-wps-front's People

Contributors

aaroncox avatar chillsauce avatar deniscarriere avatar miclekoby avatar shotgunofdeath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

eos-wps-front's Issues

FAQ changes

Please add the following question/answer to the FAQ section, after the "Who can participate in voting on EOS WPS proposals?" question:

Q: How much work can be expected to get a proposal funded?
A: Data from other WPS shows that a lot of work is required to get a proposal funded. It is up to the proposer to seek and obtain votes on the proposal. The network does not provide guidance, nor guarantee, as to how to get funded.

Please update the answer for the "Is the 100 EOS fee ever refunded?" question as follows:

No, the fee is non-refundable once the proposal has been published. However, during the draft period of a proposal, the deposit of 100 EOS can be refunded.

Add chip popup when claim is executed

When a user executes claim , there's no pop-up/chip appearing to show it was successful transaction.

It would be helpful if the UI could show how much was claimed.

The claim amount can be pre-calculated by applying a delta from that proposal:

proposals::payouts - proposals::claimed = expected claim return

image

Multi language support

Add a language toggle, and ideally automatically detect the user’s language and present the UI in the appropriate language.

Support for English, Chinese and Korean only for now. We can provide Chinese and Korean translation of “about” content and all UI elements.

Add `proposers` feature

Allows the proposer to post metadata about themselves:

metadata_json (example)

  • name
  • description
  • website
  • telegram
  • wechat

TABLE proposers

params

  • {name} proposer - proposer of proposal
  • {map<name, string>} metadata_json - a sorted container of <key, value>

example

{
  "proposer": "myaccount",
  "metadata_json": [
    { "key": "region", "value": "global" }
  ]
}

ACTION setproposer

Set proposer's metadata

  • authority: proposer
  • ram_payer: proposer

params

  • {name} proposer - proposer of proposal
  • {map<name, string>} metadata_json - a sorted container of <key, value>

example

cleos push action eosio.wps setproposer '["myaccount", [{"key":"region", value":"global"}]]' -p myaccount

Period countdown

Display a countdown of the number of days remaining in the period at the top of the page

This is a nice-to-have enhancement request

Reduce vertical space in list view

The list view of Active Proposals should enable you to see many proposals at the same time without scrolling. The cards for proposals in list view are currently tall, containing a lot of vertical blank space, limiting the number of proposals that can be viewed at once.

Screen Shot 2020-03-12 at 3 55 20 PM

Reduce the vertical space used by proposals in list view, and the space between them, similar to how they appear in DASH Nexus.
nice-to-have: allow the cards to be expanded to display additional info and a graph of votes over time.

See example:
photo_2020-03-13_14-37-50

Don't automatically prompt a user to sign in on landing

Currently users are prompted to sign in as soon as they land on the website. They're not able to browse the proposals until they sign in or dismiss the prompt in Scatter.

Users should only be prompted to sign in when clicking the sign in button or attempt to take some action that requires they are signed in.

Users should be able to browse proposals without being interrupted.

Archive

Add a way to view old proposals from previous periods

(nice-to-have - not urgent)

content tweak for "about" section

Please update the "Voting periods and funding" section as follows:

A maximum budget of 50,000 EOS will be made available for each 30-day voting period. The period budget and duration are settings within the WPS smart contract that can be adjusted by MSIG approval from 15 of the top 21 Block Producers.

eosio.wps is funded from the fees accumulated in the eosio.names and eosio.ramfee accounts prior to the deployment of REX. Prior to REX, these accounts accumulated roughly 3.5 million EOS from EOS premium name auctions and RAM purchase fees. An MSIG approval from 15 of the top 21 Block Producers is required to move those funds to eosio.wps.

Any on-going fees being collected by eosio.names & eosio.ramfee will continue to flow to REX holders and shall not be transferred to eosio.wps. Funds flowing into REX will not be affected by this proposal.

We’ll propose to transfer 50,000 EOS, or two periods worth, to the eosio.wps account upon activation of the EOS WPS system. We’ll propose a top-up of another 25,000 EOS one month ahead of each period. This gives the top 21 the flexibility to discontinue the WPS system at any time by simply not funding it.

Add `comment` feature

Feature comment

If we could add a discussion/comments section to the UI with the following features:

  • create/modify/delete comment
  • only eligible accounts can comment:
    • proposer
    • voters (eligible BPs)
  • show all comments per single proposal ordered by date
    • table => comments
    • scope => proposal_name
    • multi-index (by timestamp) => index_position = 2
  • comment_json schema can be very simple initially:
    • { "key": "text", "value": "my comment" }

Note: Accounts can only comment once per proposal, however, they can edit/delete their comment during the proposal's active status.

ACTION comment

  • authority: account
  • ram_payer: account

params

  • {name} account - account name
  • {name} proposal_name - proposal name
  • {map<name, string>} metadata_json - a sorted container of <key, value>

example

# create/modify comment
cleos push action eosio.wps comment '["myaccount", "myproposal", [{ "key": "text", "value": "my comment" }]]' -p myaccount

# delete comment
cleos push action eosio.wps comment '["myaccount", "myproposal", []]' -p myaccount

TABLE comments

  • scope: proposal_name
  • ram_payer: account

multi-indexes

param index_position key_type
timestamp 2 i64

params

  • {name} account - account name
  • {time_point_sec} timestamp - last time created/modified
  • {uint16_t} version - version number
  • {map<name, string>} metadata_json - a sorted container of <key, value>

example

{
  "account": "myaccount",
  "timestamp": "2020-03-26T12:00:00",
  "version": 0,
  "metadata_json": [
    { "key": "text", "value": "my comment" }
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.