Skip to content
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

Minor DAO ui fixes #2109

Merged
merged 4 commits into from
Dec 11, 2018
Merged

Conversation

ripcurlx
Copy link
Contributor

No description provided.

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

NACK

Need to change all labels to upper case

@@ -58,7 +58,7 @@ public MenuItem(Navigation navigation,
this.viewClass = viewClass;
this.baseNavPath = baseNavPath;

setLabelText(title);
setLabelText(title.toUpperCase());
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't handle the 'Vote on proposals'/'Browse open proposals' text that changes depending on phase

Copy link
Member

Choose a reason for hiding this comment

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

Could be fixed in GovernanceView.java:90/92

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing it out. Just fixed it by converting to uppercase also on label update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And I removed now an unnecessary uppercasing. Should have looked through the code more carefully 🙄

Copy link
Member

Choose a reason for hiding this comment

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

Yes, better to only set it inside setLabelText as you do now

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

ACK

Of course, much better to handle it there :)

@ManfredKarrer ManfredKarrer merged commit f0025a4 into bisq-network:master Dec 11, 2018
@ripcurlx ripcurlx deleted the minor-dao-fixes branch December 18, 2019 08:33
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.

3 participants