Enhance Bangumi Logs plugin with UI improvements and SDK integration#30
Merged
Enhance Bangumi Logs plugin with UI improvements and SDK integration#30
Conversation
- 将网络请求从 fetch 迁移至 axios,优化请求头与错误处理 - 修复 import 扩展名、默认导出规范、循环语法等 20+ 项 ESLint 报错 - 更新单元测试以配合 axios 模拟并显式导入 Vitest 函数 - 调整插件导出方式以确保主进程 IPC 句柄正确注册
* refactor(core): 将 app 的底层 IPC 网络请求由 net.request 替换为 net.fetch 环境,并重构为统一的 async/await 方式,增加类型校验边界。 * feat(plugin-bangumi-logs): 请求层接入 SDK logger 工具库,完善了完整的请求与报错明细日志(URL、Headers、参数与响应体)。 * fix(plugin-bangumi-logs): 修正 User-Agent 的默认请求版本为 1.0.0,与插件的正式版本号保持对齐。
…kages, add several `translime-plugin` modules, implement `useHttp` hook, and update base ESLint configuration.
…configuration with Babel parser and stylistic rules.
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.
No description provided.