Skip to content

chore(dashboard): remove legacy dashboard sources - #162

Merged
Fridemn merged 2 commits into
mainfrom
chore/remove-legacy-dashboard
Jul 31, 2026
Merged

chore(dashboard): remove legacy dashboard sources#162
Fridemn merged 2 commits into
mainfrom
chore/remove-legacy-dashboard

Conversation

@Fridemn

@Fridemn Fridemn commented Jul 31, 2026

Copy link
Copy Markdown
Member

完成 React Dashboard 迁移后的旧代码清理,避免仓库内遗留的 Vue Dashboard 以及上游源码自带的 dashboard/ 干扰桌面端构建,确保桌面端始终使用本仓库维护的 React Dashboard。

Summary / 改动概述

  • 删除完整的 legacy-dashboard/ Vue Dashboard 目录及其源码、资源、测试和构建配置。
  • 清理 Dashboard 迁移阶段遗留的兼容代码、测试、文档和 CI 检查。
  • 更新 Dashboard、开发环境、环境变量及仓库结构相关文档。
  • 调整托管 AstrBot 源码的准备流程:
    • clone 或同步上游源码后自动删除其中的 dashboard/
    • 切换上游版本前临时恢复 Git 跟踪的 dashboard/,避免其删除状态阻碍 checkout。
    • 保留其他本地后端改动,不进行无关清理。
    • 显式通过 ASTRBOT_SOURCE_DIR 指定的用户源码目录不会被修改。
  • 增加资源准备测试,覆盖首次克隆、后续同步以及本地源码覆盖场景。

Verification / 验证方式


Checklist / 检查清单

  • This change is not a breaking change. / 此改动不是破坏性变更。
  • I have verified the change locally (and provided logs/screenshots above). / 我已在本地验证并在上方提供日志/截图。
  • If workflows are changed, I attached at least one related Actions run link. / 如果修改了工作流,我已附上至少一个相关 Actions 运行链接。
  • If dependencies are updated, lockfiles are updated accordingly (src-tauri/Cargo.lock, lockfiles under changed package dirs). / 如果引入或升级依赖,已同步更新相关 lock 文件(如 src-tauri/Cargo.lock、对应包目录中的 lock 文件)。
  • This PR does not include malicious code. / 此 PR 不包含恶意代码。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 300 files, and this pull request has 421

@Fridemn
Fridemn merged commit 65eeda1 into main Jul 31, 2026
20 of 21 checks passed
@Fridemn
Fridemn deleted the chore/remove-legacy-dashboard branch July 31, 2026 12:14
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