Skip to content

Recognise emojis in note titles and show them in the note list #2190

Closed

Description

@fran-f

Hello there! This is a vague feature request or suggestion, aimed at adding some colour to the Note List, to help scanning and finding notes visually.

At the moment, I can prefix the name of a note with an emoji, for example, "📚 Books". This works great in QOwnNotes, but the emoji becomes part of the filename on disc, creating some trouble in the shell, and for other tools that have difficulties with these characters.

Would it be possible to check if the text of a note opens with an emoji, and show this in the Note List, before the note name? For example, a note names book-list.md and opening with this heading

📚 Books
======

would appear in the Note List as "📚 book-list". This way we could keep filenames simple and compatible with other tools, but help specific notes stand out.

The position of the image could be ambiguous, for example if we had another file actually named 📚 stack-list.md. To avoid this issue, the "promoted" emoji could be rendered as the Note List line icon, replacing the "text placeholder" icon, as in the quick Paint mock below.

image

Activity

  1. pbek commented on Jul 19, 2021

    @pbek
    Owner

    Interesting idea, a lot of parts would need to be changed to attempt to make that work (with a lot of possible regressions). And of course this wouldn't work with Nextcloud Notes...

  2. fran-f commented on Jul 19, 2021

    @fran-f
    Author

    Agreed, it is a tricky one, and more "delight" that fundamental functionality.

    Complexity that I can think of:

    • the Note List needs to be capable to render both icons and text (the emoji) in front of each line
    • QOwnNotes needs to read the contents, or at least the opening characters, of every note; on sync, on edit, on file change...
    • the emoji might need to be stored in a new table in notes.sqlite; or maybe it could be implemented as an (invisible?) tag; either way, the Note List would need access to that data

    And of course this wouldn't work with Nextcloud Notes...

    Sorry, I am not accustomed with Nextcloud. Do you mean that the emoji would not appear in the same way in Nextcloud, or that this feature would be incompatible with it, breaking sync?

  3. pbek commented on Jul 19, 2021

    @pbek
    Owner

    Complexity that I can think of:

    plus much more 😁

    Do you mean that the emoji would not appear in the same way in Nextcloud, or that this feature would be incompatible with it, breaking sync?

    I don't think it would break sync. Haven't tested it...

  4. Waqar144 commented on Aug 11, 2021

    @Waqar144
    Contributor

    This is actually not that hard to do, I mean showing the icons. One just needs to assign an icon to each tree widget item and that's it. That is, the simplest way to do it I guess.

    The hard part, is i.e., figuring out the icon, which I don't think is implementable given the size of our team and complexity of the problem. For example, English is just one language, there are tons of other languages and we don't know how to analyze them.

    But it can be done in the way that you manually assign an icon to some note etc.

  5. fran-f commented on Aug 11, 2021

    @fran-f
    Author

    The hard part, is i.e., figuring out the icon, which I don't think is implementable given the size of our team and complexity of the problem. For example, English is just one language, there are tons of other languages and we don't know how to analyze them.

    Oh, I would not expect QOwnNotes to guess the correct icon based on the title of the note. I was just thinking "whatever emoji is already present in the title". So if the note opens with

    🍰 Cake recipes
    ================
    
    Sponge cake
    -----------
    12 eggs
    ...
    

    then the 🍰 emoji would appear in the notes list next to this file.

  6. Waqar144 commented on Aug 11, 2021

    @Waqar144
    Contributor

    That I guess can be done with the help of an item delegate and an emoji font

  7. pbek commented on Aug 15, 2021

    @pbek
    Owner

    Or "converting" the emoji to an icon (if that's possible) and set it in:

    noteItem->setIcon(0, _noteIcon);

  8. added a commit that references this issue on Jul 4, 2026
  9. reopened this on Jul 4, 2026
  10. pbek commented on Jul 4, 2026

    @pbek
    Owner

    26.7.1

    • Added a new checkbox "Don't use leading emojis in note filename" in the
      General settings (enabled by default): when a note title starts with an
      emoji, the emoji is stripped from the generated filename so filenames stay
      compatible with other tools (for #2190)
    • Added a new checkbox "Show leading emoji from note title as icon in the note
      list"
      in the Panels settings (enabled by default): when a note title
      starts with an emoji, the emoji is rendered as the icon for that note in the
      note list and note tree, replacing the standard document icon
      (for #2190)
  11. added a commit that references this issue on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions