Skip to content

[Feature request] Allow text wrapping on the titles, for the list of 2FA codes on the main screen #1793

@ozmium

Description

@ozmium

Summary

  • This seems like a great app that's well designed. Well done for creating it.
  • However, for the name of the 2FA code, there is a problem when the text titles are long; the Aegis app will truncate these titles to just 1 line with "..." truncation at the end.

The problem

  • The "..." truncation is a problem because the user cannot see all the text of the long title. So it causes a usability problem.
  • This can happen more often if the user has a very low-resolution smartphone and uses portrait mode, by preference.
  • It becomes a bigger problem if the user has long text titles, and some items look like duplicates. For example, "Microsoft 365 Account for Work (amanda.foley-smith@hotmail.com)" and "Microsoft 365 Account for Work (amanda.foley-smith@office365.com)" will both display as "Microsoft 365 Account for Work (amanda..." so the user cannot tell these 2 accounts apart in the Aegis list.

Possible solutions

  • Automatically make the text wrap to a maximum of 2 lines when necessary. If the text is short enough, it will remain as 1 line, as before.
  • Optional: Add a user setting to enable or disable the multi-line text wrapping.
  • If you're using XML layouts, it's possible to make the text boxes auto-adjust their height and position to stay centralized vertically, without adding any extra code. You can use a RelativeLayout and make the TextView have properties like this:
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:ellipsize="end"
android:maxLines="2"

UI examples

Instead of showing this:

Image

 
Show this:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalA proposal for a new feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions