Ilia Mashkov
e509463911
chore: remove unused
2026-04-16 09:07:46 +03:00
Ilia Mashkov
db08f523f6
chore: move typography constants to the entity/Font layer
2026-04-16 09:05:34 +03:00
Ilia Mashkov
c5fa159c14
fix(FontList): remove weight prop, use default weight for FontList
2026-04-16 08:51:18 +03:00
Ilia Mashkov
8645c7dcc8
feat: use typographySettingsStore everywhere for the typography settings
2026-04-16 08:44:49 +03:00
Ilia Mashkov
fbeb84270b
feat(Layout): remove breadcrumbs
2026-04-16 08:40:16 +03:00
Ilia Mashkov
c1ac9b5bc4
chore(SetupFont): rename controlManager to typographySettingsStore for better semantic
2026-04-16 08:22:08 +03:00
46d0d887b1
Merge pull request 'feature/unified-tanstack-query' ( #36 ) from feature/unified-tanstack-query into main
...
Workflow / build (push) Successful in 45s
Workflow / publish (push) Successful in 47s
Reviewed-on: #36
2026-04-16 04:53:28 +00:00
Ilia Mashkov
0a489a8adc
fix(BaseQueryStore): use QueryObserverOptions instead of QueryOptions
...
Workflow / build (pull_request) Successful in 58s
Workflow / publish (pull_request) Has been skipped
QueryOptions has queryKey as optional; QueryObserverOptions requires it,
matching what QueryObserver.constructor and setOptions actually expect.
2026-04-15 22:37:30 +03:00
Ilia Mashkov
cd349aec92
fix: imports
2026-04-15 22:32:45 +03:00
Ilia Mashkov
adaa6d7648
feat: refactor ComparisonStore to use BatchFontStore
...
Replace hand-rolled async fetching (fetchFontsByIds + isRestoring flag)
with BatchFontStore backed by TanStack Query. Three reactive effects
handle batch sync, CSS font loading, and default-font fallback.
isLoading now derives from batchStore.isLoading + fontsReady.
2026-04-15 22:25:34 +03:00
Ilia Mashkov
10f4781a67
test: enrich coverage for queryKeys, BaseQueryStore, and BatchFontStore
...
- queryKeys: add mutation-safety test for batch(), key hierarchy tests
(list/batch/detail keys rooted in their parent base keys), and
unique-key test for different detail IDs
- BaseQueryStore: add initial-state test (data undefined, isError false
before any fetch resolves)
- BatchFontStore: add FontResponseError type assertion on malformed
response, null error assertion on success, and setIds([]) disables
query and returns empty fonts without triggering a fetch
2026-04-15 15:59:01 +03:00
Ilia Mashkov
f4a568832a
feat: implement reactive BatchFontStore
2026-04-15 12:29:16 +03:00
Ilia Mashkov
4e9670118a
feat: add seedFontCache utility
2026-04-15 12:21:04 +03:00
Ilia Mashkov
8e88d1b7cf
feat: add BaseQueryStore for reactive query observers
2026-04-15 12:19:25 +03:00
Ilia Mashkov
1cbc262af7
feat: add stable query key factory
2026-04-15 12:06:32 +03:00
f072c5b270
Merge pull request 'fix/initial-fonts-loading' ( #35 ) from fix/initial-fonts-loading into main
...
Workflow / build (push) Successful in 46s
Workflow / publish (push) Successful in 45s
Reviewed-on: #35
2026-04-15 08:37:40 +00:00
Ilia Mashkov
bfa99cde20
fix(comparisonStore): add missing batch request and effect for initial font loading
Workflow / build (pull_request) Successful in 3m8s
Workflow / publish (pull_request) Has been skipped
2026-04-15 11:35:37 +03:00
Ilia Mashkov
75b62265be
fix: add missing export
2026-04-15 09:13:22 +03:00
5b81be6614
Merge pull request 'feature/pretext' ( #34 ) from feature/pretext into main
...
Workflow / build (push) Failing after 36s
Workflow / publish (push) Has been skipped
Reviewed-on: #34
2026-04-14 07:12:41 +00:00
Ilia Mashkov
a74abbb0b3
feat: wire createFontRowSizeResolver into SampleList for pretext-backed row heights
Workflow / build (pull_request) Failing after 49s
Workflow / publish (pull_request) Has been skipped
2026-04-13 13:23:03 +03:00
Ilia Mashkov
20accb9c93
feat: implement createFontRowSizeResolver with canvas-measured heights and reactive status check
2026-04-13 08:54:19 +03:00
Ilia Mashkov
46b9db1db3
feat: export ItemSizeResolver type and document reactive estimateSize contract
2026-04-12 19:43:44 +03:00
Ilia Mashkov
4b017a83bb
fix: add missing JSDoc, return types, and as-any comments to layout engines
2026-04-12 09:51:36 +03:00
Ilia Mashkov
49822f8af7
feat: install pretext library
2026-04-12 09:08:01 +03:00
Ilia Mashkov
338ca9b4fd
feat: export TextLayoutEngine and CharacterComparisonEngine from shared helpers index
...
Remove deleted createCharacterComparison exports and benchmark.
2026-04-11 16:44:49 +03:00
Ilia Mashkov
99f662e2d5
fix: iterate pre-computed chars array in Line.svelte to fix unicode grapheme splitting bug
2026-04-11 16:26:41 +03:00
Ilia Mashkov
5977e0a0dc
fix: correct advances null-check in CharacterComparisonEngine and remove unused TextLayoutEngine dep
2026-04-11 16:14:28 +03:00
Ilia Mashkov
2b0d8470e5
test: fix CharacterComparisonEngine tests — correct env directive, canvas mock, and full spec coverage
2026-04-11 16:14:24 +03:00
Ilia Mashkov
351ee9fd52
docs: add inline documentation to TextLayoutEngine
2026-04-11 16:10:01 +03:00
Ilia Mashkov
a526a51af8
test: fix TextLayoutEngine tests — correct jsdom directive placement and canvas mock setup
...
fix: correct grapheme-width fallback in TextLayoutEngine for null breakableFitAdvances
2026-04-11 15:48:52 +03:00
Ilia Mashkov
fcde78abad
test: add canvas mock helper for pretext-based engine tests
2026-04-11 15:48:47 +03:00
26737f2f11
Merge pull request 'chore/purge-unused' ( #33 ) from chore/purge-unused into main
...
Workflow / build (push) Successful in 45s
Workflow / publish (push) Successful in 23s
Reviewed-on: #33
2026-04-10 14:31:27 +00:00
Ilia Mashkov
d9fa2bc501
refactor: consolidate font domain and model types into font.ts
Workflow / build (pull_request) Successful in 59s
Workflow / publish (pull_request) Has been skipped
2026-04-10 17:29:15 +03:00
Ilia Mashkov
5f38996665
chore: purge legacy font provider types and normalization logic
2026-04-10 16:05:57 +03:00
d70fc9f918
Merge pull request 'feat/font-store-merge' ( #32 ) from feat/font-store-merge into main
...
Workflow / build (push) Successful in 43s
Workflow / publish (push) Successful in 21s
Reviewed-on: #32
2026-04-10 05:13:39 +00:00
Ilia Mashkov
14dbd374ec
refactor: replace unifiedFontStore with fontStore in comparisonStore tests
Workflow / build (pull_request) Successful in 1m1s
Workflow / publish (pull_request) Has been skipped
2026-04-10 08:06:51 +03:00
Ilia Mashkov
dc6e15492a
test: mock fontStore and update FontStore type signatures
2026-04-09 19:40:31 +03:00
Ilia Mashkov
45eac0c396
refactor: delete BaseFontStore and UnifiedFontStore — FontStore is the single implementation
2026-04-08 10:07:36 +03:00
Ilia Mashkov
ed7d31bf5c
refactor: migrate all callers from unifiedFontStore to fontStore
2026-04-08 10:00:30 +03:00
Ilia Mashkov
468d2e7f8c
feat(FontStore): export through entity barrel files
2026-04-08 09:55:40 +03:00
Ilia Mashkov
2a761b9d47
feat(FontStore): implement lifecycle, param management, async methods, shortcuts, pagination, category getters, singleton — all tests green
2026-04-08 09:54:27 +03:00
Ilia Mashkov
a9e4633b64
feat(FontStore): implement fetchPage with error wrapping
2026-04-08 09:50:16 +03:00
Ilia Mashkov
778988977f
feat(FontStore): implement state getters, pagination, buildQueryKey, buildOptions
2026-04-08 09:47:25 +03:00
Ilia Mashkov
9a9ff95bf3
test(FontStore): write full TDD spec and empty shell (InfiniteQueryObserver)
2026-04-08 09:43:29 +03:00
Ilia Mashkov
7517678e87
chore: add .worktrees to .gitignore for isolated development
2026-04-08 09:37:47 +03:00
4281d94d66
Merge pull request 'refactor/code-splitting' ( #31 ) from refactor/code-splitting into main
...
Workflow / build (push) Successful in 44s
Workflow / publish (push) Successful in 42s
Reviewed-on: #31
2026-04-08 06:34:19 +00:00
Ilia Mashkov
752e38adf9
test: full test coverage of baseFontStore and unifiedFontStore
Workflow / build (pull_request) Successful in 55s
Workflow / publish (pull_request) Has been skipped
2026-04-08 09:33:04 +03:00
Ilia Mashkov
9c538069e4
test(UnifiedFontStore): add isEmpty and destroy tests
2026-04-06 12:26:08 +03:00
Ilia Mashkov
71fed58af9
test(UnifiedFontStore): add category getter tests
2026-04-06 12:24:23 +03:00
Ilia Mashkov
fee3355a65
test(UnifiedFontStore): add filter change reset tests
2026-04-06 12:19:49 +03:00