Skip to content

Large message folding #2094

Open
Open
@gytic

Description

@gytic

Describe the problem

In the current version of cinny, a long message can take up the whole screen, which can make it hard to catch up with what happend.

large_message_filling_whole_screen

Describe the solution you'd like

I think it would be reasonable to crop large text messages.

This means a preview (the start of the message) will always be shown, but the rest of the message will be hidden at some point. The full message can be shown through a "show all" button at the end of the message.
shortend_message

Alternatives considered

none

Additional context

It would be up to debate how to detect a "long message". Two options that immediately come to my mind:

  • based on occupied screen space
  • based on character count

I think the character count would be easier to implement, because there would be a clear limit where to make the split. However calculating the max size of a message based on screen size would be more user friendly, as a message will generally take up more space on a smaller screen than on a larger one, which should be taken into account when cropping a message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions