-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dao UI improvements #1795
Dao UI improvements #1795
Conversation
- Change FULL_DAO_NODE option from boolean to string to be able to detect not set values - isFullDaoNode, rpcUser and rpcPw can be set in the UI. If prog ars are available they will overwrite the UI data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm generally ok with this. utACK after tending to the comments (especially on display of phase length)
case PROPOSAL: | ||
break; | ||
case BREAK1: | ||
firstBlock++; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like the opposite of what the comment says. This will show the second block of the break as the first block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, should rename the var or refactor it so its less hacky...
...rc/main/java/bisq/core/dao/governance/proposal/compensation/CompensationProposalService.java
Outdated
Show resolved
Hide resolved
// block of the technical 3601 blocks is displayed as part of the break1 phase. | ||
/* PHASE_UNDEFINED(0), | ||
PHASE_PROPOSAL(3601), // 24 days | ||
PHASE_BREAK1(149), // 1 day |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about 299?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK - besides some minor changes
return firstBlock; | ||
} | ||
|
||
// Because last block in request and voting phases must not be used fo making a tx as it will get confirmed in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo:
fo --> for
...rc/main/java/bisq/core/dao/governance/proposal/compensation/CompensationProposalService.java
Outdated
Show resolved
Hide resolved
desktop/src/main/java/bisq/desktop/main/dao/governance/proposals/ProposalsListItem.java
Outdated
Show resolved
Hide resolved
isDaoFullNodeCheckBox.setOnAction(e -> { | ||
String key = "daoFullModeInfoShown"; | ||
if (isDaoFullNodeCheckBox.isSelected() && preferences.showAgain(key)) { | ||
String url = "https://bisq.network/docs/dao-full-node"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could think about moving all URLs into one place so they get easier to maintain when the structure in the docs is changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good idea. I use forwarders so we are independent from real url.
@ManfredKarrer Also please merge master into the PR so the travis build can run. |
@Christoph Can you have a look why JMockit is not working anymore in that module? TradesChartsViewModel is null and creates a nullpointer. Adding RunWith("JMockit") as it was earlier does not work with changed gradle file with newer JMockit version.
Too much small changed to list all....