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

附件管理功能增强 支持自动/手动标记被引用的文件 #5829

Open
HowieHz opened this issue Apr 29, 2024 · 2 comments
Open

附件管理功能增强 支持自动/手动标记被引用的文件 #5829

HowieHz opened this issue Apr 29, 2024 · 2 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@HowieHz
Copy link

HowieHz commented Apr 29, 2024

你当前使用的版本

No response

描述一下此特性

#2153
附件管理功能增强 支持自动/手动标记被引用的文件
自动标记期望运用的范围:被文章引用,被页面引用,被瞬间引用,被图库引用
同时期望能加入强制解锁被标记文件的功能

附加信息

No response

@HowieHz HowieHz changed the title 附件管理功能增强 支持手动锁定文件避免被删除 附件管理功能增强 支持自动/手动标记被引用的文件 Apr 29, 2024
@ruibaby
Copy link
Member

ruibaby commented Apr 30, 2024

/triage duplicate

相关 issue:#3211

这确实是从 Halo 2 开始就规划的功能,但目前没有想到比较好的实现方式,主要难点:

  1. 在文章这种内容中如何检测并关联附件
  2. 多个地方同时使用相同的附件
  3. 附件引用不止是文章,还可能在一些设置项中应用,如何关联

@f2c-ci-robot f2c-ci-robot bot added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Apr 30, 2024
@HowieHz
Copy link
Author

HowieHz commented Apr 30, 2024

/triage duplicate

相关 issue:#3211

这确实是从 Halo 2 开始就规划的功能,但目前没有想到比较好的实现方式,主要难点:

  1. 在文章这种内容中如何检测并关联附件
  2. 多个地方同时使用相同的附件
  3. 附件引用不止是文章,还可能在一些设置项中应用,如何关联

的确,由于系统的灵活性,一开始没有设计的话后面实现就麻烦了
退一步来说,可否加入手动锁定功能。
有两种思路:

  1. 手动给文件添加注释并且锁定避免被删除
  2. 可以手动绑定文件到某个文章\页面上,如果这个文章\页面未被删除,这个文件就不能删除

有关手动标记的讨论移动到 -> #5848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants