frontend: add connect page, collection selection and fixed workspace context
补齐 FE-003:实现连接表单、连接中/错误态、配置回填,连接成功后加载并确认 Collection, 自动确保默认 Workspace,进入工作台后由 home.tsx 持有固定上下文(serverUri/collection/workspace)。 新增 input/label 基础组件与 connect-view/workspace-shell 业务组件。 pnpm typecheck 通过。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import type { MappingInfo } from "~/lib/api"
|
||||
|
||||
// 工作台进入后固定的共享上下文,serverUri / collection / workspace 不再在台内切换。
|
||||
export interface WorkspaceSession {
|
||||
serverUri: string
|
||||
collection: string
|
||||
workspace: string
|
||||
mappings: MappingInfo[]
|
||||
}
|
||||
Reference in New Issue
Block a user