-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Fix emoji only filter #393
Conversation
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
Signed-off-by: Mario Danic <[email protected]>
d31c787
to
1868718
Compare
Signed-off-by: Mario Danic <[email protected]>
@vanniktech mind fixing the warnings here? |
@mario I can do that once you're rebased |
Signed-off-by: Mario Danic <[email protected]>
@rubengees fancy fixing warnings? My head is a mess today. |
@mario Sure, done. |
I found a way to break out of the emoji picker and show a normal keyboard. Steps:
|
PMD reports the |
Ignore it |
@@ -23,6 +23,7 @@ dependencies { | |||
testImplementation rootProject.ext.testing.assertJ | |||
testImplementation rootProject.ext.testing.robolectric | |||
testImplementation rootProject.ext.testing.privateConstructor | |||
androidTestAnnotationProcessor deps.support.test.autoService |
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.
What do we need this for?
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.
One of the lints complained about it missing.
@@ -100,7 +101,8 @@ ext { | |||
junit : 'junit:junit:4.13-beta-3', | |||
robolectric : 'org.robolectric:robolectric:4.3.1', | |||
privateConstructor: 'com.pushtorefresh.java-private-constructor-checker:checker:1.2.0', | |||
assertJ : 'org.assertj:assertj-core:2.9.1' | |||
assertJ : 'org.assertj:assertj-core:2.9.1', | |||
autoService : 'com.google.auto.service:auto-service:1.0-rc4' |
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.
same
@@ -68,6 +68,7 @@ dependencies { | |||
androidTestImplementation deps.support.test.runner | |||
androidTestImplementation deps.support.test.rules | |||
androidTestImplementation deps.fastLaneScreenGrab | |||
androidTestAnnotationProcessor deps.support.test.autoService |
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.
same
@vanniktech did you test this? Since I don't even see the input method dialog? |
Not yet |
I found one way:
|
Should be ok now @vanniktech and @rubengees |
Signed-off-by: Mario Danic <[email protected]>
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.
Tested and this works. Nice work! Let's wait until @rubengees also approves
@rubengees @mario how should we proceed with PR's so that they don't stay open that long? I propose:
|
Well in general I'm highly in favour of at least two reviews, but I guess we need a policy on how long we wait. I feel like 3 days is too little? How does 7 days work for you two? |
Sure. I'm fine with 7 days! |
I'll merge this now as discussed with @mario. |
Sorry for being away so long, I agree regarding the proposed time for waiting. |
No need to be sorry. I hope everything is fine @ruben |
Yes sure, was just a bit lazy in the last time 😄 |
Previously, when you enabled emoji-only filter and focused the edittext the emoji popup would appear.
In the future, when you tried focusing it for the second time only a keyboard would open as in reality edittext is already focused.
We now clear the focus after dismissing the emoji popup in case keyboard input is disabled.