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

✍️ Typing indicators #3029

Merged
merged 24 commits into from
May 23, 2023
Merged

✍️ Typing indicators #3029

merged 24 commits into from
May 23, 2023

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented May 17, 2023

resolve #2930

🖼️ Screenshots

not typing typing settings
grafik grafik grafik

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi added the 2. developing Work in progress label May 17, 2023
@mahibi mahibi added this to the 17.0.0 milestone May 17, 2023
@mahibi mahibi self-assigned this May 17, 2023
@AndyScherzinger
Copy link
Member

/backport to stable-17.0

@AndyScherzinger AndyScherzinger modified the milestones: 17.0.0, 17.1.0 May 17, 2023
@AndyScherzinger AndyScherzinger changed the title Feature/2930/typing indicators ✍️ Typing indicators May 17, 2023
@mahibi mahibi force-pushed the feature/2930/typingIndicators branch from 5473eba to 028b19d Compare May 22, 2023 09:40
@mahibi mahibi added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 22, 2023
@mahibi mahibi marked this pull request as ready for review May 22, 2023 16:16
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

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

LGTM

@AndyScherzinger
Copy link
Member

Fine codewise besides the code checks detections

@nickvergessen nickvergessen removed their request for review May 23, 2023 07:27
mahibi added 12 commits May 23, 2023 10:49
Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Without this refreshing of capabilites, depending settings (for now read privacy) were never updated until app was started again because the user still contained old capabilities.

This fix will also be necessary for the typing indicator setting.

Signed-off-by: Marcel Hibbe <[email protected]>
mahibi added 7 commits May 23, 2023 10:49
no need to define it redundant...

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
..."Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them as annotation attributes" by using @KeyByString

keys were also wrong by copy&paste and are now fixed

Signed-off-by: Marcel Hibbe <[email protected]>
-> align Unread messages above typing_indicator_wrapper

Signed-off-by: Marcel Hibbe <[email protected]>
Overdraw is expected here to avoid transparency for the typing indicator view. Instead chat message content should be hidden behind the typing indicator view.

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the feature/2930/typingIndicators branch from 45e0bbd to 0f58dea Compare May 23, 2023 08:49
mahibi added 5 commits May 23, 2023 11:16
followup to 0f58dea

Signed-off-by: Marcel Hibbe <[email protected]>
otherwise chat content was visible in between

Signed-off-by: Marcel Hibbe <[email protected]>
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Signed-off-by: Marcel Hibbe <[email protected]>
@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings109109
Errors00

SpotBugs

CategoryBaseNew
Correctness99
Dodgy code164164
Internationalization55
Malicious code vulnerability33
Performance1111
Security22
Total194194

@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/3029-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.

@mahibi mahibi merged commit aba34ed into master May 23, 2023
@delete-merged-branch delete-merged-branch bot deleted the feature/2930/typingIndicators branch May 23, 2023 11:52
@nickvergessen
Copy link
Member

🎉 gj!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support "Typing indicators"
3 participants