talk-android icon indicating copy to clipboard operation
talk-android copied to clipboard

Implemented Google EmojiPicker

Open Smarshal21 opened this issue 2 years ago โ€ข 16 comments

Resolves #2735

Description:

This pull request is aimed at replacing the existing Vanniktech Emoji Picker with the Google EmojiPicker within our application. The primary objectives of this change are to enhance the user experience and maintain compatibility with current emoji standards and features.

Changes Made:

  • Removed the Vanniktech Emoji Picker integration from the application.
  • Integrated the Google EmojiPicker into the application.
  • Ensured that all relevant functionality remains consistent after the replacement.

Screenshots:

๐Ÿ Checklist

  • [x] โ›‘๏ธ Tests (unit and/or integration) are included or not needed.
  • [x] ๐Ÿ”– Capability is checked or not needed.
  • [x] ๐Ÿ”™ Backport requests are created or not needed: /backport to stable-xx.x.
  • [x] ๐Ÿ“… Milestone is set.
  • [x] ๐ŸŒธ PR title is meaningful (if it should be in the changelog: is it meaningful to users?).

Smarshal21 avatar Nov 08 '23 19:11 Smarshal21

@mahibi and @AndyScherzinger could you please look into this pr and let me know and there are some usecases of vanniktech library which cant be replace with emoji2 library so i haven't changed them

Smarshal21 avatar Nov 08 '23 19:11 Smarshal21

@Smarshal21 Afaik the former solution also allowed to search for emojis (not too important to have IMHO). Is this possible with the Google lib?

AndyScherzinger avatar Nov 08 '23 19:11 AndyScherzinger

Afaik

Afaik No, If yes will take a look at it but didn't find it in this LIb

Smarshal21 avatar Nov 08 '23 19:11 Smarshal21

image

ctrl + shift + r shows that there are still more instances of com.vanniktech.emoji in the project.

rapterjet2004 avatar Nov 09 '23 15:11 rapterjet2004

image `ctrl` + `shift` + `r` shows that there are still more instances of `com.vanniktech.emoji` in the project.

yeah here are some usecases of vanniktech library which cant be replaced with emoji2 library so i haven't changed them, should i remove every instance of vanniktech??

Smarshal21 avatar Nov 09 '23 15:11 Smarshal21

I think you should. These usages were created to support the implementation of the Vanniktech Emoji Picker. It doesn't make sense to continue to have them with the Emoji Picker being removed. But make sure to double check that those components still work without the Vanniktech libraries.

rapterjet2004 avatar Nov 09 '23 16:11 rapterjet2004

I think you should. These usages were created to support the implementation of the Vanniktech Emoji Picker. It doesn't make sense to continue to have them with the Emoji Picker being removed. But make sure to double check that those components still work without the Vanniktech libraries.

Sure Will do it

Smarshal21 avatar Nov 09 '23 16:11 Smarshal21

@rapterjet2004 could you let me know if the remaining instances of vanniktech are useful/important i find its to better to remove those as i dont find any usecases of it correct me if am wrong

Smarshal21 avatar Nov 09 '23 20:11 Smarshal21

The goal is to remove the vanniktech lib completely. So you could just remove it from build.gradle and try to implement everything with the google lib instead.

mahibi avatar Nov 10 '23 11:11 mahibi

Codacy

Lint

TypemasterPR
Warnings8384
Errors88

SpotBugs

CategoryBaseNew
Bad practice66
Correctness88
Dodgy code112112
Internationalization33
Malicious code vulnerability33
Performance66
Security11
Total139139

Lint increased!

github-actions[bot] avatar Dec 16 '23 15:12 github-actions[bot]

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/3439-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

github-actions[bot] avatar Dec 16 '23 15:12 github-actions[bot]

@mahibi @rapterjet2004 resolved the changes requested๐Ÿ‘๐Ÿป

Smarshal21 avatar Dec 18 '23 13:12 Smarshal21

@mahibi @rapterjet2004 resolved the changes requested๐Ÿ‘๐Ÿป

thank you @Smarshal21 and sorry for delayed feedback.

As far as is see the toggle when clicking on the emoji icon is still different now. I would like to preserve the behaviour that a keyboard (R.drawable.ic_baseline_keyboard_24) or the emoji icon is shown left to the message input, depending on the state. And clicking on it should switch between the emoji view and keyboard.

mahibi avatar Jan 09 '24 14:01 mahibi

@mahibi @rapterjet2004 resolved the changes requested๐Ÿ‘๐Ÿป

thank you @Smarshal21 and sorry for delayed feedback.

As far as is see the toggle when clicking on the emoji icon is still different now. I would like to preserve the behaviour that a keyboard (R.drawable.ic_baseline_keyboard_24) or the emoji icon is shown left to the message input, depending on the state. And clicking on it should switch between the emoji view and keyboard.

as far as i see its working fine i can toggle between them.

Smarshal21 avatar Feb 09 '24 20:02 Smarshal21

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

github-actions[bot] avatar Mar 31 '24 02:03 github-actions[bot]