Skip to content

mods for [email protected] #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 6, 2019
Merged

mods for [email protected] #2

merged 6 commits into from
Jan 6, 2019

Conversation

dkent600
Copy link
Contributor

@dkent600 dkent600 commented Jan 3, 2019

mods for [email protected]

The default Kovan and Rinkeby DAOs and their global period datetimes match the model spec.

@dkent600 dkent600 requested a review from orenyodfat January 3, 2019 18:17
@dkent600 dkent600 self-assigned this Jan 3, 2019
@@ -15,7 +15,7 @@ export class Auction4Reputation extends DaoSchemeDashboard {
protected wrapper: Auction4ReputationWrapper;
auctionsStartTime: Date;
auctionsEndTime: Date;
token: StandardTokenWrapper;
token: Erc20Wrapper;
auctionId: number = -1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why -1 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is obsolete. I removed the line

"lockingPeriodStartDate": "2019-02-18T00:00:00.000",
"lockingPeriodEndDate": "2019-03-21T00:00:00.000",
"governanceStartDate": "2019-04-04T00:00:00.000",
"lockingPeriodStartDate": "2019-02-18T12:00:00.000",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this times are for the dapp or landing page ?
If for dapp , why not read it from the contracts ?

Copy link
Contributor Author

@dkent600 dkent600 Jan 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the default when not specified in the other setting sections below it.

The contract dashboards do not use these hard-coded settings at all (except for one special case in the externalLocking dashboard where it has to know the global starting date). The hard-coded settings are for everything except the contract dashboards.

Copy link
Contributor Author

@dkent600 dkent600 Jan 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undertaking the suggestion of pulling the start/end dates from one of the contracts, we would have to choose one contract from which to obtain the dates. There would be no gaurantee it will have the right dates nor be consistent with the other contracts.

The following is what in the UI would be affected:

  1. the locking period end date that is shown in text on the dashboard page
  2. when the "reputation you have earned" section becomes visible
  3. when the "Register" button becomes visible in the MGN dashboard

(Not much.)

A wrong date will be immediately and easily spotted, and I so far see no advantage in testing.

I am not convinced this is worth spending any more time on.

Copy link
Contributor

@orenyodfat orenyodfat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved . though still need to address #1

@orenyodfat orenyodfat merged commit 4a7bb30 into master Jan 6, 2019
@orenyodfat orenyodfat deleted the upgradeToArcRc.3 branch January 6, 2019 12:28
@dkent600 dkent600 mentioned this pull request Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants