Feat/webworker for incremental render (#51)

* feat: web worker for incremental render

* feat: optimizing incremental render for date archives

* feat: more work on web worker

* fix: blogmark process handled defaulting wrong

---------

Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
Georg Bauer
2026-03-13 13:27:45 +01:00
committed by GitHub
parent 101036e58e
commit 914af9831d
11 changed files with 1485 additions and 312 deletions

View File

@@ -86,9 +86,11 @@ describe('ValidationApplyPlannerService', () => {
expect(targeted.requestedTagSet.has('tag-1')).toBe(true);
expect(targeted.requestedYears.has(2025)).toBe(true);
expect(targeted.requestedYearMonths.has('2025/01')).toBe(true);
expect(targeted.requestedYearMonths.has('2025/02')).toBe(true);
// 2025/02 should NOT be included — only directly affected months are rerendered
expect(targeted.requestedYearMonths.has('2025/02')).toBe(false);
expect(targeted.requestedYearMonthDays.has('2025/01/15')).toBe(true);
expect(targeted.requestedYearMonthDays.has('2025/02/20')).toBe(true);
// 2025/02/20 should NOT be included — only directly affected days are rerendered
expect(targeted.requestedYearMonthDays.has('2025/02/20')).toBe(false);
expect(targeted.requestedPageSlugs.has('about')).toBe(true);
expect(targeted.requestRootRoutes).toBe(true);
});