front end: user interface changes to help new users
From the below conversation, a couple of requests:
- range of potential rewards for a given ticket
- from the ticket page, help a user quickly see ticket status and where the vote is, etc. (some color coded button or something?)
- put the vote reward somewhere else in addition to the Stakegen input
Damian [11:24 PM] It is possible given a ticket hash, look at block explorer and find out if its state?
I can find the ticket, but I don't see how to tell if it voted, is active, expired...
chappjc [2:36 PM] @Damian please check your ticket on the beta dcrdata explorer: https://beta.dcrdata.org/ You'll be able to see if an unspent ticket is live, expired, missed For examples, see https://github.com/dcrdata/dcrdata/pull/300#issuecomment-357092575
Damian [2:40 PM] See it pretty Do you think the reward could be added?
chappjc [2:40 PM] Here's a couple interesting tickets: expired, but unrevoked: https://beta.dcrdata.org/tx/cf54436b623ba15887d8123b64e8b4cc39c0602cd67b8f3977a607280a4ae970 missed, but unrevoked: https://beta.dcrdata.org/tx/cf54436b623ba15887d8123b64e8b4cc39c0602cd67b8f3977a607280a4ae970
Damian [2:40 PM] Kind of next question people could have is what is/will be my reward for this
chappjc [2:41 PM] no way to know
Damian [2:41 PM] :disappointed:
chappjc [2:41 PM] it changes depending on when it would vote
Damian [2:41 PM] that's another piece of information I've found hard to collect do you know for the voted ones?
chappjc [2:41 PM] you could supply upper and lower bounds yes, for voted ones the vote shows the reward
Damian [2:41 PM] let me check my voted ticket again well, if the info is there, it's not newbie friendly :slightly_smiling_face:
chappjc [2:42 PM] For example, this vote: https://beta.dcrdata.org/tx/9d220db063292e055a12e692c3066cb557b13cac0fa808e27be5d1f31923b953 Input Previous Outpoint Addresses Block DCR Stakebase: 0000 N/A created 1.85321742 7843fd3909ab6c9cad969dd8f00f8a59ecec21bc48266261bd928866d05576a4:0 DsX2TNDowTMLkS4bJFrPz9Ey181NVjrVmFM 5243 4.54571897
Damian [2:43 PM] Mine is voted, but it just voted today So what I see is not entirely enlightening No indication that it's waiting for something to happen
chappjc [2:44 PM] :disappointed: waiting?
Damian [2:44 PM] well, it voted, but I still don't have the money it's in some intermediate state I don't know the name of :slightly_smiling_face:
chappjc [2:45 PM]
The page for your vote transaction should say MATURE False
and there should even be a progress bar and a count of blocks until maturity
Damian [2:45 PM] nope
chappjc [2:45 PM] not the ticket page, the vote page (edited)
chappjc [2:46 PM] uploaded this image: for example:

Damian [2:46 PM] got it
chappjc [2:47 PM] uploaded this image: the ticket page, find the vote here

davecgh [2:47 PM] You can't know the absolute reward for sure, but you can give a worst case value. The supply curve is deterministic and you know the expiration time, so you can certainly figure out the worst case.
chappjc [2:48 PM] @Damian This feedback is great, but it we'd honestly love to know how better to arrange and phrase things so it was clear right away
davecgh [2:49 PM] potential_rewards: [0, val_from_cur_interval, val_from_next_interval, ...]
Damian [2:50 PM] This block explorer has the info And can be read. Sure it's not super friendly, but block explorers never are
chappjc [2:51 PM] well, maybe it could be
Damian [2:51 PM] Maybe have a row in "Input" showing that something is still to happen there, or just include the vote info in the same page
chappjc [2:53 PM] hmm, I think the explorer needs a static page explaining tickets and votes, together with expiry, maturity, reward, etc and perhaps little question marks in circle things that give you a tooltip and a help link
jz [2:54 PM] Good idea, a lot of the nomenclature is totally new to most users. I also think Decerditon would benefit from tool tips like that in many places. Actually from sitting down with people and walking them through staking I've realized we should probably hide as much of the complexity as possible in "advanced" menus.
Nimrod [2:56 PM] And while you are at it. Kill "stake difficulty". Call it "ticket price".
@chappjc, a long time has passed and dcrdata has really improved but I can still see a few requests that stand out here:
- Nimrod [2:56 PM] And while you are at it. Kill "stake difficulty". Call it "ticket price".
- chappjc [2:53 PM] hmm, I think the explorer needs a static page explaining tickets and votes, together with expiry, maturity, reward, etc and perhaps little question marks in circle things that give you a tooltip and a help link
And maybe:
- range of potential rewards for a given ticket
- from the ticket page, help a user quickly see ticket status and where the vote is, etc. (some color coded button or something?)
- put the vote reward somewhere else in addition to the Stakegen input
Which of them do you consider irrelevant?