refactor: 移除侧边栏相关功能和代码

This commit is contained in:
2026-07-05 21:47:35 +08:00
parent 6be9b31ca2
commit 6589ea3858
19 changed files with 23 additions and 262 deletions
@@ -18,14 +18,6 @@ vi.mock('@/components/GlobalSnackbar', () => ({
}),
}));
vi.mock('@/config/features', async (importOriginal) => {
const actual = await importOriginal<typeof import('@/config/features')>();
return {
...actual,
getEntryPointType: () => 'sidepanel',
};
});
vi.mock('../components/QrCodePreview', () => ({
default: () => <div data-testid="qr-code-preview">QrCodePreview</div>,
}));