feat: Implement cache busting for static assets, remove client-side version mismatch banner, and add project overview documentation.

This commit is contained in:
Will Miao
2025-12-19 22:40:36 +08:00
parent 154ae82519
commit 63b087fc80
12 changed files with 132 additions and 110 deletions

View File

@@ -234,7 +234,6 @@ describe('AppCore initialization flow', () => {
await vi.runAllTimersAsync();
expect(onboardingManager.start).toHaveBeenCalledTimes(1);
expect(bannerService.isBannerVisible).toHaveBeenCalledWith('version-mismatch');
});
it('does not reinitialize once initialized', async () => {
@@ -262,13 +261,4 @@ describe('AppCore initialization flow', () => {
expect(BulkContextMenu).not.toHaveBeenCalled();
expect(bulkManager.setBulkContextMenu).not.toHaveBeenCalled();
});
it('suppresses onboarding when version mismatch banner is visible', async () => {
bannerService.isBannerVisible.mockReturnValueOnce(true);
await appCore.initialize();
await vi.runAllTimersAsync();
expect(onboardingManager.start).not.toHaveBeenCalled();
});
});