Commit graph

72 commits

Author SHA1 Message Date
saberzero1
93304d22e1
chore(deps): update @quartz-community/utils 2026-06-03 15:28:07 +02:00
saberzero1
a538b8e548
chore: regenerate package-lock.json 2026-05-24 17:32:51 +02:00
saberzero1
140b346ef7
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:24:03 +02:00
saberzero1
d6debde1d8
docs: add missing defaultOptions and optionSchema to package.json manifest 2026-05-22 20:06:19 +02:00
saberzero1
59ae85b003
build: bundle dependencies and ship pre-built dist 2026-04-27 21:37:55 +02:00
saberzero1
1c832a03d5
build: bundle dependencies and ship pre-built dist 2026-04-27 21:37:55 +02:00
saberzero1
8e51a6144d
feat: wrap folder content in .markdown-preview-view and .markdown-rendered for Obsidian theme compat 2026-04-25 22:57:05 +02:00
saberzero1
c72a92f00d
deps: update @quartz-community/utils 2026-04-22 18:17:48 +02:00
saberzero1
d0173d6248
deps: update @quartz-community/utils 2026-04-17 02:38:55 +02:00
saberzero1
13092691e4
deps: update @quartz-community/utils 2026-04-16 22:09:00 +02:00
saberzero1
d9fec1c6f7
refactor: use QuartzPluginData for PageEntry instead of duplicated shape
Replace the hand-written PageEntry type with an intersection of
QuartzPluginData and Record<string, unknown>. This keeps PageEntry
structurally aligned with the upstream contract so future DataMap
additions (e.g. the FullSlug branding that prompted this change) do
not require boundary casts on listProps.allFiles.

Construction sites that build a PageEntry from a plain string slug
now cast with 'as FullSlug' at the natural brand-boundary, matching
how slugs are produced elsewhere in the codebase.

The interface-extends form previously tried in PageList.tsx (removed
in commit e6a5d27 because it broke DTS builds) is not used here; the
intersection type alias inlines cleanly into the generated .d.ts.
2026-04-16 15:16:42 +02:00
saberzero1
0bee9810de
fix: cast PageEntry[] to QuartzComponentProps allFiles shape for branded FullSlug
Updated @quartz-community/types made slug a branded FullSlug type;
the local PageEntry uses an unbranded string slug. Cast at the
listProps boundary so DTS build succeeds without changing runtime
behaviour.
2026-04-16 13:33:35 +02:00
saberzero1
1c2dce604c
feat: exclude unlisted pages from folder discovery and listings
Respect the file.data.unlisted convention in both the folder discovery
loop (virtual folder index generation in pageType.generate) and the
folder listing itself (pagesFromAllFiles and pagesFromTrie in
FolderContent).

Unlisted pages no longer contribute folders or subfolders, and no longer
appear as entries inside any folder page listing. The foldersWithIndex
detection loop also skips unlisted pages so a user-authored unlisted
index file does not bypass the filter.

Exports pagesFromAllFiles so its filter logic can be tested directly.
Adds 5 unit tests covering unlisted exclusion, explicit unlisted: false
passthrough, subfolder grouping, and folder-index self-exclusion.
2026-04-11 13:50:43 +02:00
saberzero1
8dcc63d340
chore: rebuild 2026-04-10 19:20:25 +02:00
saberzero1
4c74d45aa2
chore: updated path utils 2026-04-10 19:19:54 +02:00
saberzero1
cd83385386
fix: bundle @quartz-community/utils to avoid runtime subpath resolution failures 2026-04-04 11:28:39 +02:00
saberzero1
b41c4c79ba
style: fix prettier formatting in locale files 2026-04-04 02:39:25 +02:00
saberzero1
d6f9567db8
chore: rebuild dist outputs 2026-04-04 02:11:16 +02:00
saberzero1
3e8972bcb3
i18n: port locale translations from Quartz v4 2026-04-04 02:11:04 +02:00
saberzero1
3685d6b536
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:38 +02:00
saberzero1
734cb6338c
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:38 +02:00
saberzero1
5b31e28e21
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:38 +02:00
saberzero1
614978f73b
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:38 +02:00
saberzero1
dfb72dd706
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:38 +02:00
saberzero1
6359cb8b62
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:33 +02:00
saberzero1
f9b037fce8
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:33 +02:00
saberzero1
bc2b0ab751
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:33 +02:00
saberzero1
0ea6ec66d4
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:33 +02:00
saberzero1
9718780d31
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:33 +02:00
saberzero1
5d0ef5e57d
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:27 +02:00
saberzero1
fe5c7e56ab
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:27 +02:00
saberzero1
72cbf9f66b
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:27 +02:00
saberzero1
ac551c65e8
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:27 +02:00
saberzero1
deb1f09851
i18n: add translations for 30 locales from Quartz v4 2026-04-04 02:01:27 +02:00
saberzero1
6090bd8bab
refactor: use shared classNames from @quartz-community/utils 2026-04-03 19:21:49 +02:00
saberzero1
47e3441b24
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:19:01 +02:00
saberzero1
e6a5d27161
fix: remove PageData interface causing DTS build failures 2026-04-03 16:18:30 +02:00
saberzero1
c43e090698
fix: guard against undefined getDate in PageList 2026-04-03 16:01:03 +02:00
saberzero1
a4d0b92a1a
chore: rebuild dist outputs 2026-04-03 15:43:40 +02:00
saberzero1
8e3e632729
deps: update quartz-community utils and types lockfile 2026-04-03 15:43:36 +02:00
saberzero1
a4e2379efd
refactor: use shared getDate and byDateAndAlphabetical from @quartz-community/utils 2026-04-03 15:43:32 +02:00
saberzero1
e3729854f1
refactor: use shared SortFn from @quartz-community/types 2026-04-03 15:08:08 +02:00
saberzero1
6e740ccef9
fix: use folder name as title if no title is set in index.md 2026-03-26 13:21:51 +01:00
saberzero1
c7fe67ccb1
fix: move tsconfig from dts object to top-level option
The DtsConfig type in tsup does not have a tsconfig property.
Use top-level tsconfig option instead of dts: { tsconfig: ... }.
2026-03-22 13:25:12 +01:00
saberzero1
30f03986c5
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:12:01 +01:00
saberzero1
9f3bf78197
chore: update @quartz-community/utils to 8d2e14b 2026-03-22 12:38:21 +01:00
saberzero1
519120cce8
deps: update @quartz-community/utils to latest 2026-03-22 12:05:05 +01:00
saberzero1
d7015099ce
fix: derive folder display names from filesystem path instead of slug
Virtual folder pages were using slugified folder names (e.g. 'Incomparable-Masks')
as titles. Now maps slug segments back to original relativePath segments to
preserve human-readable names with spaces.
2026-03-18 23:56:35 +01:00
saberzero1
04c6101641
docs: add prefixFolders option to configuration table 2026-03-18 17:47:01 +01:00
saberzero1
0deda78145
feat: add configurable prefixFolders option for folder page titles
Add prefixFolders option (default: false) to FolderPageOptions. When
false, generated folder pages use only the folder name as title instead
of 'Folder: full/path'. Also use last path segment only for the title
instead of the full folder path.
2026-03-18 17:43:32 +01:00