feat(home): refactor import area and add API/auto-sync import methods

Restructure import components into dedicated import/ directory with new
ImportTabSelector, ApiImportCard, and AutoSyncCard components. Add demo
import, entry animation, and tutorial links to home page. Update i18n
translations for all locales. Add chatApi init guard in registry and
defaultPath to DataDirInfo preload interface.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
diguaandClaude Sonnet 4.6 authored and digua committed 2026-05-26 23:19:47 +08:00
1 parent 6c3d36e7df
commit 10a2677d74
18 files changed
+457 -135

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ export interface CacheInfo {
export interface DataDirInfo {
path: string
defaultPath?: string
isCustom: boolean
}