新增两个界面配置开关,用于控制:左侧“评论数”、右侧“通知中心” 的显示控制 #1113
Open
achuanya wants to merge 5 commits intoArtalkJS:masterfrom
Open
新增两个界面配置开关,用于控制:左侧“评论数”、右侧“通知中心” 的显示控制 #1113achuanya wants to merge 5 commits intoArtalkJS:masterfrom
achuanya wants to merge 5 commits intoArtalkJS:masterfrom
Conversation
- frontend.commentCount :左侧“评论数”显示控制 - frontend.listHeader :右侧“通知中心”显示控制 改动点 - 新增配置字段 - 类型定义: ui/artalk/src/types/config.ts:100-105 - 默认值: ui/artalk/src/defaults.ts:31-33 (均为 true ) - 模板文件 - conf/artalk.example.yml:410-413 - conf/artalk.example.simple.yml:233-235 - conf/artalk.example.zh-CN.yml:418-421 - conf/artalk.example.zh-TW.yml:418-421 - conf/artalk-ui-example.yml:410-413 - 前端逻辑 - 隐藏头部: ui/artalk/src/list/list.ts:44-48,52-59 - 隐藏评论数: ui/artalk/src/plugins/list/count.ts:9-15,18-22 - 两者都隐藏时,自动加顶部留白,避免评论贴得过近: ui/artalk/src/style/list.scss:164-166 - 默认不改变现有行为(默认值为 true )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动点