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

Feature/4363/display email guests #4473

Merged
merged 12 commits into from
Nov 26, 2024
Merged

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Nov 21, 2024

resolve #4363

how to test:

  • invite user per mail

    and check the views below...

chat view

grafik

conversation info view

call view

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 force-pushed the feature/4363/displayEmailGuests branch from a194d3f to 592672e Compare November 21, 2024 17:01
@mahibi mahibi added this to the 20.1.0 milestone Nov 21, 2024
@mahibi mahibi self-assigned this Nov 21, 2024
@mahibi mahibi enabled auto-merge November 21, 2024 18:19
@sowjanyakch
Copy link
Contributor

If a user doesn't set a display name, no avatar or username will be shown on Android. On the web, a default avatar will be displayed, and the user will be named 'Guest'.

empty displayname

empty display name

@sowjanyakch
Copy link
Contributor

Whenever a display name of the guest is edited, guest name in the chat is not updated.

objectId would be some long random string for email guests. displaying them would not make sense. It's also not done on web.

Signed-off-by: Marcel Hibbe <[email protected]>
knowing if a guest did not change it's name is not possible at this point, so we also show the letter "G" if it's name is guest

Signed-off-by: Marcel Hibbe <[email protected]>
… any name

However this is only possible for the conversation info.
In other parts, the info if a guest changed the name or not is not available (like in the chat or in autocomplete)

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
also:
create ChatMessageUtils as helper for the ViewHolders in this case.
Could help to avoid duplicated code until there is a clear inheritance solution.

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the feature/4363/displayEmailGuests branch from 592672e to 8e08d92 Compare November 26, 2024 21:02
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/4473-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 disabled auto-merge November 26, 2024 21:12
@mahibi mahibi merged commit a1315d3 into master Nov 26, 2024
13 of 16 checks passed
@mahibi mahibi deleted the feature/4363/displayEmailGuests branch November 26, 2024 21:12
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings94159
Errors13273

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1616
Dodgy code7171
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total104104

Lint increased!

@mahibi
Copy link
Collaborator Author

mahibi commented Nov 26, 2024

Whenever a display name of the guest is edited, guest name in the chat is not updated.

i can't reproduce the mentioned behaviors. I merged to have it in RC1, but we will have a closer look and fix these things in a followup PR if necessary

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.

Android support for "Recognize email guests"
2 participants