98d4393387
- Rewrite ConfigProfilesMobileView to match desktop functionality: full detail view with all fields, preview action showing resolved profile, and edit view with project/tool selects, includes, environment variables, runtime hints, files, mounts with nested files, and git mounts. - Update useConfigProfiles.handleSubmit to return boolean success. - Update ConfigProfilesPage to pass required state and callbacks. - Add mobile-specific CSS for config profile forms, includes, mount/file cards, and preview panels. - Allow MobileDetailView to render extra children. Quality gates: npm run typecheck, npm run lint, npm test -- --run (87 passed) Refs: openspec/changes/mobile-config-profiles-ui
1.3 KiB
1.3 KiB
apps/web/src/hooks (index)
dir: apps/web/src/hooks
role
Provides reusable React custom hooks that encapsulate stateful logic, side effects, and API interactions for the web application's UI components, covering data fetching, terminal management, workspace operations, notifications, and mobile-specific behaviors.
parent
index: apps/web/src/.pi-map.index.md map: apps/web/src/.pi-map.md
children
files
- use-async-data.ts
- use-auto-hide.ts
- use-config-profiles.ts
- use-events.test.ts
- use-events.ts
- use-git-repo.ts
- use-instance-actions.ts
- use-mobile-viewport.ts
- use-notifications.test.tsx
- use-notifications.ts
- use-projects.ts
- use-special-keys.ts
- use-ssh-keys.ts
- use-start-tool.ts
- use-terminal-page.ts
- use-terminal-sessions.ts
- use-theme.ts
- use-tool-workshop.ts
- use-virtual-keyboard.ts
- use-workspace-actions.ts
- use-workspace-files.ts
- use-workspace-git.ts
- use-workspace-instances.ts
- use-workspaces.ts
links
index: apps/web/src/hooks/.pi-map.index.md map: apps/web/src/hooks/.pi-map.md
workflows
- change hooks behavior read: use-async-data.ts, use-auto-hide.ts, use-config-profiles.ts
- update hooks tests read: use-events.test.ts, use-notifications.test.tsx
- change hooks config read: use-config-profiles.ts