whacked / zotero-special-tags-column

Plugin to add a "Special Tags" column into Zotero where you can display specific, pre-defined tags
Apache License 2.0
44 stars 1 forks source link

some bug related to sorting, adding new tags, and some feature request related to sorting #5

Open ghweili opened 2 years ago

ghweili commented 2 years ago

I really love this plugin, which makes it quite convient when I do a literature survey. Now, I created several special tags of the emoji type, and use the plugin "zotero tag" to assign shortcuts to nine of the emojis. In this case, I can use the shortcut to assign several emoji tags to a paper easily, which will be displayed in the column called "special tags".

However, some other zotero user pointed out the following bugs:

Besides, It would be great if:

  1. when we assign multiple emojis to a paper, we can decide the order of the emojis. For example, the order could follow the text we entered in the option of "zotero-special-tags-column".
  2. We can sort the items according to several special tags. For example, when hitting a shortcut, a designed window pop up, which allows the user to enter several special tags, then the items will be sorted according to these tags.
whacked commented 2 years ago

Thanks for the feedback. I'll look into fixing these issues, but it will take some time since I'm really not that familiar with zotero's model

whacked commented 2 years ago

Pushed an update that allows refresh without restart.

I haven't looked at the error from sorting on the Special Tags column.

Regarding adding a custom sort order, I don't know if it is a good idea to add this, because the tags in the article list come in as an array, so we're looping over every tag. Now if we add a custom ordering to the special tags, you have to do an extra re-sorting on every article's tags, which might slow down the redraw. It's possible, but I think it's worth some more discussion.

ghweili commented 2 years ago

Hi whacked, thanks a lot for the fast update!

Regarding the sorting issue, the last request may need more discussion, but the last second request looks reasonable to me, which is: when we assign multiple emojis to a paper, we can decide the order of the emojis in the Special Tag column. For example, the order could follow the text we entered in the option of "zotero-special-tags-column".

Currently, I'm not sure how the tags are sorted, and sometimes they change their order by themselves.