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

支持文章分类 #12256

Closed
lovexiaov opened this Issue Mar 21, 2017 · 9 comments

Comments

Projects
None yet
4 participants
@lovexiaov

lovexiaov commented Mar 21, 2017

比如写了一个系列的文章,想把这部分文章独立成集,标签的功能太弱了,目前想到的做法是在后台【导航管理】中新建一个页面,手动添加文章链接,但这样有点麻烦,望考虑。
image

@88250 88250 added the feature label Mar 21, 2017

@88250 88250 added this to the 2.0.0 milestone Mar 21, 2017

@88250

This comment has been minimized.

Member

88250 commented Mar 21, 2017

收到。以前曾经讨论过(#107),看来是时候加入这个特性了,2.0 将进行实现 :)

@88250 88250 changed the title from 建议增加文章分类选项 to 支持文章分类 Mar 21, 2017

@88250

This comment has been minimized.

Member

88250 commented Mar 21, 2017

目前考虑使用标签聚合的实现:

  1. 后台定义分类,并配置该分类包含的标签
  2. 查询某个分类文章列表时通过分类->标签集->标签关联的文章进行聚合

也就是说一篇文章在编辑时仍然是只需要打标签,访问分类时会根据该分类包含的标签将文章筛选出来。这是一个自底向上的信息架构,更灵活一些。

@88250 88250 referenced this issue Mar 21, 2017

Closed

支持分类 #107

@blague

This comment has been minimized.

blague commented Mar 21, 2017

为什么会说标签比分类弱?
分类比标签更局限。

@88250

This comment has been minimized.

Member

88250 commented Mar 21, 2017

@blague 我觉得是标签的粒度可能太细,有的用户习惯粒度粗一些,所以这个需求还是正常的。只是传统的分类太固定,编辑文章的时候还需要选,明显不科学。

@lovexiaov

This comment has been minimized.

lovexiaov commented Mar 21, 2017

@88250
D 大威武,想法很巧妙,赞一下。

@blague
你把整句话联系起来读就好理解了,我说的是想把这部分文章独立成集,标签的功能太弱了。比如说我写了很多方面与** Android 相关的文章,有这么几个标签 Android, Testing, Tricks, Resource,那么我打算写一系列关于 Android 开发技巧的文章,有两个标签 Android, Tricks。如果我想单独展示这个系列的文章,用标签来过滤是不是弱了一点?我可能还会有 Python 方面的文章包含 Tricks 标签呢,JS 文章也可能包含 Tricks 标签呢?

@88250

This comment has been minimized.

Member

88250 commented Mar 21, 2017

@lovexiaov 社区的信息架构就是这样设计的,我觉得很好用,so copy to Solo!

88250 added a commit that referenced this issue Mar 28, 2017

88250 added a commit that referenced this issue Mar 30, 2017

88250 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

🚧 #12256 移除无用标签时也从分类中移除
能想起 6 年前这里的代码我容易么 😭

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

88250 added a commit that referenced this issue Mar 31, 2017

Vanessa219 added a commit that referenced this issue Apr 1, 2017

88250 added a commit that referenced this issue Apr 7, 2017

88250 added a commit that referenced this issue Apr 7, 2017

88250 added a commit that referenced this issue Apr 7, 2017

🚧 #12256 分类-文章处理器
从标签-文章处理器 copy 过来的,明天继续调整

Vanessa219 added a commit that referenced this issue Apr 8, 2017

88250 added a commit that referenced this issue Apr 8, 2017

88250 added a commit that referenced this issue Apr 8, 2017

Vanessa219 added a commit that referenced this issue Apr 8, 2017

Vanessa219 added a commit that referenced this issue Apr 8, 2017

Vanessa219 added a commit that referenced this issue Apr 8, 2017

Vanessa219 added a commit that referenced this issue Apr 10, 2017

Vanessa219 added a commit that referenced this issue Apr 11, 2017

Vanessa219 added a commit that referenced this issue Apr 11, 2017

88250 added a commit that referenced this issue Apr 12, 2017

88250 added a commit that referenced this issue Apr 12, 2017

88250 added a commit that referenced this issue Apr 12, 2017

@88250 88250 closed this in 96808d9 Apr 12, 2017

@lovexiaov

This comment has been minimized.

lovexiaov commented Apr 13, 2017

@88250 D 大棒棒哒~

@88250

This comment has been minimized.

Member

88250 commented Apr 13, 2017

这两天再测试一下,准备发布 2.0.0 了 :p

@lovexiaov

This comment has been minimized.

lovexiaov commented Apr 13, 2017

等你好消息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment