-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(dashboard): 插件管理器布局优化 + Pipeline可视化与提示词预览功能 #4451
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
Open
AstralSolipsism
wants to merge
13
commits into
AstrBotDevs:master
Choose a base branch
from
AstralSolipsism:feat/plugin-manager-frontend
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(dashboard): 插件管理器布局优化 + Pipeline可视化与提示词预览功能 #4451
AstralSolipsism
wants to merge
13
commits into
AstrBotDevs:master
from
AstralSolipsism:feat/plugin-manager-frontend
+15,199
−966
Conversation
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
- 合并upstream27个新提交 - 解决4个冲突文件(i18n、ReadmeDialog、ExtensionPage) - 保留MOD管理器架构重构 - 吸收upstream的视图模式持久化功能
- 新增MOD管理器UI组件(mod-manager/) - 新增pipeline快照后端模块(snapshot/) - 新增pipeline路由和dry run功能 - 新增相关composables(命令冲突、快照、配置缓存)
- Auto-fit mod manager split layout on first load and surface fetch failures - Add README/CHANGELOG GitHub-style viewer with markdown preprocessing for upstream formatting quirks - Refactor pipeline trace UX with selectable rows, impact detail panel, and jump-to-pipeline navigation - Cache pipeline snapshot/prompt rendering on backend with TTL + inflight dedupe
- 合并upstream27个新提交 - 解决4个冲突文件(i18n、ReadmeDialog、ExtensionPage) - 保留MOD管理器架构重构 - 吸收upstream的视图模式持久化功能
- 新增MOD管理器UI组件(mod-manager/) - 新增pipeline快照后端模块(snapshot/) - 新增pipeline路由和dry run功能 - 新增相关composables(命令冲突、快照、配置缓存)
- Auto-fit mod manager split layout on first load and surface fetch failures - Add README/CHANGELOG GitHub-style viewer with markdown preprocessing for upstream formatting quirks - Refactor pipeline trace UX with selectable rows, impact detail panel, and jump-to-pipeline navigation - Cache pipeline snapshot/prompt rendering on backend with TTL + inflight dedupe
- GitHubMarkdownViewer 添加 showHeader 属性支持隐藏头部 - PipelineSnapshotPanel 使用可调整大小的分割面板 - 分割比例支持 localStorage 持久化 - 小屏幕自动切换为堆叠布局
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:webui
The bug / feature is about webui(dashboard) of astrbot.
feature:plugin
The bug / feature is about AstrBot plugin system.
size:XXL
This PR changes 1000+ lines, ignoring generated files.
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.
关联Issue
Closes #4440
变更概述
本PR实现了Issue #4440中提出的插件管理器优化方案,包括MOD管理器风格的新布局、Pipeline Snapshot可视化、提示词预览功能,以及GitHub风格的Markdown展示。
主要功能
1. MOD管理器风格布局
2. Pipeline Snapshot 可视化
3. 提示词预览(Dry-run)
4. GitHub风格Markdown展示
GitHubMarkdownViewer组件,支持KaTeX/MermaidpreprocessPluginMarkdown处理不规范HTML与资源链接技术实现
后端新增
astrbot/core/pipeline/snapshot/- Pipeline快照构建、冲突检测、风险扫描模块astrbot/core/pipeline/prompt_preview_dry_run.py- 提示词预览dry-run实现astrbot/dashboard/routes/pipeline.py- Pipeline API路由前端新增
dashboard/src/components/extension/mod-manager/- MOD管理器布局组件集dashboard/src/components/extension/mod-manager/pipeline/- Pipeline/Trace可视化组件dashboard/src/components/shared/GitHubMarkdownViewer.vue- GitHub一致的Markdown渲染依赖变更
github-markdown-css用于GitHub风格样式变更统计
验证截图详见issue
Checklist / 检查清单
requirements.txt和pyproject.toml文件相应位置。/ I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations inrequirements.txtandpyproject.toml.