feat(favorites): implement user favorites and recents functionality

Introduced a new API client for managing user favorites, allowing users to list, add, and remove starred resources. Enhanced the sidebar to display favorites and recents, improving user navigation. Updated internationalization files to include relevant labels and tooltips for the new features across multiple languages.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-16 23:04:03 +08:00
committed by lyingbug
parent b905f18ebc
commit 8332a0dab6
28 changed files with 1874 additions and 251 deletions
@@ -0,0 +1,8 @@
-- Reverse of 000047_user_resource_favorites.
DO $$ BEGIN RAISE NOTICE '[Migration 000047] Dropping table: user_resource_favorites'; END $$;
DROP INDEX IF EXISTS idx_user_resource_favorites_tenant_id;
DROP INDEX IF EXISTS idx_user_resource_favorites_user_tenant_type_created_at;
DROP TABLE IF EXISTS user_resource_favorites;
DO $$ BEGIN RAISE NOTICE '[Migration 000047] user_resource_favorites table dropped'; END $$;