fix(web): 整理发布管理页,生产已同步时不再提供启动同步 #44
Reference in New Issue
Block a user
Delete Branch "fix/release-page-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
为什么
发布管理页又丑又乱:自带一套青绿色并用
!important压过全局按钮;折叠区引用了项目里不存在的 CSS 变量(--border/--card等)所以没有边框;同一份信息在状态卡、保护卡、封存卡里重复出现,提示还指向不存在的按钮;生产已经是当前测试封存时仍然突出「▶ 启动同步」。改了什么(仅前端)
LegacySourceAssociation.tsx及其测试);后者只对 11-01 前无source_id的老快照有用,后端/api/v1/library/source-associations保留验收要点
class="rel-primary rel-synced"且 disabled,文案「✓ 已同步」;无「▶ 启动同步」、无「签发同步授权」(新增用例ReleaseTargets.test.tsx)releaseTargets.css不再含--rel-teal与未定义变量验证
tsc -b通过;vitest run全量 635 通过不在本 PR
App.tsx里旧流程(审核/封批/执行记录)的数据加载与ReleaseManagement组件仍在,只是不再显示;另开 PR 清理。🤖 Generated with Claude Code