feat: add pinning functionality for knowledge bases
- Introduced a new API endpoint to toggle the pin status of knowledge bases, allowing users to pin important entries to the top of the list. - Updated the frontend to include UI elements for pinning and unpinning knowledge bases, with corresponding success and error messages. - Enhanced localization support by adding translations for pinning actions in English, Korean, Russian, and Chinese. - Modified the database schema to include `is_pinned` and `pinned_at` fields for knowledge bases, enabling persistent pinning status. These changes improve the organization and accessibility of knowledge bases, enhancing user experience by allowing quick access to prioritized entries.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Remove pin (置顶) support from knowledge bases
|
||||
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS pinned_at;
|
||||
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS is_pinned;
|
||||
Reference in New Issue
Block a user