feat(frontend): redesign tag sidebar chips and tag edit dialog

Compact chip sidebar with single-select filter, document counts, context-menu
actions, and refreshed TagEditDialog with selected/available sections. Add i18n,
component tests, and exclude soft-deleted rows from multi-tag migration backfill.
This commit is contained in:
wizardchen
2026-06-26 02:18:14 +08:00
committed by lyingbug
parent 2f29054110
commit 96ac1a17a1
8 changed files with 710 additions and 680 deletions
@@ -22,7 +22,8 @@ CREATE INDEX IF NOT EXISTS idx_ktr_tag
INSERT INTO knowledge_tag_relations (knowledge_id, tag_id, created_at)
SELECT id, tag_id, updated_at
FROM knowledges
WHERE tag_id IS NOT NULL AND tag_id != '';
WHERE tag_id IS NOT NULL AND tag_id != ''
AND deleted_at IS NULL;
-- Drop the old index and column
DROP INDEX IF EXISTS idx_knowledges_tag;