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

Rendering issue on small screens (PinePhone) #163

Closed
tfardet opened this issue Jun 21, 2022 · 1 comment
Closed

Rendering issue on small screens (PinePhone) #163

tfardet opened this issue Jun 21, 2022 · 1 comment

Comments

@tfardet
Copy link

tfardet commented Jun 21, 2022

On mobile device screens, the 0.2.4 release has some rendering issues associated to the small terminal width:

  • QR code does not fit terminal width (each real line is rendered over two lines)
  • sender line (date + contact name) is too long and compresses message to one or few words per line

Potential solutions:

  1. detect terminal width in char numbers and adapt QR code or use PNG in that case
  2. put message time and contact name on two lines
  3. compute contact name length and only use initials
  4. mark date only once on a separate (centered?) line and mark only time on the message line
  5. use a combination of 2, 3, and 4

Illustration of the issue

Current look:

[data] [time] [contact name]: This is
                              how the
                              message
                              looks

Proposed solution

                [date]

[time] [CN]: This is how the message
             could look.

[time] [me]: And this is an answer.
@boxdot
Copy link
Owner

boxdot commented May 27, 2024

Done in #164

@boxdot boxdot closed this as completed May 27, 2024
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

No branches or pull requests

2 participants