Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Tags Folder #511

Closed
Dookoen opened this issue Apr 23, 2024 · 25 comments
Closed

[Feature Request] Tags Folder #511

Dookoen opened this issue Apr 23, 2024 · 25 comments
Labels
feature-request New feature request wontfix This will not be worked on

Comments

@Dookoen
Copy link

Dookoen commented Apr 23, 2024

Describe your feature request
There are so many tags in my Paperlib and they are unsorted. Is it simple to add some folders for tags? For example, tags indicating different conferences may lie in one folder, and tags indicating different research areas may lie in another folder.

@Dookoen Dookoen added the feature-request New feature request label Apr 23, 2024
@ZephyrZhang3
Copy link
Contributor

If do this, wouldn't Tags be the same as Folder?

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024

But how can I manage those tags? They are unsorted and completely messy. I subscribed several research areas and there are almost one hundred tags.

@GeoffreyChen777
Copy link
Member

Hi.

A hierarchical tag system will never be implemented in Paperlib.

This has been discussed a lot, see #354.

Tags must be atomic, which means that sub-tag is invalid.

If a tag is not atomic, then it is a folder.

So, as mentioned by @ZephyrZhang3 , you can use folders rather than tags to manage your papers if you really want this feature.

Or, you can use the nested smartfilter like this:

image

@GeoffreyChen777 GeoffreyChen777 added the wontfix This will not be worked on label Apr 23, 2024
@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024

Hello! What i mean is not a sub-tag.

tag folder
|---tag1
|---tag2

tag folder is not a tag. It just collects tags and will never be used to index or search. In database, it can be implemented by add a table with folder name as key and a list of tags as value (Realm supports list). So the tag is still atomic. Like what i mentioned above, tag folder only makes tags sorted or structured, and is never used to manage papers.

@GeoffreyChen777
Copy link
Member

However, if we display it in the tags list:

Tags
| -- tag folder
      | -- tag1
      | -- tag2

It's really a tag. For other users, it's so confusing.

I would suggest you try the nested smartfilter. It can achieve this.

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024

Okay, maybe I'll have to leave my hundred tags disorganized for a while.

@GeoffreyChen777
Copy link
Member

I believe this can be solved if we optimise the smartfilter creation. For example, drag and drop a tag to a smartfilter will create a sub-smartfilter with a query sentence for the tag.

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024

It's a good idea, but users must first locate the tag they want among hundreds of unsorted tags.

@GeoffreyChen777
Copy link
Member

But if you have already had 100+ tags. With the tags folder feature you still need to locate these tags when you create your tag folder for the first time.

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@GeoffreyChen777
Copy link
Member

I would say it's really not an easy feature.

It's related to the database, query sentence tree, UI, etc.

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@ZephyrZhang3
Copy link
Contributor

You can Capitalize the tag to the top, perhaps as a quick solution to finding a particular tag. Like conference name?

@GeoffreyChen777
Copy link
Member

@Dookoen checkpoint for what?

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@GeoffreyChen777
Copy link
Member

I will try. By the way, is it possible to integrate Git into Electron? I find Git might be the best way to make checkpoints instead of tar PDFs and Realm. ---- Replied Message ---- @.>Date04/23/2024 18:43 @.> @.>, @.>SubjectRe: [Future-Scholars/paperlib] [Feature Request] Tags Folder (Issue #511) I would say it's really not an easy feature. It's related to the database, query sentence tree, UI, etc. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

@Dookoen Before you implement this, I would suggest you describe your design here.

If the implement may confuse others or conflict with the design philosophy of Paperlib, I would probably not merge it. I don't want to waste your time.

@GeoffreyChen777
Copy link
Member

The whole Paperlib data. Data may be lost on account for any misoperation, especially for a CSer. ---- Replied Message ---- @.>Date04/23/2024 18:59 @.> @.>, @.>SubjectRe: [Future-Scholars/paperlib] [Feature Request] Tags Folder (Issue #511) @Dookoen checkpoint for what? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

@Dookoen I would say we won't implement this in the main Paperlib App. Many users don't know what is git.

You can implement this in an extension. Or you can setup the cloud sync https://paperlib.app/en/doc/cloud-sync/setup.html All data are stored on cloud.

NOTE: please don't use git to sync between different devices. Realm is a realtime sync database. It means that you make changes on PC A, the PC B will update immediately. And the database file has a filelock. I'm not sure git can handle it correctly.

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@GeoffreyChen777
Copy link
Member

作为插件比较好,我想了想现在提供的API应该足以完成这个。

什么叫做配置分类?

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@GeoffreyChen777
Copy link
Member

这个感觉不需要,做成插件吧,需要的人自然会去安装

@ZephyrZhang3
Copy link
Contributor

ZephyrZhang3 commented Apr 23, 2024

如果没理解错,是个备份需求。那用现在的API,做个定时备份的插件应该完全可以。好像只需要拿到PAPERLIB_HOME,然后直接打包压缩加个时间戳?元数据,PDF和附件都可以备份上。

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

@Dookoen
Copy link
Author

Dookoen commented Apr 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants