revolter / notepadtab.com

https://notepadtab.com/
GNU General Public License v3.0
128 stars 8 forks source link

Add support for note title that gets displayed as the tab name #2

Closed AlexW00 closed 3 months ago

AlexW00 commented 3 months ago

Hi, awesome project! When using multiple Notepad tabs, i find myself confused which one is which. I thought that an (optional) Title field for the note, which also gets displayed as the tab title, would be helpful. What do you think?

revolter commented 3 months ago

Great idea!

revolter commented 3 months ago

Personally, I see it implemented like this:

Something like this:

My awesome note with a not-so-awesome long ti… | Notepad Tab

What do you think?

AlexW00 commented 3 months ago

Personally, I see it implemented like this:

  • it would get only the first line of the content instead of the entirety of it (similarly to how Sublime Text does for unsaved tabs)
  • it would truncate (trim and suffix with ellipsis ()) the title to some number of characters
  • it would prepend the default website title with the truncated content title and a vertical bar (|)

Something like this:

My awesome note with a not-so-awesome long ti… | Notepad Tab

What do you think?

sounds great!