2ff7f1a13d
test(UnifiedFontStore): add filter setter tests
Ilia Mashkov2026-04-06 11:35:56 +03:00
6bf1b1ea87
test(UnifiedFontStore): add pagination navigation tests
Ilia Mashkov2026-04-06 11:34:53 +03:00
3ef012eb43
test(UnifiedFontStore): add pagination state tests
Ilia Mashkov2026-04-06 11:34:03 +03:00
5df60b236c
test(UnifiedFontStore): cover fetchFn typed error paths and error getter
Ilia Mashkov2026-04-05 14:59:17 +03:00
df3c694909
feat(UnifiedFontStore): throw FontNetworkError and FontResponseError in fetchFn
Ilia Mashkov2026-04-05 14:06:32 +03:00
a1a1fcf39d
feat(BaseFontStore): expose error getter
Ilia Mashkov2026-04-05 11:03:00 +03:00
b40e651be4
refactor(Font/model): move baseFontStore and unifiedFontStore to subdirectories, rename errors/index to errors/errors
Ilia Mashkov2026-04-05 11:02:42 +03:00
9427f4e50f
feat(Font): re-export FontNetworkError and FontResponseError from entity barrel
Ilia Mashkov2026-04-05 09:33:58 +03:00
ed9791c176
feat(Font/lib): add FontNetworkError and FontResponseError
Ilia Mashkov2026-04-05 09:04:47 +03:00
c6dabafd93
chore(appliedFontsStore): move FontBufferCache, FontEvicionPolicy and FontLoadQueue to appliedFontsStore/utils
Ilia Mashkov2026-04-05 08:24:11 +03:00
e88cca9289
test(FontBufferCache): change mock fetcher type
Ilia Mashkov2026-04-04 16:43:54 +03:00
d4cf6764b4
test(appliedFontsStore): rewrite tests with describe grouping and full coverage
Ilia Mashkov2026-04-04 10:38:20 +03:00
5a065ae5a1
refactor: extract #fetchChunk, replace Promise.allSettled with self-describing results
Ilia Mashkov2026-04-04 09:58:41 +03:00
20110168f2
refactor: extract #processFont and #scheduleProcessing from touch and #processQueue
Ilia Mashkov2026-04-04 09:52:45 +03:00
f88729cc77
fix: guard AbortError from retry counting; eviction policy removes stale keys
Ilia Mashkov2026-04-04 09:40:21 +03:00
d21de1bf78
chore(appliedFontsStore): use created collaborators classes
Ilia Mashkov2026-04-03 16:09:10 +03:00
bc4ab58644
fix(buildQueryString): change the way the searchParams built
Ilia Mashkov2026-04-03 16:08:15 +03:00
37e0c29788
refactor: loadFont throws FontParseError instead of re-throwing raw error
Ilia Mashkov2026-04-03 15:42:08 +03:00
46ce0f7aab
feat: extract FontBufferCache with injectable fetcher
Ilia Mashkov2026-04-03 15:24:14 +03:00
128f341399
feat: extract FontEvictionPolicy with TTL and pin/unpin
Ilia Mashkov2026-04-03 15:06:01 +03:00
64b97794a6
feat: extract FontLoadQueue with retry tracking
Ilia Mashkov2026-04-03 15:01:36 +03:00
d6eb02bb28
feat: add FontFetchError and FontParseError typed errors
Ilia Mashkov2026-04-03 14:44:06 +03:00
a711e4e12a
chore(appliedFontsStore): move generateFontKey into separate function and cover it with tests
Ilia Mashkov2026-04-03 12:50:50 +03:00
05e4c082ed
feat(appliedFontsStore): move font loading logic into loadFont function and cover it with tests
Ilia Mashkov2026-04-03 12:26:23 +03:00
b602b5022b
chore(appliedFontsStore): move the FontLoadRequestConfig type and other types from appliedFontsStore into types directory
Ilia Mashkov2026-04-03 12:25:38 +03:00
5249d88df7
feat(appliedFontsStore): create separate yieldToMainThread function with proper tests
Ilia Mashkov2026-04-03 11:05:29 +03:00
e553cf1f10
feat(appliedFontsStore): create separate getEffectiveConcurrency function with proper tests
Ilia Mashkov2026-04-03 11:03:48 +03:00
0fdded79d7
test: change globals to true to use vitest tools without importing them
Ilia Mashkov2026-04-03 11:02:17 +03:00
8dbfde882f
Merge pull request 'fix(appliedFontsStore): solve ttl based fonts purge by adding cache for on-screen fonts' (#30) from fix/ttl-based-purge into main
ilia2026-04-03 06:38:00 +00:00
a6c8b50cea
fix(appliedFontsStore): solve ttl based fonts purge by adding cache for on-screen fonts
Ilia Mashkov2026-04-03 09:35:16 +03:00
03917cf947
Merge pull request 'chore: change hex colors to tailwind bariables' (#29) from chore/color-variables into main
ilia2026-03-04 13:52:53 +00:00
9b90080c57
chore: change hex colors to tailwind bariables
Ilia Mashkov2026-03-04 16:51:49 +03:00
9c6ff3859a
Merge pull request 'feature/project-redesign' (#28) from feature/project-redesign into main
ilia2026-03-02 19:46:38 +00:00
887ca6e5e1
feat(LayoutSwitch): create a ui component to switch SampleList layout
Ilia Mashkov2026-02-27 18:40:46 +03:00
c86b5f5db8
feat(LayoutManager): create layout manager with persistent store support to manage SampleList items layout
Ilia Mashkov2026-02-27 18:40:08 +03:00
f0aa89097e
feat(TypographyMenu): rewrite from hidden class to if based rendering
Ilia Mashkov2026-02-27 18:39:09 +03:00
80feda41a3
feat(createResponsiveManager): rewrote ifs to switch case
Ilia Mashkov2026-02-27 18:35:40 +03:00