notesnook icon indicating copy to clipboard operation
notesnook copied to clipboard

Don't cut off long titles

Open candroid-man opened this issue 1 year ago • 10 comments

What problem are you facing?

Screenshot_20220801-074935

As you can see, the titles are being cut off lik...

What's the solution you'd like to see in Notesnook?

Wrap the text, if someone has a long title, there is a good reason for it.

What alternatives have you considered?

No response

Additional context

No response

candroid-man avatar Aug 02 '22 16:08 candroid-man

Wrap the text, if someone has a long title, there is a good reason for it.

The issue is that there will ultimately be a limit to how many lines the title can be wrapped to. So how many lines should it be wrapped to before cutting off? 2? 3? Who decides? :laughing:

thecodrr avatar Aug 05 '22 03:08 thecodrr

Make it unlimited. A user won't make a title 6 pages long, but if for whatever reason they do, they want to be able to read all of it from the notes page because it is the title of the note, and that's what it's for

Edit: if they can't read the whole title, what's the point in having a title?

candroid-man avatar Aug 05 '22 03:08 candroid-man

That'd be extremely inconvenient. Take file names for example, they aren't wrappable and require going into properties etc to see the full name. Similarly, I haven't yet seen any app that allows unlimited wrapping of the title. It wouldn't make sense. Title is supposed to be concize. If you want to make it long, why not put it as headline?

Even on GitHub an issue title doesn't get wrapped on all issues list (it gets wrapped when you open it).

thecodrr avatar Aug 05 '22 05:08 thecodrr

The way I see it, is what exactly would a user be putting in the title of a note that would take up an inconvenient amount of room? A title is supposed to show the user what note is what, and if they have a long title, they would want to see the full title, and if they didn't, they would make a shorter title.

I suppose unlimited could get weird, but bare minimum 2 lines would be good, but I know for me this would be very helpful (see screenshot above), so I can read the full title of a note

candroid-man avatar Aug 05 '22 06:08 candroid-man

Another alternative I have seen used is to show a tooltip with full title on hover.

thecodrr avatar Aug 05 '22 06:08 thecodrr

Making text wrap would make the most sense on desktop specifically if anywhere, but if you are very against doing this then you could do it using tooltips. Only problem though, you can't hover on mobile

candroid-man avatar Aug 05 '22 06:08 candroid-man

Wrapping is not a permanent solution since the title could be longer than 2 lines. What then? Tooltips will work with titles of unlimited size.

As for mobile, unfortunately the only solution is to open the note properties. I think it supports line wrapping (@ammarahm-ed). If not, we should add it there.

thecodrr avatar Aug 05 '22 06:08 thecodrr

On mobile, it does wrap in properties, though what's the point of going into properties just to read the full title, cause by that point you are already in the note just based on the first few words of the title anyway.

Just to reiterate my point, say you have a note with a long title, such as "This is a very long title yes it is I like my titles nice and long 1". Now you make another note with the title "This is a very long title yes it is I like my titles nice and long 2".

How would you tell them apart without going into properties for each one and checking? It becomes very hard to get the full context of what is in a note without the title being visible all the way, as the title is what tells the user what is inside that note, and is meant to be read from the notes menu. If you keep it the way it is currently, what is the point of having a long title if you can't read it? I feel like I wasn't clear about why this is so important in the original post, and I'm hoping this makes you understand where I'm coming from with this.

candroid-man avatar Aug 05 '22 06:08 candroid-man

I do understand your point but the solution for this isn't to wrap the title. A quick solution would be not to write 99% similar titles. Thats exactly the case with having similar file names. You have to either open the file or the properties to see the difference.

This use case can easily be handled in a variety of ways since not all notes have long & similar titles.

thecodrr avatar Aug 05 '22 07:08 thecodrr

I understand your point now as well, so I will keep it brief so anyone else seeing this can comment.

I think that there should be at least 2 lines before cutting off the title. This would fix any minor issues such as mine shown in the screenshot, and would also not take up much room on any platform.

candroid-man avatar Aug 05 '22 07:08 candroid-man