eosdac / eosdac-client Goto Github PK
View Code? Open in Web Editor NEWDAC Member Client used to access and view information about the DAC
DAC Member Client used to access and view information about the DAC
It says you are, but when you try to vote on a proposal, you get this:
I've seen this on KROWN. I have to reload the page and then at that point it notices I'm not really logged in so I have to login again. This can happen if you're logged in, but close down Scatter and are no longer logged in. Ideally, it shouldn't show you as logged in if scatter isn't open or it should give a better error message to let you know you need to login (and log you out so you can login)
It seems the alpha values are doubling on each other or something. I can barely see the windows that pop up when it's trying to sign a transaction or if there's an error.
we will get a wildcard ssl certificate before launch
vendor.97685bc3.js:83 WebSocket is already in CLOSING or CLOSED state.
value @ vendor.97685bc3.js:83
2app.f984a575.js:1 Could not connect to Scatter.
Links on the homepage open as about:blank instead of the correct URL
Test here: http://eosdac.dacfactory.io/
Main thing we have to test is that the custodian stake works as expected. We have to update contracts before deploying new client. Also need to test the proposal for transfers.
Originally, all referendums, worker-proposals, and so on, were managed as simple msigs. We need to maintain that code, make it easier to manage, and specially, make it easier to navegate and provide more information for all users.
Every DAC has it's own copy/instance of the dacclient. Every time we make any changes to the dac-client we will need to rebuild every single instance to release the latest changes.
Create a script to automate eosdac-client deployment to all dac instances.
First, change the contract code so if requested pay > max pay, treat requested pay as 0.
Interface currently shows this:
Your current pay amount is set to 1.0000 EOS
If that is above the max, we should instead display a note about it being an invalid amount and it will be treated as 0 until set below the max amount
Instead, it makes it seem you didn't click on anything, even after you signed for it.
When trying to unlock a dac, I get the error message "Not enought candidates to unlock" but does not show how many are needed. Also, even having the required amount, if one of the elected custodians has not voted, the error is still shown.
this is actually a clash of identifiers for the error message i18n
https://github.com/eosdac/eosdac-contracts/blob/master/dac_contracts/daccustodian/newperiod_components.cpp#L135
Add the inline documentation of how the custodian payment in the custodian's payment view.
5.8 Emoluments of each Custodian during a term shall be the mean of the Candidate Emoluments Declaration of Custodians appointed for such term divided by twelve (12), and shall be paid to each Custodian automatically and at the expiration of each term held by such Custodian or as otherwise provided by Nomination Directive.
implementing it ourselves would probably be more work than it is worth, there are a few external services which will show remote sessions and errors
i have used them server-side but i think there are client side tools too
unfortunately it would not catch errors within scatter
there are also open source logging tools which could be integrated, they wouldnt offer full stack traces etc but would be a good way to see where errors are happening
this looks good https://github.com/PostHog/posthog
first step would be to go through the member client and abstract the logging
then hook it into this, we would need to host it too
i dont think it is such a good idea to expose users to log data unless absolutely necessary. instead we should report what we need to the server and we would be able to track the full session (even in realtime)
something like this is a hosted service, https://sentry.io/
i think we should try some of the remote services. then if someone reports a bug we can get the session identifier and we will be able to see everything (probably)
we just have to make sure that we log all the data that we need, this might not pick up everything
Specifically the linkedin and twitter links. The website url link works.
The member status in the top menu dropdown always says non-member
Tasks about the worker proposal that we need to fix
The info and options in my candidateship and my payments is related and it's confusing what should go where. I think merging the 2 views in a single one could improve usability. Also, info about my balance of the DAC tocken (light) could be added to this view.
Feedback would really be appreciated
Redirects to KROWN DAC tg channel, instead of eosdac
The daccustodian contract now has an action called paycpu(name dac_id)
which will succeed if the action also has the authority of a custodian (dacauthority@one) - we need to make sure this is properly integrated into the member client
In addition we need to make sure we have the ability to disable it and make sure that daccustodian does not run out of cpu
Allow changing API manually, look at how it all works now, eosjs should cycle through apis but doesnt
Where it shows who i vote for on the right on this page is a bit funky. The 'x' to delete a vote covers the account name of the person i am voting for. It doesn't make UX impossible, but it's not pretty. Would be nice to allow more horizontal space for this section to move the 'x' from covering the account name.
So, I tried creating a local dev environment. I then tried to sing the constitution for the dacId: light
, but when trying to sign it, I hanged with no message:
There is no error in the dac-client, nor any message, making it harder to debug. I tried with different nodes in Scatter for the Jungle network but got different error messages in the Scatter console.
IMHO, the problem goes beyond the errors in the nodes. I think there should be some kind of default error handler for all calls to scatter. Some timeout and sow an error message in the dac's client.
The deferred transaction to update the eosdactokens contract and ABI did not work, as shown at
https://eosq.app/tx/f9e191d25a2fde3f296f8c6a66d149795843b12780c504e69f0b4beefbab5efa
This has happened before, so I'm trying to document here when it happens, and what solutions/workarounds are there.
Testing a DAC cration I saw the percentage over 100%.
The full creation json:
{
"id": "covidgt2",
"owner": "jorgecarlosb",
"appointed_custodian": "jorgecarlosb",
"authority": "covidgt2auth",
"treasury": "covidgt2trea",
"symbol": {
"contract": "eosdactokens",
"symbol": "2,GTAID"
},
"max_supply": "1000000000 GTAID",
"issuance": "1000000.00 GTAID",
"name": "COVIDGT20",
"description": "A test DAC to manage donations for COVID patients and medical staff",
"logo_notext_url": "",
"background_url": "",
"theme": {
"is_dark": false,
"colors": {
"primary": "#36aad1",
"secondary": "#005460",
"warning": "#f2c037",
"info": "#ace6ff",
"positive": "#21ba45",
"negative": "#cb2739",
"dark": "#1f1f1f"
}
},
"custodian_config": {
"lockupasset": {
"quantity": "0.00 GTAID",
"contract": "eosdactokens"
},
"maxvotes": 3,
"numelected": 3,
"periodlength": 7200,
"should_pay_via_service_provider": false,
"initial_vote_quorum_percent": 1,
"vote_quorum_percent": 1,
"auth_threshold_high": 2,
"auth_threshold_mid": 2,
"auth_threshold_low": 2,
"lockup_release_time_delay": 0,
"requested_pay_max": {
"quantity": "0.00 EOS",
"contract": "eosio.token"
}
},
"proposals_config": {
"proposal_threshold": 2,
"finalize_threshold": 1,
"escrow_expiry": 2592000,
"approval_expiry": 2592000
}
}
Error
transaction declares authority '{"actor":"krowndacownr","permission":"xfer"}', but does not have signatures for it under a provided delay of 3600000 ms, provided permissions [{"actor":"daccustodian","permission":"eosio.code"}], provided keys [], and a delay max limit of 3888000000 ms
The max-payment field has a validation not to accept amounts above a "max" filter. But if the payment is set, and then the max-paymnet is lowered, the payment requested will be above the new "max" value. We need to improve validation in that case.
I tried different methods according to the quasar-input validation, but it looks like it's going to need more time invested to fix it. But validation needs to happen also on the chain side,
Where the users name is listed there are dotted underlines that are not directly below the name. This should be considered for redesign. Maybe a solid line just below the name, or no line at all? Also, right now the dotted lines 'highlight' when you drag mouse over them (as if you can click them even though you can't).
I also think it could be considered to move the edit button to the top right so user doesn't have to scroll down to choose the option.
Users and custodians are having problems approving proposals, and interact with the dacclient. We need to integrate other tools other than scatter
Authenticated peer to peer chat (including group chat) would be very useful to have inside the member client
WebRTC can be used for this, but needs a server component to negotiate the connections between peers.
RapidProd have been working on using the chain for negotiation so we can run a chat server without having to have an additional server.
Look into this and check it is suitable and then integrate WebRTC into the member client
Similar to what we see on the manage candidateship
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.