dvanoni / notero

A Zotero plugin for syncing items and notes into Notion
https://download.notero.vanoni.dev
MIT License
2.4k stars 107 forks source link

Make Collections property show only immediate collection name #612

Open dvanoni opened 2 weeks ago

dvanoni commented 2 weeks ago

Is it possible to make the collections property just showing the spesific collection if it's sub collection? 😊

Based on current version, the collections property shows the path of collection. So, if it's sub collection, the master/super collection will be also shown.

It's problem for me, because if i wanna filter based collection, the look will be not good.

I organize collection systematically, so i have one collection with many sub collections, and the sub collections also have many sub collections

Thanks in advance

Originally posted by @mizanrahman07 in #119

dvanoni commented 2 weeks ago

Hi @mizanrahman07! I broke this out as a separate issue so that we could discuss it in more depth.

To confirm what you're asking for:

Instead of showing Collections like this You'd like to show them like this
CleanShot 2024-10-31 at 21 31 26@2x CleanShot 2024-10-31 at 21 34 18@2x

Is that correct?

There's a challenge with this when you have two sub-collections that have the same name—it becomes impossible to distinguish which is which. In fact, the screenshot above on the right had to be "faked" because Notion does not let you create two multi-select options with the same name. I added an extra space between Lit and Review in one of those options so that Notion would let me create two separate options. In reality, if this were to be implemented in Notero, it'd end up producing the following—even if the item was in multiple sub-collections (with the same name):

CleanShot 2024-10-31 at 21 43 59@2x

If this is what you'd like, I think it would be possible to do. I think it'd need to be a new option that you'd have to explicitly enable because of the potentially-confusing behavior when multiple sub-collections have the same name. I'd probably want to include some sort of warning about it.