Ilia Mashkov
d749f86edc
feat: add color variables and use them acros the project
2026-02-10 23:19:27 +03:00
Ilia Mashkov
0a52bd6f6b
feat(FontApplicator): switch from props to derived state from comparisonStore, apply the fonts
2026-02-10 18:09:13 +03:00
Ilia Mashkov
d006c662a9
feat(FontApplicator): add system fonts and change animation
2026-02-10 10:12:58 +03:00
Ilia Mashkov
422363d329
chore: remove unused code
2026-02-09 17:33:09 +03:00
Ilia Mashkov
fedf3f88e7
feat: add tailwind responsive classes
2026-02-06 14:48:44 +03:00
Ilia Mashkov
b9eccbf627
feat(Skeleton): create skeleton component and integrate it into FontVirtualList
2026-02-06 11:53:59 +03:00
Ilia Mashkov
adf6dc93ea
feat(appliedFontsStore): improvement that allow to use correct urls for variable fonts and fixes font weight problems
2026-02-05 11:44:16 +03:00
Ilia Mashkov
31a72d90ea
chore: incorporate renewed appliderFontStore and comparisonStore logic
2026-02-02 12:18:20 +03:00
Ilia Mashkov
4a94f7bd09
feat(FontListItem): separate isVisible flags into two (partial and fully)
2026-02-02 12:13:58 +03:00
Ilia Mashkov
a392b575cc
chore: migrate from direct <link> with css towards font-face approach
2026-02-02 12:10:38 +03:00
Ilia Mashkov
5bb41c7e4c
chore: comment typo
2026-02-01 11:58:22 +03:00
Ilia Mashkov
27f637531b
feat(FontListItem): use children instead of the direct representation of the font
2026-02-01 11:52:09 +03:00
Ilia Mashkov
3add50a190
feat(VirtualList): add auto-pagination and correct scrollbar height
...
- Add 'total' prop to VirtualList for accurate scrollbar height in pagination scenarios
- Add 'onNearBottom' callback to trigger auto-loading when user scrolls near end
- Update FontVirtualList to forward the new props
- Implement auto-pagination in SuggestedFonts component (remove manual Load More button)
- Display loading indicator when fetching next batch
- Show accurate font count (e.g., "Showing 150 of 1920 fonts")
Key changes:
- VirtualList now uses total count for height calculation instead of items.length
- Auto-fetches next page when user scrolls within 5 items of the end
- Only fetches if hasMore is true and not already fetching
- Backward compatible: total defaults to items.length when not provided
2026-01-30 19:22:21 +03:00
Ilia Mashkov
3f7ce63736
feat(FontListItem): slightly change badge styling
2026-01-30 00:44:01 +03:00
Ilia Mashkov
471e186e70
fix: Fix undefined query data and add fallback to Fontshare API
...
- Add gcTime parameter to TanStack Query config
- Add response validation in fetchFn with detailed logging
- Add fallback to Fontshare API when proxy fails
- Add USE_PROXY_API flag for easy switching
- Fix FontVirtualList generic type constraint
- Simplify font registration logic
- Add comprehensive console logging for debugging
Fixes: Query data cannot be undefined error
2026-01-29 15:20:51 +03:00
Ilia Mashkov
59b0d9c620
feat(FontListItem): refactor component to enhance UX with animations and move away from checkboxes to avoid scroll problems
2026-01-22 15:41:55 +03:00
Ilia Mashkov
e4970e43ba
chore: switch to use of svelte native prefersReducedMotion media
2026-01-22 15:33:38 +03:00
Ilia Mashkov
d4d2d68d9a
feat(appliedFontsStore): incorporate implemented font weight logic
2026-01-20 14:21:07 +03:00
Ilia Mashkov
746a377038
feat(FontVirtualList): add font pairs support
2026-01-20 09:35:44 +03:00
Ilia Mashkov
8591985f62
feat(FontApplicator): implement an appearance animation based on existed intersection observer logic and add a reduced motion check
Workflow / build (pull_request) Successful in 50s
2026-01-18 16:56:53 +03:00
Ilia Mashkov
9cbf4fdc48
doc: comments for codebase and updated documentation
2026-01-18 15:55:07 +03:00
Ilia Mashkov
ee074036f6
chore: add import shortcuts
2026-01-18 15:00:26 +03:00
Ilia Mashkov
28a71452d1
fix(FontListItem): edit FontListItem to work with selectedFontsStore
2026-01-18 14:59:00 +03:00
Ilia Mashkov
ad18a19c4b
chore(FontSampler): delete unused prop
2026-01-18 14:47:31 +03:00
Ilia Mashkov
86e7b2c1ec
feat(FontListItem): create FontListItem component that visualize selection of a certain font
2026-01-18 12:59:12 +03:00
Ilia Mashkov
da0612942c
feat(FontApplicator): create FontApplicator component that register certain font and applies it to the children
2026-01-18 12:57:56 +03:00
Ilia Mashkov
0444f8c114
chore(FontVirtualList): transform FontList into reusable FontVirtualList component with appliedFontsManager support
2026-01-18 12:55:25 +03:00
Ilia Mashkov
71d320535e
feat(FontView): integrate FontView into FontList
2026-01-17 09:21:34 +03:00
Ilia Mashkov
4dbf91f600
chore(FontList): Move documentation and remove default height
2026-01-16 17:44:07 +03:00
Ilia Mashkov
429a9a0877
feature(VirtualList): remove tanstack virtual list solution, add self written one
2026-01-15 13:33:59 +03:00
Ilia Mashkov
76172aaa6b
fix: minor changes
2026-01-13 20:09:30 +03:00
Ilia Mashkov
91451f7886
chore: import/export fixes due to code move
2026-01-13 20:00:36 +03:00
Ilia Mashkov
c863bea2dc
feat: create FontList component with use of VirtualList
2026-01-09 16:18:16 +03:00