signum-network / signum-node

Signum Node
https://signum.network
GNU General Public License v3.0
195 stars 78 forks source link

Add Node Voting Dropdown to node GUI screen. #832

Open pir8radio opened 3 months ago

pir8radio commented 3 months ago

can you add a drop down at the top of that node GUI for feature voting? The dropdown would need to just take the P2P.myPlatform = value from the config or default value and add ;0 ;1 or ;2 depending on the dropdown selection of REJECT, APPROVE, or NO VOTE. Then on the first day of every month clear that value and set the value to "NO VOTE" aka ;1 needs to keep value on node app restart too.

0 = REJECT 1 = APPROVE 2 = NO VOTE

So in Voting dropdown if i select REJECT it will add ;0 to the end of the P2P.myPlatform value before being returned to the peer polls. then on the 1st of the month (if value not =2) set to ;2

this way it is easy for users to vote on things. and anyone can poll the nodes to gather the info. If we want to later go above and beyond we can capture this in the blockchain db. but this is a start... you can see it working here: https://explorer.notallmine.net/peers/ little vote icon in the state column.
image

Mockup: (fix formatting of course :-) image

ohager commented 2 months ago

The properties need to be reloaded then...and node restarted...