generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use lit element to refactor comment component (#80)
使用 [Lit](https://lit.dev/) 重写评论组件,可以获得更小的体积,并且提高可移植性,用于任何 JS 框架。 可测试插件:[plugin-comment-widget-2.0.0-SNAPSHOT.jar.zip](https://github.com/halo-dev/plugin-comment-widget/files/14477870/plugin-comment-widget-2.0.0-SNAPSHOT.jar.zip) /kind improvement Fixes #79 此外,重写之后也解决了以下遗留问题: 1. Fixes #78 2. Fixes #72 3. Fixes #56 4. Fixes #74 5. Fixes #81 6. Emoji 选择器的配色切换问题。 TODO: - [x] 完成 Emoji 选择组件的适配 - [x] 完善基础样式(按钮、分页等) - [x] 整理 CSS,抽取部分 CSS 规则为变量 - [x] 完善默认的暗黑样式 - [x] 完善操作提示(比如评论成功后的提示) - [x] 完善文档 ```release-note 使用 Lit Element 重构评论组件,以获得更小的体积,以及解决若干遗留问题。 ```
- Loading branch information
Showing
91 changed files
with
4,780 additions
and
14,973 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=1.6.0-SNAPSHOT | ||
version=2.0.0-SNAPSHOT |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.