Skip to content

Add plugin 计算字符串长度 v1.0.0#201

Open
yanglinxun wants to merge 3 commits into
ZToolsCenter:mainfrom
yanglinxun:plugin/ylinx-calculated-length
Open

Add plugin 计算字符串长度 v1.0.0#201
yanglinxun wants to merge 3 commits into
ZToolsCenter:mainfrom
yanglinxun:plugin/ylinx-calculated-length

Conversation

@yanglinxun
Copy link
Copy Markdown

@yanglinxun yanglinxun commented May 18, 2026

插件信息

  • 名称: 计算字符串长度
  • 插件ID: ylinx-calculated-length
  • 版本: 1.0.0
  • 描述: 计算字符串长度
  • 作者: Ylinx
  • 类型: 新增

本次变更

  • Initial commit

截图 / 演示

image

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/ylinx-calculated-length/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 在分支上追加一个 commit,PR 链接保持不变。

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new ZTools plugin for calculating string lengths and byte counts with support for UTF-8 and GBK encodings. The code review feedback focuses on removing template residue, such as unused components, preload scripts, and documentation placeholders. Key technical recommendations include fixing invalid CSS syntax for scrollbar styling, implementing reactive theme detection, and enhancing TypeScript type safety by enabling strict mode and replacing 'any' types with specific interfaces.

Comment thread plugins/ylinx-calculated-length/src/main.css Outdated
Comment thread plugins/ylinx-calculated-length/README.md Outdated
Comment thread plugins/ylinx-calculated-length/public/plugin.json Outdated
Comment thread plugins/ylinx-calculated-length/public/preload/services.js Outdated
Comment thread plugins/ylinx-calculated-length/src/App.vue Outdated
Comment thread plugins/ylinx-calculated-length/src/Calcu/index.vue
Comment thread plugins/ylinx-calculated-length/src/Calcu/index.vue Outdated
Comment thread plugins/ylinx-calculated-length/src/Hello/index.vue Outdated
Comment thread plugins/ylinx-calculated-length/src/env.d.ts Outdated
Comment thread plugins/ylinx-calculated-length/tsconfig.json Outdated
@yanglinxun yanglinxun marked this pull request as ready for review May 18, 2026 03:57
- Initial commit
- 按Code Review修改
@yanglinxun
Copy link
Copy Markdown
Author

image

- Initial commit
- 按Code Review修改
- 修改图标
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant