Commit Graph

1810 Commits

Author SHA1 Message Date
saberzero1
c6c5a44b00
chore: canvas layout 2026-02-14 18:38:02 +01:00
saberzero1
372874ac9e
chore: updated plugins 2026-02-14 18:27:02 +01:00
saberzero1
01924f06c1
chore: update canvas-page plugin to 079304c 2026-02-14 18:25:32 +01:00
saberzero1
856aa57222
chore: updated plugins 2026-02-14 18:13:49 +01:00
saberzero1
3376274303
chore: update canvas-page plugin to f88f1b9 2026-02-14 18:12:25 +01:00
saberzero1
d594b5188f
chore: updated plugins 2026-02-14 17:54:36 +01:00
saberzero1
589fef07d6
chore: update canvas-page plugin to c942fcb 2026-02-14 17:52:06 +01:00
saberzero1
e89ef41ec1
chore: updated linter 2026-02-14 17:26:32 +01:00
saberzero1
07c4ff46d2
chore: updated dependencies 2026-02-14 17:09:17 +01:00
saberzero1
4367cfc6eb
chore: updated dependencies 2026-02-14 16:57:14 +01:00
saberzero1
1538e844ae
feat: integrate CanvasPage plugin with types, assets, config, layout, and documentation 2026-02-14 15:36:15 +01:00
saberzero1
616ae5450e
chore: updated dependencies 2026-02-14 02:52:45 +01:00
saberzero1
f4a0f1fc5a
chore: bump version to 5.0.0 2026-02-14 02:48:44 +01:00
saberzero1
cdd6378343
chore: cleanup 2026-02-14 02:41:48 +01:00
saberzero1
d833017bbe
chore: cleanup 2026-02-14 02:20:42 +01:00
saberzero1
4ad497885d
chore: updated plugins 2026-02-14 02:19:05 +01:00
saberzero1
0664d71ef5
chore: remove completed migration planning docs 2026-02-14 02:14:24 +01:00
saberzero1
f970ee7788
docs: fix outdated v4 references in documentation 2026-02-14 02:14:18 +01:00
saberzero1
cdfb1bd85b
docs: rewrite documentation for v5 plugin system
Update feature docs, hosting, CI/CD, getting started, configuration,
layout, architecture, creating components, making plugins, and
migration guide to reflect the v5 community plugin architecture.
2026-02-14 01:35:44 +01:00
saberzero1
9669dd1739
docs: update plugin API sections for v5 community plugins 2026-02-14 01:27:52 +01:00
saberzero1
013f6e1267
chore: updated plugins 2026-02-14 01:16:40 +01:00
saberzero1
ae602b19a2
chore: update plugins with inline script transpilation fix 2026-02-14 01:13:13 +01:00
saberzero1
90fbee4ef8
fix: use dangerouslySetInnerHTML for inline CSS to prevent HTML-escaping
Preact was escaping & characters in SCSS-compiled CSS (e.g. & nesting)
into &, breaking CSS rules. Using dangerouslySetInnerHTML bypasses
the escaping, matching how browsers expect style element content.
2026-02-14 01:11:56 +01:00
saberzero1
bff9b464a9
refactor: consolidate utils to re-export from @quartz-community/utils 2026-02-14 00:46:40 +01:00
saberzero1
66f86faf3c
refactor: remove inline scripts/styles migrated to plugins
Delete dead code: callout, checkbox, mermaid inline scripts and styles
are now bundled by the obsidian-flavored-markdown plugin. Clipboard
script and styles moved to the syntax-highlighting plugin. listPage.scss
was unreferenced. Body.tsx simplified to a pure layout wrapper.
2026-02-14 00:34:54 +01:00
saberzero1
6b0364e2e4
Migrate emitters to external plugins (alias-redirects, cname, favicon, content-index, og-image) 2026-02-14 00:06:26 +01:00
saberzero1
70ef4f9fd5
Migrate filters to external plugins (remove-draft, explicit-publish)
Delete internal RemoveDrafts and ExplicitPublish filter implementations,
install them as community plugins, and update quartz.config.ts to use
ExternalPlugin.RemoveDrafts().
2026-02-13 23:30:14 +01:00
saberzero1
074951afea
feat: extract transformers to community plugins and fix type compatibility
- Delete 12 internal transformer files (keep FrontMatter as internal)
- Switch quartz.config.ts to use ExternalPlugin.* for all transformers
- Align branded types with @quartz-community/types (_brand, FullSlug etc.)
- Add vfile DataMap augmentations for fields from extracted transformers
- Update all 29 plugins to @quartz-community/types v0.2.1
2026-02-13 23:07:27 +01:00
saberzero1
737c06d6d2
chore: update explorer plugin to fix SPA folder navigation 2026-02-13 21:09:57 +01:00
saberzero1
856b5d24ed
chore: updated plugins 2026-02-13 20:14:28 +01:00
saberzero1
0310d0e0cd
chore: update lockfile to fixed folder-page commit 2026-02-13 20:10:25 +01:00
saberzero1
93bd7c5caf
fix: populate ctx.trie in PageTypeDispatcher before rendering
Components like FolderContent depend on ctx.trie for folder hierarchy.
The dispatcher now lazily initializes it via trieFromAllFiles in emit
and force-rebuilds it in partialEmit to reflect file changes.
2026-02-13 20:10:06 +01:00
saberzero1
a844133e89
chore: updated plugins 2026-02-13 19:56:14 +01:00
saberzero1
007af0de34
fix: update lockfile to fixed folder-page and tag-page commits
Points to commits that remove duplicate PageList/SortFn re-exports,
fixing TS2300 duplicate identifier errors in generated plugin index.
2026-02-13 19:52:32 +01:00
saberzero1
5c6dc75934
refactor: remove migrated page body components
Delete Content, FolderContent, TagContent page components now provided
by community PageType plugins. Update components barrel export.
2026-02-13 19:35:22 +01:00
saberzero1
ce19b13808
refactor: delete old page-rendering emitters
Remove ContentPage, FolderPage, TagPage, and NotFoundPage emitters
now replaced by community PageType plugins and the PageTypeDispatcher.
2026-02-13 19:35:15 +01:00
saberzero1
4d47086cab
feat: integrate community PageType plugins (Phase D Step 6)
Replace old page-rendering emitters with PageTypeDispatcher emitter
and pageTypes array. Restructure quartz.layout.ts from three separate
exports to unified layout object with defaults and byPageType record.
Install content-page, folder-page, tag-page community plugins.
2026-02-13 19:35:10 +01:00
saberzero1
17b5c61834
refactor: update dispatcher to cast PageTypePluginEntry at boundary
Add getPageTypes() helper that casts config's PageTypePluginEntry[]
to QuartzPageTypePluginInstance[] in one place. Cast VirtualPage.slug
to FullSlug at emitPage/defaultProcessedContent call sites.
2026-02-13 19:35:03 +01:00
saberzero1
fd36066fdf
feat: add PageTypePluginEntry for cross-boundary type compatibility
Introduce PageTypePluginEntry with never[] parameter types to accept
both internal and community PageType plugins in config arrays without
casts, working around branded FullSlug contravariance mismatch.
2026-02-13 19:34:56 +01:00
saberzero1
68f3c3fadd
feat: add PageType plugin infrastructure (Phase D Step 4) 2026-02-13 19:12:19 +01:00
saberzero1
f8a682ab45
refactor: unify QuartzComponent type to structural interface (Phase C)
- Changed QuartzComponent from ComponentType<QuartzComponentProps> to callable type ((props: QuartzComponentProps) => any)
- Added optional displayName property for better debugging
- Removed ComponentType import from preact
- Removed all 13 'as QuartzComponent' type casts from quartz.layout.ts
- Community plugin components now directly assignable without casts
2026-02-13 18:26:19 +01:00
saberzero1
e6d3695657
refactor: delete 6 internal component duplicates (Phase A)
Remove Backlinks, Breadcrumbs, RecentNotes, Search, TableOfContents,
Comments, and OverflowList — all replaced by community plugins.
Delete associated styles (6) and scripts (3). Switch layout to use
Plugin.Breadcrumbs() instead of Component.Breadcrumbs().
2026-02-13 18:13:52 +01:00
saberzero1
4c2b48ba5c
chore: updated plugins 2026-02-13 18:03:46 +01:00
saberzero1
264bb7cfca
feat: migrate 7 feature components to community plugins (Phase B)
Migrate ArticleTitle, TagList, PageTitle, Darkmode, ReaderMode,
ContentMeta, and Footer from internal components to community
plugins. Update layout to use Plugin.X() pattern, remove internal
component files and their styles/scripts.

Add MIGRATION_TASKS.md documenting the full migration roadmap.
2026-02-13 17:17:51 +01:00
saberzero1
0f96097745
chore: updated plugins 2026-02-13 16:37:52 +01:00
saberzero1
eb37109909
chore: updated plugins 2026-02-13 13:36:21 +01:00
saberzero1
89a7d2a84b
fix: create plugin components once to prevent duplicate script registration 2026-02-10 02:04:58 +01:00
saberzero1
b20ccf6ae3
fix: update explorer plugin - ensure toggle buttons always work 2026-02-10 01:59:38 +01:00
saberzero1
76d52792e3
fix: update explorer plugin with toggle fix 2026-02-10 01:51:09 +01:00
saberzero1
553810d76c
chore: update graph plugin with navigation fix 2026-02-10 01:15:26 +01:00