fix: 完善同步生命周期并统一前端视觉

- 同步商品与订单时处理线上删除状态并联动自动化规则\n- 过滤卖家系统中的购买订单,修复订单逻辑删除与数据库迁移\n- 修复聊天新消息自动滚动,并统一前端颜色令牌与硬编码颜色检查
This commit is contained in:
Christ committed 2026-08-10 12:41:10 +08:00
1 parent cf76b8898b
commit 526ac44453
40 files changed
+802 -242

No files matched your search

+7
View File
@@ -26,6 +26,13 @@ describe('frontend navigation routing', () => {
expect([...sidebarIDs].sort()).toEqual([...appRouteIDs].sort());
});
test('active navigation uses the primary action blue', () => {
const sidebar = readFrontendFile('components/Sidebar.tsx');
expect(sidebar).toContain("'bg-brand text-white shadow-brand-active'");
expect(sidebar).not.toContain("'bg-sky-500 text-white'");
});
test('logout button invalidates the backend session before clearing UI state', () => {
const app = readFrontendFile('App.tsx');