This repository was archived by the owner on May 29, 2026. It is now read-only.
Commit 323b9a8
committed
feat(admin): redesign snippets master-detail with collapsible groups and metadata popover
- SnippetList: collapsible folder groups, compact rows with colored type icons,
hover external link + delete actions, client-side search
- SnippetsRouteViewContent: lazy per-group fetch via getSnippetGroups +
getGroupSnippets, FocusScope + useListKeyboard (Case A), header overflow
menu for Import/Update Deps, search input replaces type/group selects
- SnippetEditor: editor-primary layout — CodeEditor fills body, metadata
fields move to new SnippetMetaPopover (Settings popover) with sectioned
rhythm, iconOnly header actions
- SnippetPrimitives.Field: switch label+space-y-1 to div+grid gap-1.5 for
consistent baseline with TextInput's labeled variant
- i18n: add snippets.list.{searchPlaceholder,emptyGroup,noResults,openExternal},
snippets.editor.action.settings, snippets.filter.groupAria
- Drop unused snippetPageSize, readSnippetTypeFilter, groupSnippetList1 parent 9a62a31 commit 323b9a8
43 files changed
Lines changed: 2025 additions & 1038 deletions
File tree
- apps/admin/src
- features
- cron
- components
- hooks
- routes
- search-index/components
- snippets
- components
- utils
- i18n/resources
- views
- (integrations)
- markdown
- snippets
- webhooks
- (intelligence)
- ai
- insights
- summary
- tasks
- translation-entries
- translation
- analyze
- enrichment
- (system)
- maintenance
- backup
- cron
- history
- search-index
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 312 deletions
This file was deleted.
0 commit comments