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

[BUG] Fix display name truncation issue with ellipsis #4380

Merged
merged 5 commits into from
Apr 15, 2024
Merged

[BUG] Fix display name truncation issue with ellipsis #4380

merged 5 commits into from
Apr 15, 2024

Conversation

Prakhar1701
Copy link
Contributor

@Prakhar1701 Prakhar1701 commented Apr 11, 2024

Resolved the bug where long display names were truncated incorrectly in the Manage Accounts view. Now, display names are properly truncated in the middle with ellipsis (...) to maintain readability.

Fixes #4351

Related Issues

App:

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

Resolved the bug where long display names were truncated incorrectly in the Manage Accounts view.
Now, display names are properly truncated in the middle with ellipsis (...) to maintain readability.

Fixes #4351
@CLAassistant
Copy link

CLAassistant commented Apr 11, 2024

CLA assistant check
All committers have signed the CLA.

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 12, 2024

Thanks a lot for you contribution @Prakhar1701. Now, the team will review it and give you some feedback from code and QA points of view.

@JuancaG05 JuancaG05 self-requested a review April 12, 2024 08:07
Copy link
Collaborator

@JuancaG05 JuancaG05 left a comment

Choose a reason for hiding this comment

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

Nice job here @Prakhar1701! Thanks for your contribution 😄

Just one more thing, do you dare to add the Calens file and the release note so that users will be informed about this improvement in the next release? Details are in the template you used for this pull request, in the first message you added. If you have any question just ask us 🚀

@Prakhar1701
Copy link
Contributor Author

@JuancaG05 I have added the Calens file and the release note, please check.

@Prakhar1701 Prakhar1701 requested a review from JuancaG05 April 14, 2024 13:40
Copy link
Collaborator

@JuancaG05 JuancaG05 left a comment

Choose a reason for hiding this comment

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

Hi @Prakhar1701! Nice work! Just 2 tiny things about the format of Calens and release note files 😄

@Prakhar1701
Copy link
Contributor Author

Thanks @JuancaG05 for guiding me with the correct format of the files.
I have made the required changes, please check.

@Prakhar1701 Prakhar1701 requested a review from JuancaG05 April 15, 2024 08:30
Copy link
Collaborator

@JuancaG05 JuancaG05 left a comment

Choose a reason for hiding this comment

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

Good job @Prakhar1701! This is approved from my side. Thanks again for your contribution 😄. Now this PR will pass a QA round, done by @jesmrec, and if there is any kind of flaw, he will let you know 🚀.

BTW, if you contribute in the future with other PR (we will be happy to see you over here 🥳), would be nice if you use conventional commits naming, just as explained here 👍.

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 15, 2024

Let's QA this

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 15, 2024

(1) [FIXED]

I notice that the text is not adapting somehow to the existing room. For example, this user:

Screenshot 2024-04-15 at 12 43 02

It is shown correctly in portrait orientation:

Screenshot 2024-04-15 at 12 44 03

but, in landscape:

Screenshot 2024-04-15 at 12 44 44

the circled area in white gives enough room to show more information.

Could you take a look?

Pixel2, Android11
13da2792

@Prakhar1701
Copy link
Contributor Author

@jesmrec I have resolved the mentioned issue, please check.

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 15, 2024

Fixed, thanks @Prakhar1701 !

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 15, 2024

Let's move this forward. Approved

@jesmrec jesmrec merged commit 04e7e51 into owncloud:master Apr 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Glitch in Manage Accounts view with long display names
4 participants