eosdac / eosdac-client-legacy

This is the frontend to interact with the DAC smart contracts.
MIT License
14 stars 19 forks source link

Allow previously elected custodians to still see the "My Payments" menu #58

Open lukestokes opened 5 years ago

lukestokes commented 5 years ago

When custodians are voted out, they lose access to that menu and can no longer claim their pay for the previous week using the member client. This happened to investingwad and jbucksteiner this past week.

piecesnbits commented 5 years ago

suggestion?

lukestokes commented 5 years ago

Maybe create a page under dac activity which shows all custodian payments which haven't been claimed yet. Then, on that page only, you can do a lookup for the logged in user to see if there is a match. If there is, then show the claim pay button next to that entry. It might also be cool to show a history of claimed payments.

What do you think @piecesnbits ?

piecesnbits commented 5 years ago

good idea

piecesnbits commented 5 years ago

history of payments will be impossible without history api though they get removed from the table when paid...

lukestokes commented 5 years ago

Yeah, that's fine. If @michaeljyeates wants to add that to the eosdac-api, throw it in mongo, and make it available, that would be cool, but it doesn't seem like a major issue to me. I just want to make sure custodians who get voted out can still get their last week of pay.

michaeljyeates commented 5 years ago

It should be possible to just query outstanding payments, dont think it needs an api

piecesnbits commented 5 years ago

yeah outstanding payments is possible, history isn't.