Wrap title text from objects linked in a page

Describe the bug

Long titles of objects does not get wrapped around when linked in a different objects.

To Reproduce

Steps to reproduce the behavior:

    1. Create an object with a really long title
    1. Create an other object and link the long titled object
    1. See that the link doesn’t wrap the title but shows a ‘…’ after the character limit.

Expected behavior

(strongly opinionated) the title text should be wrapped as the title provides crucial information that needs to be showed completely

System Information:

  • OS: Arch linux
  • Anytype Version: e.g. 0.19.0 (hamburger menu at bottom of screen on mobile, “About Anytype” from “Anytype” menu on desktop)

Additional context

Images:

Draft with long title:

Draft showing the lack of wrapping:

3 Likes

@abstractgeek Thank you for your notice! We haven’t implemented this yet, but plan to do that in the future. And very sorry for the late answer

Currently (0.29.0) it looks like this:
image

As its not a bug I will move it to the feature requests.

Hello @abstractgeek. You can use card appearance link for long titles. For text appearance we are not going to introduce several lines format for now.

1 Like

What is “card appearance link” ? In my one page they are displayed sometimes truncated, sometimes not and I’m not sure why?

Like A and B are both ‘Books’, but they appear differently.

UPDATE Did some testing, the truncated ones were added as @ links (inline). If I instead do /object and select a book, it’s not truncated. This seems like a bug since I’m not sure you’d want them to look different for that reason. No idea how I got it to look like B though?

If you use @ you can embed it into text and write on the left and right of the mention. This is why it is truncated. For links it is not the case and it appears fully :nerd_face: