mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-05-18 11:35:57 +02:00
* fix(docs): sync URL params with UI state on category and search interactions Search, category selection, and the icon detail drawer each modified the URL independently, causing parameters to be silently dropped. Searching didn't clear the category hash, clicking a category dropped the search param, and closing the drawer hard-coded the path without preserving either. Consolidate URL construction so every navigation preserves both ?search= and #category as appropriate. Split useCategoryView into a pure getter and a sync variant (useCategoryViewSync) so event listeners and route watchers are registered once in CategoryList.vue instead of in every consumer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(docs): disable click on inactive categories during search Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update docs/.vitepress/theme/components/icons/IconsCategoryOverview.vue Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update docs/.vitepress/theme/components/icons/IconsOverview.vue Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * refactor(docs): use URL constructor in CategoryListItem Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Eric Fennis <eric.fennis@gmail.com>