Remove graph component from Quartz to fix browser crash
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 10s

Add custom quartz.layout.ts overriding the default layout to remove
Component.Graph(), the D3 force-directed graph known to crash browsers
on large note sets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 23:10:35 +01:00
parent 67f3895a1e
commit e17a7a9807
2 changed files with 47 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ RUN git clone --depth 1 --branch ${QUARTZ_VERSION} \
&& npm ci
COPY quartz.config.ts.template /quartz/quartz.config.ts.template
COPY quartz.layout.ts /quartz/quartz.layout.ts
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh