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
Authorization screen #16
Conversation
@pilhuhn @danielpassos Just added environment support as afterthought. It will help to be just a little more flexible. Also, there are some screenshots of buttons to help you to choose. Probably I should change it to grey — there is enough red already. |
I think we not need worry about the colors for now |
|
||
private void setUpDefaults() { | ||
if (Android.isDebugging()) { | ||
hostEdit.append(BackendEndpoints.Community.HOST); |
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.
You was the first guy I see use append
to set a text instead of use setText
😄
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 don’t remember reasoning behind this honestly, but probably it was related to some bug in the past I encountered. Maybe some focus stuff. I’ll change it.
I notice you are using for build some object:
Let's try to make it concise |
Could you rebase it? |
I'm trying to run it but I'm getting:
|
Updated and rebased. |
Only to be clear my comment about |
I understand, I just cannot remember any valid arguments in favor of |
@danielpassos What is left to get this PR merged? |
Only I have time to merge :P |
This time I tried to pay attention to details and follow mockups as much as possible, so nitpicking is very welcome.
The Hawkular authorization is now required and the authorization screen will show up when it is needed. If the authorization process failed the application will quit, because without it you cannot do anything without fancy crashes.
BTW. After capturing screenshots red buttons seem extremely ugly. Should I change them to default grey?