moi-computer 0.12.1-next.3 → 0.12.1-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bunfig.toml +1 -5
- package/client/api/app-config.ts +1 -2
- package/client/api/app-ui-keys.ts +3 -1
- package/client/api/http.ts +4 -1
- package/client/api/workspace-keys.ts +3 -3
- package/client/app/app-provider.tsx +22 -2
- package/client/app/app-router.tsx +4 -0
- package/client/app/routes/home-route.tsx +14 -0
- package/client/app/routes/onboarding-route.tsx +11 -0
- package/client/app/routes/settings-route.tsx +1 -1
- package/client/app/routes/workspace-route.tsx +21 -19
- package/client/components/shared/screen-shell.tsx +23 -0
- package/client/components/shared/ultrafast-icon.tsx +61 -0
- package/client/components/shared/workspace-icon.tsx +2 -2
- package/client/features/account/account-test-utils.tsx +4 -3
- package/client/features/app-settings/api.ts +33 -0
- package/client/features/app-settings/general-settings.tsx +39 -0
- package/client/features/{settings → app-settings}/settings-page.tsx +5 -1
- package/client/features/chat/applet-chat-intents.ts +4 -20
- package/client/features/chat/chat-send.ts +17 -13
- package/client/features/chat/composer/model-order.ts +8 -4
- package/client/features/chat/composer/model-picker.tsx +88 -34
- package/client/features/chat/composer/use-workspace-composer-state.tsx +11 -3
- package/client/features/chat/composer/use-workspace-skill-updates.ts +1 -1
- package/client/features/chat/connection/chat-frames.ts +3 -15
- package/client/features/chat/messages/chat-empty-state.tsx +1 -4
- package/client/features/chat/messages/fork-history.ts +5 -5
- package/client/features/chat/messages/turn-view.tsx +3 -12
- package/client/features/chat/messages/user-message-bubble.tsx +63 -0
- package/client/features/chat/sessions/api.ts +121 -80
- package/client/features/chat/sessions/browser-tab-state.ts +14 -12
- package/client/features/chat/sessions/chat-selector.tsx +5 -6
- package/client/features/chat/sessions/use-selected-session.ts +172 -257
- package/client/features/chat/use-chat.ts +14 -19
- package/client/features/collab/workspace-users-menu.tsx +1 -1
- package/client/features/demo/demo-dialog.tsx +11 -3
- package/client/features/dev/dev-index-page.tsx +5 -0
- package/client/features/dev/dev-routes.tsx +2 -0
- package/client/features/dev/harness-debug-page.tsx +3 -3
- package/client/features/dev/onboarding-preview-page.tsx +76 -0
- package/client/features/dev/workspace-setup-mocks.ts +16 -14
- package/client/features/dev/workspace-setup-preview.tsx +11 -17
- package/client/features/harness/api.ts +45 -15
- package/client/features/harness/device-login-steps.tsx +9 -3
- package/client/features/harness/harness-login-panel.tsx +228 -0
- package/client/features/harness/harness-presentation.ts +15 -0
- package/client/features/harness/harness-selector.tsx +119 -0
- package/client/features/harness/use-harness-login.ts +77 -0
- package/client/features/home/home-page.tsx +7 -7
- package/client/features/onboarding/agent-setup-step.tsx +57 -0
- package/client/features/onboarding/api.ts +42 -0
- package/client/features/onboarding/onboarding-idea-disk.tsx +129 -0
- package/client/features/onboarding/onboarding-page.tsx +32 -0
- package/client/features/onboarding/onboarding-screen.tsx +20 -0
- package/client/features/onboarding/onboarding-status.tsx +24 -0
- package/client/features/onboarding/workspace-setup-step.tsx +239 -0
- package/client/features/overview/default/registry.tsx +2 -2
- package/client/features/overview/default/views-widget.tsx +6 -5
- package/client/features/overview/overview.tsx +9 -11
- package/client/features/overview/widget-canvas.tsx +1 -1
- package/client/features/overview/workspace-name.tsx +2 -2
- package/client/features/views/api.ts +69 -16
- package/client/features/views/pending-view-screen.tsx +30 -9
- package/client/features/views/use-view-actions.ts +19 -20
- package/client/features/views/view-presentation.ts +2 -2
- package/client/features/views/view-submission.ts +28 -41
- package/client/features/workspace/add/api.ts +3 -23
- package/client/features/workspace/add/create-workspace-dialog.tsx +6 -5
- package/client/features/workspace/add/import-workspace-dialog.tsx +3 -3
- package/client/features/workspace/add/workspace-agent-options.ts +11 -12
- package/client/features/workspace/add/workspace-agent-selector.tsx +3 -132
- package/client/features/workspace/api.ts +32 -36
- package/client/features/workspace/harness-transition.ts +88 -0
- package/client/features/{settings → workspace/settings}/api.ts +1 -34
- package/client/features/{settings → workspace/settings}/general-settings.tsx +76 -2
- package/client/features/{settings → workspace/settings}/use-env-vars.ts +1 -1
- package/client/features/{settings → workspace/settings}/workspace-icon-picker.tsx +3 -3
- package/client/features/workspace/setup/workspace-login-state.tsx +37 -156
- package/client/features/workspace/setup/workspace-recovery-states.tsx +0 -12
- package/client/features/workspace/setup/workspace-setup.tsx +34 -14
- package/client/features/workspace/setup/workspace-welcome-state.tsx +2 -2
- package/client/features/workspace/use-workspace-navigation.ts +25 -9
- package/client/features/workspace/workspace-content.tsx +11 -8
- package/client/features/workspace/workspace-frame.tsx +2 -1
- package/client/features/workspace/workspace-layout-context.tsx +5 -2
- package/client/features/workspace/workspace-menu.tsx +12 -8
- package/client/features/workspace/workspace-pending-screen.tsx +10 -10
- package/client/features/workspace/workspace-presentation.tsx +5 -13
- package/client/features/workspace/workspace-state.ts +169 -0
- package/client/features/workspace/workspace-tabs.tsx +22 -2
- package/client/index.css +2 -0
- package/client/index.tsx +3 -3
- package/client/lib/flags.ts +1 -1
- package/client/lib/{app-icon-registry.ts → identity-icon-registry.ts} +10 -14
- package/client/runtime/workspace-events.ts +21 -4
- package/client/runtime/workspace-theme.ts +9 -0
- package/client/tailwind-config.ts +43 -0
- package/dist/chunk-0mjzg20x.js +2 -0
- package/dist/chunk-2y59vrxg.js +5 -0
- package/dist/chunk-58dyt9bk.js +2 -0
- package/dist/chunk-5aj040e5.css +1 -0
- package/dist/{chunk-tqd3pkg8.css → chunk-60q353jq.css} +1 -1
- package/dist/chunk-71fn6rmj.js +546 -0
- package/dist/chunk-7yg1m8hx.js +2 -0
- package/dist/chunk-825hys3h.js +1 -0
- package/dist/chunk-9bb8m9rx.js +2 -0
- package/dist/{chunk-11cab5dq.css → chunk-cq2r11fg.css} +1 -1
- package/dist/chunk-g0tcwqxc.js +1 -0
- package/dist/chunk-n0nab26d.js +1 -0
- package/dist/chunk-nf2wkvf9.js +14 -0
- package/dist/chunk-v88n1bay.js +74 -0
- package/dist/index.html +1 -1
- package/lib/harness-instructions.ts +1 -1
- package/lib/{app-icons.ts → identity-icons.ts} +6 -7
- package/lib/onboarding.ts +41 -0
- package/lib/speed-mode.ts +5 -0
- package/lib/types.ts +71 -62
- package/lib/view-build-directives.ts +1 -2
- package/lib/workspace-icon.ts +2 -2
- package/lib/workspace-layout.ts +1 -1
- package/lib/workspace-name.ts +15 -12
- package/package.json +9 -8
- package/server/README.md +27 -25
- package/server/api/harnesses.ts +31 -8
- package/server/api/index.ts +163 -126
- package/server/api/onboarding.ts +46 -0
- package/server/app-config.ts +16 -24
- package/server/app-settings.ts +6 -2
- package/server/applets/config.ts +5 -5
- package/server/applets/views.ts +19 -17
- package/server/cli/commands/init.ts +3 -3
- package/server/cli/commands/skill.ts +16 -17
- package/server/cli/commands/start.ts +8 -34
- package/server/cli/server.ts +18 -6
- package/server/collab/config.ts +1 -2
- package/server/collab/manager.ts +4 -1
- package/server/collab/skill/index.ts +1 -1
- package/server/control.ts +3 -3
- package/server/data-dir.ts +1 -1
- package/server/harness/README.md +24 -8
- package/server/harness/acp/session.ts +8 -4
- package/server/harness/auth.ts +14 -17
- package/server/harness/claude-code/NOTES.md +4 -3
- package/server/harness/claude-code/index.ts +2 -0
- package/server/harness/claude-code/models.ts +2 -20
- package/server/harness/claude-code/run-action.ts +123 -0
- package/server/harness/claude-code/session-title.ts +5 -7
- package/server/harness/claude-code/session.ts +24 -16
- package/server/harness/codex/NOTES.md +14 -9
- package/server/harness/codex/adapter.ts +14 -17
- package/server/harness/codex/index.ts +2 -0
- package/server/harness/codex/run-action.ts +93 -0
- package/server/harness/codex/session-title.ts +6 -8
- package/server/harness/codex/session.ts +11 -11
- package/server/harness/command.ts +45 -0
- package/server/harness/executable.ts +5 -0
- package/server/harness/fork.ts +6 -4
- package/server/harness/install.ts +49 -0
- package/server/harness/openclaw/session.ts +1 -2
- package/server/harness/run-action.ts +85 -0
- package/server/harness/session-title.ts +0 -46
- package/server/harness/types.ts +26 -2
- package/server/onboarding/brief.ts +29 -0
- package/server/onboarding/ideas.ts +48 -0
- package/server/onboarding/jobs.ts +291 -0
- package/server/onboarding/prompt.md +49 -0
- package/server/sessions/archive.ts +5 -14
- package/server/sessions/config.ts +17 -16
- package/server/sessions/lifecycle.ts +15 -13
- package/server/sessions/pending-views.ts +79 -108
- package/server/sessions/selected.ts +75 -161
- package/server/sessions/store.ts +40 -113
- package/server/sessions/view-sessions.ts +128 -111
- package/server/skills/locations.ts +82 -0
- package/server/skills/lock.ts +29 -0
- package/server/skills/template.ts +36 -25
- package/server/skills/update.ts +52 -5
- package/server/skills/version.ts +17 -22
- package/server/skills/workspace.ts +121 -0
- package/server/web.ts +22 -8
- package/server/workspace-state/file.ts +177 -0
- package/server/workspace-state/index.ts +162 -0
- package/server/workspace-state/legacy-migration.ts +79 -0
- package/server/workspace-state/lock.ts +42 -0
- package/server/workspace-state/types.ts +16 -0
- package/server/workspaces/change-harness.ts +88 -0
- package/server/workspaces/harness-transition.ts +29 -0
- package/server/workspaces/init.ts +29 -6
- package/server/workspaces/layout.ts +3 -0
- package/server/workspaces/registry.ts +27 -1
- package/{workspace/.claude/skills/moi-workspace → skill}/SKILL.md +7 -5
- package/{workspace/.claude/skills/moi-workspace → skill}/references/COLLAB.md +4 -8
- package/skill/references/DESIGN.md +148 -0
- package/{workspace/.claude/skills/moi-workspace → skill}/references/SCRATCHPAD.md +2 -2
- package/{workspace/.claude/skills/moi-workspace → skill}/references/UI-COMPONENTS.md +3 -0
- package/ui-components/badge.tsx +1 -1
- package/client/accept-hmr-dependencies.ts +0 -22
- package/client/features/workspace/setup/workspace-setup-panel.tsx +0 -18
- package/dist/chunk-20ynagd4.js +0 -2
- package/dist/chunk-42tde9a6.js +0 -1
- package/dist/chunk-9w543s0r.js +0 -2
- package/dist/chunk-a5372n61.js +0 -546
- package/dist/chunk-aja9y1vn.js +0 -68
- package/dist/chunk-fvcvrh3d.css +0 -1
- package/dist/chunk-gtfjw3nx.js +0 -1
- package/dist/chunk-j39y2aky.js +0 -14
- package/dist/chunk-pcnahct1.js +0 -5
- package/dist/chunk-pja30km3.js +0 -1
- package/dist/chunk-rm894bc2.js +0 -2
- package/dist/chunk-tevvtfbk.js +0 -10
- package/dist/chunk-tgt9zd0r.js +0 -2
- package/dist/chunk-tv5k5z00.js +0 -1
- package/dist/chunk-zq2ae5dx.js +0 -2
- package/lib/experimental.ts +0 -14
- package/workspace/.claude/skills/moi-workspace/references/DESIGN.md +0 -157
- /package/client/features/{settings → app-settings}/profile-settings.tsx +0 -0
- /package/client/features/{settings → app-settings}/settings-section.tsx +0 -0
- /package/client/features/{settings → app-settings}/users-settings.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/connectors-settings.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/environment-settings.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/icon-picker-options.ts +0 -0
- /package/client/features/{settings → workspace/settings}/settings-layout.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/workspace-settings-dialog.tsx +0 -0
- /package/{workspace/.claude/skills/moi-workspace → skill}/references/INTENTS.md +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { useEffect, useRef, useState, type ReactNode } from 'react'
|
|
2
|
+
import { useMutation } from '@tanstack/react-query'
|
|
3
|
+
import { IconSearch } from '@tabler/icons-react'
|
|
4
|
+
import { Button } from '@/client/components/ui/button'
|
|
5
|
+
import { Spinner } from '@/client/components/ui/spinner'
|
|
6
|
+
import { requestJson } from '@/client/api/http'
|
|
7
|
+
import type { WorkspaceEntry } from '@/lib/types'
|
|
8
|
+
import type { IdeaDiscovery, OnboardingHarness, OnboardingIdea } from '@/lib/onboarding'
|
|
9
|
+
import { useCreateWorkspace } from '@/client/features/workspace/add/api'
|
|
10
|
+
import { usePreloadWorkspaceFonts } from '@/client/runtime/workspace-theme'
|
|
11
|
+
import { OnboardingScreen } from './onboarding-screen'
|
|
12
|
+
import { OnboardingIdeaDisk } from './onboarding-idea-disk'
|
|
13
|
+
import { cancelDiscovery, useOnboardingJob } from './api'
|
|
14
|
+
|
|
15
|
+
type WorkspaceSetupStepProps = {
|
|
16
|
+
harness: OnboardingHarness
|
|
17
|
+
onFinish: (workspaceId?: string) => void
|
|
18
|
+
finishing: boolean
|
|
19
|
+
finishError?: string
|
|
20
|
+
}
|
|
21
|
+
export function WorkspaceSetupStep({
|
|
22
|
+
harness,
|
|
23
|
+
onFinish,
|
|
24
|
+
finishing,
|
|
25
|
+
finishError
|
|
26
|
+
}: WorkspaceSetupStepProps) {
|
|
27
|
+
const [discovery, setDiscovery] = useState<IdeaDiscovery>()
|
|
28
|
+
const [selection, setSelection] = useState<{ ideaId: string; operationId: string }>()
|
|
29
|
+
const [retry, setRetry] = useState(false)
|
|
30
|
+
const ideas = useOnboardingJob('discover', discovery)
|
|
31
|
+
const build = useOnboardingJob(
|
|
32
|
+
'create',
|
|
33
|
+
discovery && selection ? { ...discovery, ...selection } : undefined,
|
|
34
|
+
retry
|
|
35
|
+
)
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
if (!discovery) return
|
|
38
|
+
return () => {
|
|
39
|
+
void cancelDiscovery(discovery.runId).catch(() => {})
|
|
40
|
+
}
|
|
41
|
+
}, [discovery])
|
|
42
|
+
const openedWorkspace = useRef<string | undefined>(undefined)
|
|
43
|
+
const workspaceId = build.data?.status === 'done' ? build.data.workspaceId : undefined
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (!workspaceId || openedWorkspace.current === workspaceId) return
|
|
46
|
+
openedWorkspace.current = workspaceId
|
|
47
|
+
onFinish(workspaceId)
|
|
48
|
+
}, [workspaceId, onFinish])
|
|
49
|
+
const createWorkspace = useCreateWorkspace()
|
|
50
|
+
const emptyWorkspaceId = createWorkspace.data?.id
|
|
51
|
+
const startFromScratch = useMutation({
|
|
52
|
+
mutationFn: async () => {
|
|
53
|
+
if (emptyWorkspaceId) return emptyWorkspaceId
|
|
54
|
+
if (discovery) {
|
|
55
|
+
await cancelDiscovery(discovery.runId)
|
|
56
|
+
setDiscovery(undefined)
|
|
57
|
+
}
|
|
58
|
+
const workspaces = await requestJson<WorkspaceEntry[]>('/api/workspaces')
|
|
59
|
+
if (workspaces.length > 0) return
|
|
60
|
+
const entry = await createWorkspace.mutateAsync({ type: harness })
|
|
61
|
+
return entry.id
|
|
62
|
+
},
|
|
63
|
+
onSuccess: id => onFinish(id)
|
|
64
|
+
})
|
|
65
|
+
const discoveryError = ideas.error?.message ?? ideas.data?.error
|
|
66
|
+
const error =
|
|
67
|
+
startFromScratch.error?.message ??
|
|
68
|
+
build.error?.message ??
|
|
69
|
+
build.data?.error ??
|
|
70
|
+
(discoveryError
|
|
71
|
+
? 'We couldn’t find ideas this time. Try again, or start on your own.'
|
|
72
|
+
: undefined)
|
|
73
|
+
function findIdeas() {
|
|
74
|
+
startFromScratch.reset()
|
|
75
|
+
setDiscovery({ harness, runId: crypto.randomUUID() })
|
|
76
|
+
}
|
|
77
|
+
function select(ideaId: string) {
|
|
78
|
+
setSelection(current => current ?? { ideaId, operationId: crypto.randomUUID() })
|
|
79
|
+
}
|
|
80
|
+
const busy = finishing || startFromScratch.isPending
|
|
81
|
+
const feedback = (
|
|
82
|
+
<>
|
|
83
|
+
{(error || finishError) && (
|
|
84
|
+
<p role="alert" className="text-center text-sm text-destructive">
|
|
85
|
+
{error || finishError}
|
|
86
|
+
</p>
|
|
87
|
+
)}
|
|
88
|
+
{selection && (error || finishError) && (
|
|
89
|
+
<Button
|
|
90
|
+
size="lg"
|
|
91
|
+
className="self-center"
|
|
92
|
+
variant="secondary"
|
|
93
|
+
disabled={busy || build.isFetching}
|
|
94
|
+
onClick={() => {
|
|
95
|
+
if (workspaceId) onFinish(workspaceId)
|
|
96
|
+
else if (retry) void build.refetch()
|
|
97
|
+
else setRetry(true)
|
|
98
|
+
}}
|
|
99
|
+
>
|
|
100
|
+
Try again
|
|
101
|
+
</Button>
|
|
102
|
+
)}
|
|
103
|
+
</>
|
|
104
|
+
)
|
|
105
|
+
const footer = !selection && (
|
|
106
|
+
<Button size="lg" variant="ghost" disabled={busy} onClick={() => startFromScratch.mutate()}>
|
|
107
|
+
{startFromScratch.isPending && <Spinner stroke={1.5} />}
|
|
108
|
+
{startFromScratch.isPending ? 'Creating workspace…' : 'Skip onboarding'}
|
|
109
|
+
</Button>
|
|
110
|
+
)
|
|
111
|
+
if (!selection && (!discovery || error || busy))
|
|
112
|
+
return (
|
|
113
|
+
<DiscoveryIntro
|
|
114
|
+
disabled={busy || !!emptyWorkspaceId}
|
|
115
|
+
failed={!!discoveryError}
|
|
116
|
+
onFindIdeas={findIdeas}
|
|
117
|
+
feedback={feedback}
|
|
118
|
+
footer={footer}
|
|
119
|
+
/>
|
|
120
|
+
)
|
|
121
|
+
if (ideas.data?.status === 'done')
|
|
122
|
+
return (
|
|
123
|
+
<IdeaOptions
|
|
124
|
+
ideas={ideas.data.ideas ?? []}
|
|
125
|
+
selectedIdeaId={selection?.ideaId}
|
|
126
|
+
onSelect={select}
|
|
127
|
+
feedback={feedback}
|
|
128
|
+
footer={footer}
|
|
129
|
+
/>
|
|
130
|
+
)
|
|
131
|
+
return (
|
|
132
|
+
<DiscoveryIntro
|
|
133
|
+
loading
|
|
134
|
+
progressMessage={ideas.data?.progress?.message}
|
|
135
|
+
disabled={busy}
|
|
136
|
+
failed={false}
|
|
137
|
+
onFindIdeas={findIdeas}
|
|
138
|
+
feedback={feedback}
|
|
139
|
+
footer={footer}
|
|
140
|
+
/>
|
|
141
|
+
)
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
type DiscoveryIntroProps = {
|
|
145
|
+
loading?: boolean
|
|
146
|
+
progressMessage?: string
|
|
147
|
+
disabled: boolean
|
|
148
|
+
failed: boolean
|
|
149
|
+
onFindIdeas: () => void
|
|
150
|
+
feedback: ReactNode
|
|
151
|
+
footer: ReactNode
|
|
152
|
+
}
|
|
153
|
+
function DiscoveryIntro({
|
|
154
|
+
loading = false,
|
|
155
|
+
progressMessage,
|
|
156
|
+
disabled,
|
|
157
|
+
failed,
|
|
158
|
+
onFindIdeas,
|
|
159
|
+
feedback,
|
|
160
|
+
footer
|
|
161
|
+
}: DiscoveryIntroProps) {
|
|
162
|
+
return (
|
|
163
|
+
<OnboardingScreen className="max-w-sm" footer={footer}>
|
|
164
|
+
<div className="flex flex-col items-center gap-2 text-center">
|
|
165
|
+
<h1 className="text-xl font-medium">Choose a starting point</h1>
|
|
166
|
+
<p className="text-sm text-muted-foreground">
|
|
167
|
+
Moi can look through your recent conversations, emails, and connected apps to suggest
|
|
168
|
+
ideas for you to build
|
|
169
|
+
</p>
|
|
170
|
+
</div>
|
|
171
|
+
<div className="flex flex-col items-center gap-3">
|
|
172
|
+
{loading ? (
|
|
173
|
+
<DiscoveryProgress message={progressMessage} />
|
|
174
|
+
) : (
|
|
175
|
+
<Button size="lg" disabled={disabled} onClick={onFindIdeas}>
|
|
176
|
+
<IconSearch stroke={1.5} aria-hidden="true" />
|
|
177
|
+
{failed ? 'Try again' : 'Find ideas'}
|
|
178
|
+
</Button>
|
|
179
|
+
)}
|
|
180
|
+
{feedback}
|
|
181
|
+
</div>
|
|
182
|
+
</OnboardingScreen>
|
|
183
|
+
)
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
type DiscoveryProgressProps = { message?: string }
|
|
187
|
+
function DiscoveryProgress({ message }: DiscoveryProgressProps) {
|
|
188
|
+
return (
|
|
189
|
+
<div
|
|
190
|
+
role="status"
|
|
191
|
+
aria-label="Finding ideas"
|
|
192
|
+
className="flex h-9 max-w-full min-w-0 items-center text-sm text-muted-foreground"
|
|
193
|
+
>
|
|
194
|
+
<span className="shimmer truncate" title={message}>
|
|
195
|
+
{message ?? 'Taking a first look…'}
|
|
196
|
+
</span>
|
|
197
|
+
</div>
|
|
198
|
+
)
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
type IdeaOptionsProps = {
|
|
202
|
+
ideas: OnboardingIdea[]
|
|
203
|
+
selectedIdeaId?: string
|
|
204
|
+
onSelect: (id: string) => void
|
|
205
|
+
feedback: ReactNode
|
|
206
|
+
footer: ReactNode
|
|
207
|
+
}
|
|
208
|
+
export function IdeaOptions({
|
|
209
|
+
ideas,
|
|
210
|
+
selectedIdeaId,
|
|
211
|
+
onSelect,
|
|
212
|
+
feedback,
|
|
213
|
+
footer
|
|
214
|
+
}: IdeaOptionsProps) {
|
|
215
|
+
usePreloadWorkspaceFonts()
|
|
216
|
+
return (
|
|
217
|
+
<OnboardingScreen className="max-w-6xl" footer={footer}>
|
|
218
|
+
<div className="flex flex-col items-center gap-2 text-center">
|
|
219
|
+
<h1 className="text-xl font-medium">Choose a starting point</h1>
|
|
220
|
+
<p className="text-sm text-muted-foreground">
|
|
221
|
+
Pick an idea to build, you can change and add things as you go
|
|
222
|
+
</p>
|
|
223
|
+
</div>
|
|
224
|
+
<div className="grid justify-items-stretch gap-10 px-3 pt-4 pb-8 lg:grid-cols-3 lg:gap-8">
|
|
225
|
+
{ideas.map(idea => (
|
|
226
|
+
<OnboardingIdeaDisk
|
|
227
|
+
key={idea.id}
|
|
228
|
+
idea={idea}
|
|
229
|
+
state={
|
|
230
|
+
!selectedIdeaId ? 'available' : selectedIdeaId === idea.id ? 'chosen' : 'not-chosen'
|
|
231
|
+
}
|
|
232
|
+
onSelect={() => onSelect(idea.id)}
|
|
233
|
+
/>
|
|
234
|
+
))}
|
|
235
|
+
</div>
|
|
236
|
+
{feedback}
|
|
237
|
+
</OnboardingScreen>
|
|
238
|
+
)
|
|
239
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { ViewInfo } from '@/lib/types'
|
|
4
4
|
import { DEFAULT_VIEWS_WIDGET, isDefaultWidget, type DefaultWidgetId } from '@/lib/default-widgets'
|
|
5
5
|
|
|
6
6
|
import { ViewsWidget } from './views-widget'
|
|
7
7
|
|
|
8
8
|
export type DefaultWidgetRenderContext = {
|
|
9
|
-
views:
|
|
9
|
+
views: ViewInfo[]
|
|
10
10
|
onOpenView: (viewId: string) => void
|
|
11
11
|
onCreateView: () => void
|
|
12
12
|
showOnboarding: boolean
|
|
@@ -33,7 +33,7 @@ import { useDeleteView, useRenameView } from '@/client/features/views/api'
|
|
|
33
33
|
import { getViewIcon, getViewLabel } from '@/client/features/views/view-presentation'
|
|
34
34
|
import { useWorkspaceLayoutCtx } from '@/client/features/workspace/workspace-layout-context'
|
|
35
35
|
import { cn } from '@/client/lib/cn'
|
|
36
|
-
import type {
|
|
36
|
+
import type { ViewInfo } from '@/lib/types'
|
|
37
37
|
|
|
38
38
|
type NewViewButtonProps = {
|
|
39
39
|
outlined: boolean
|
|
@@ -74,7 +74,7 @@ function NewViewButton({ outlined, onClick }: NewViewButtonProps) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
type ViewItemProps = {
|
|
77
|
-
view:
|
|
77
|
+
view: ViewInfo
|
|
78
78
|
Icon: TablerIcon
|
|
79
79
|
onOpen: () => void
|
|
80
80
|
}
|
|
@@ -206,14 +206,15 @@ function ViewItem({ view, Icon, onOpen }: ViewItemProps) {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
type ViewsWidgetProps = {
|
|
209
|
-
views:
|
|
209
|
+
views: ViewInfo[]
|
|
210
210
|
onOpenView: (viewId: string) => void
|
|
211
211
|
onCreateView: () => void
|
|
212
212
|
showOnboarding: boolean
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
export function ViewsWidget({ views, onOpenView, onCreateView, showOnboarding }: ViewsWidgetProps) {
|
|
216
|
-
const
|
|
216
|
+
const visibleViews = views.filter(view => view.status !== 'draft')
|
|
217
|
+
const empty = visibleViews.length === 0
|
|
217
218
|
|
|
218
219
|
return (
|
|
219
220
|
<div className="relative no-scrollbar flex size-full items-center overflow-hidden bg-muted">
|
|
@@ -225,7 +226,7 @@ export function ViewsWidget({ views, onOpenView, onCreateView, showOnboarding }:
|
|
|
225
226
|
)}
|
|
226
227
|
<h2 className="relative pr-6 pl-12 text-2xl font-semibold text-foreground">Views</h2>
|
|
227
228
|
<div className="relative no-scrollbar flex scroll-fade-x gap-2 overflow-x-auto px-6 pt-4 [--scroll-fade-reveal:16px]">
|
|
228
|
-
{
|
|
229
|
+
{visibleViews.map(view => (
|
|
229
230
|
<ViewItem
|
|
230
231
|
key={view.id}
|
|
231
232
|
view={view}
|
|
@@ -15,7 +15,7 @@ import { useAppletThumbnails } from '@/client/features/applets/applet-thumbnail'
|
|
|
15
15
|
import {
|
|
16
16
|
WorkspaceSettingsDialog,
|
|
17
17
|
WorkspaceSettingsDialogTrigger
|
|
18
|
-
} from '@/client/features/settings/workspace-settings-dialog'
|
|
18
|
+
} from '@/client/features/workspace/settings/workspace-settings-dialog'
|
|
19
19
|
import { useWorkspaceLayoutCtx } from '@/client/features/workspace/workspace-layout-context'
|
|
20
20
|
import { renderDefaultWidget } from '@/client/features/overview/default/registry'
|
|
21
21
|
import { findWidgetPosition, updateStoredGridPositions } from '@/client/features/overview/grid'
|
|
@@ -24,7 +24,7 @@ import { WidgetShell } from '@/client/features/applets/widget-shell'
|
|
|
24
24
|
import { Button } from '@/client/components/ui/button'
|
|
25
25
|
import { cn } from '@/client/lib/cn'
|
|
26
26
|
import { useUiStore } from '@/client/store/ui'
|
|
27
|
-
import type {
|
|
27
|
+
import type { ViewInfo, WidgetInfo } from '@/lib/types'
|
|
28
28
|
import { isDefaultWidget } from '@/lib/default-widgets'
|
|
29
29
|
|
|
30
30
|
import { HiddenPanel } from './hidden-panel'
|
|
@@ -38,15 +38,13 @@ type NoWidgetsCreatedProps = {
|
|
|
38
38
|
|
|
39
39
|
function NoWidgetsCreated({ onCreateWidget, showOnboarding }: NoWidgetsCreatedProps) {
|
|
40
40
|
return (
|
|
41
|
-
<div className="relative grid size-full grid-cols-
|
|
42
|
-
<div className="
|
|
43
|
-
<div className="flex size-full items-
|
|
41
|
+
<div className="relative grid size-full grid-cols-2 grid-rows-1 gap-2 overflow-hidden">
|
|
42
|
+
<div className="overflow-hidden rounded-2xl bg-muted texture-checker squircle">
|
|
43
|
+
<div className="flex size-full items-center justify-start bg-linear-to-r from-muted from-40% to-transparent p-12">
|
|
44
44
|
<h2 className="text-2xl font-semibold text-foreground">Widgets</h2>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
|
-
<div className="
|
|
48
|
-
<div className="col-span-2 overflow-hidden rounded-2xl bg-muted texture-checker squircle" />
|
|
49
|
-
<div className="col-span-2 overflow-hidden rounded-2xl bg-muted texture-checker squircle">
|
|
47
|
+
<div className="overflow-hidden rounded-2xl bg-muted texture-checker squircle">
|
|
50
48
|
{showOnboarding && (
|
|
51
49
|
<div className="flex size-full items-end justify-end">
|
|
52
50
|
<span className="m-8 max-w-56 text-right text-sm text-muted-foreground">
|
|
@@ -60,11 +58,11 @@ function NoWidgetsCreated({ onCreateWidget, showOnboarding }: NoWidgetsCreatedPr
|
|
|
60
58
|
variant="outline"
|
|
61
59
|
className={cn(
|
|
62
60
|
'absolute inset-0 m-auto h-fit w-fit',
|
|
63
|
-
'flex-col gap-1 rounded-2xl border-0 py-4 pr-
|
|
61
|
+
'flex-col gap-1 rounded-2xl border-0 py-4 pr-8 pl-8! text-xs shadow-sm transition-shadow duration-300 ease-out squircle hover:bg-background hover:shadow-lg [&_svg]:size-8'
|
|
64
62
|
)}
|
|
65
63
|
onClick={onCreateWidget}
|
|
66
64
|
>
|
|
67
|
-
<IconPlus data-icon="inline-start" stroke={1} />
|
|
65
|
+
<IconPlus data-icon="inline-start" stroke={1.5} />
|
|
68
66
|
New widget
|
|
69
67
|
</Button>
|
|
70
68
|
</div>
|
|
@@ -177,7 +175,7 @@ type OverviewProps = {
|
|
|
177
175
|
onCustomizingChange: (customizing: boolean) => void
|
|
178
176
|
// Authoritative widget set from useWidgets; positions come from layout.
|
|
179
177
|
widgets: WidgetInfo[]
|
|
180
|
-
views:
|
|
178
|
+
views: ViewInfo[]
|
|
181
179
|
}
|
|
182
180
|
|
|
183
181
|
export function Overview({
|
|
@@ -2,8 +2,8 @@ import { useEffect, useState } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Popover, PopoverContent, PopoverTrigger } from '@/client/components/ui/popover'
|
|
4
4
|
import { WorkspaceIdentity } from '@/client/features/workspace/workspace-identity'
|
|
5
|
-
import { useSaveWorkspaceName } from '@/client/features/settings/api'
|
|
6
|
-
import { WorkspaceIconPicker } from '@/client/features/settings/workspace-icon-picker'
|
|
5
|
+
import { useSaveWorkspaceName } from '@/client/features/workspace/settings/api'
|
|
6
|
+
import { WorkspaceIconPicker } from '@/client/features/workspace/settings/workspace-icon-picker'
|
|
7
7
|
import { useWorkspaceLayoutCtx } from '@/client/features/workspace/workspace-layout-context'
|
|
8
8
|
|
|
9
9
|
export function WorkspaceName() {
|
|
@@ -1,28 +1,81 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { SpeedMode } from '@/lib/types'
|
|
2
|
+
import type {
|
|
3
|
+
CompiledView,
|
|
4
|
+
MessageAttachment,
|
|
5
|
+
PendingView,
|
|
6
|
+
SelectedSessionScope,
|
|
7
|
+
ViewInfo,
|
|
8
|
+
WorkspaceState
|
|
9
|
+
} from '@/lib/types'
|
|
10
|
+
import { useMutation, useQuery, useQueryClient, type QueryClient } from '@tanstack/react-query'
|
|
11
|
+
import { useMemo } from 'react'
|
|
3
12
|
import { jsonRequest, requestJson, requestVoid } from '@/client/api/http'
|
|
4
|
-
import { WORKSPACE_RESOURCE_OPTIONS } from '@/client/api/query-options'
|
|
5
13
|
import { workspaceKeys } from '@/client/api/workspace-keys'
|
|
14
|
+
import {
|
|
15
|
+
getCachedWorkspaceState,
|
|
16
|
+
useWorkspaceState
|
|
17
|
+
} from '@/client/features/workspace/workspace-state'
|
|
6
18
|
import { useWorkspaceEvent } from '@/client/runtime/use-workspace-events'
|
|
7
19
|
|
|
20
|
+
// Compiled views from `.moi/views/`. Build and layout events refetch the list;
|
|
21
|
+
// mounts within 30 s reuse it.
|
|
22
|
+
export function compiledViewsOptions(workspaceId: string) {
|
|
23
|
+
return {
|
|
24
|
+
queryKey: workspaceKeys.views(workspaceId),
|
|
25
|
+
queryFn: async () =>
|
|
26
|
+
(await requestJson<{ views: CompiledView[] }>(`/api/workspaces/${workspaceId}/views`)).views,
|
|
27
|
+
staleTime: 30_000,
|
|
28
|
+
gcTime: 5 * 60_000,
|
|
29
|
+
refetchOnMount: true,
|
|
30
|
+
refetchOnWindowFocus: true
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Compiled views first, then the views still being built (from the workspace
|
|
35
|
+
// state), in creation order. A view that just compiled shows once.
|
|
36
|
+
export function mergeViews(
|
|
37
|
+
compiled: CompiledView[] | undefined,
|
|
38
|
+
pending: WorkspaceState['pendingViews'] | undefined
|
|
39
|
+
): ViewInfo[] | undefined {
|
|
40
|
+
if (!compiled || !pending) return undefined
|
|
41
|
+
const ids = new Set(compiled.map(view => view.id))
|
|
42
|
+
const building = Object.entries(pending)
|
|
43
|
+
.filter(([id]) => !ids.has(id))
|
|
44
|
+
.map(([id, view]): PendingView => ({ id, ...view }))
|
|
45
|
+
return [...compiled, ...building]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function getCachedViews(
|
|
49
|
+
queryClient: QueryClient,
|
|
50
|
+
workspaceId: string
|
|
51
|
+
): ViewInfo[] | undefined {
|
|
52
|
+
return mergeViews(
|
|
53
|
+
queryClient.getQueryData<CompiledView[]>(workspaceKeys.views(workspaceId)),
|
|
54
|
+
getCachedWorkspaceState(queryClient, workspaceId)?.pendingViews
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const selectPendingViews = (state: WorkspaceState) => state.pendingViews
|
|
59
|
+
|
|
8
60
|
export function useViews(workspaceId: string) {
|
|
9
61
|
const queryClient = useQueryClient()
|
|
10
62
|
useWorkspaceEvent(event => {
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
event.
|
|
14
|
-
|
|
63
|
+
if (event.type === 'view-layout:updated' && event.workspaceId === workspaceId) {
|
|
64
|
+
const queryKey = workspaceKeys.views(workspaceId)
|
|
65
|
+
// The event is newer than an in-flight list request. Apply it immediately
|
|
66
|
+
// so the following state:changed can safely remove the pending view.
|
|
67
|
+
void queryClient.cancelQueries({ queryKey })
|
|
68
|
+
queryClient.setQueryData(queryKey, event.views)
|
|
69
|
+
}
|
|
70
|
+
if (event.type === 'view:deleted' && event.workspaceId === workspaceId) {
|
|
15
71
|
void queryClient.invalidateQueries({ queryKey: workspaceKeys.views(workspaceId) })
|
|
16
|
-
|
|
17
|
-
void queryClient.invalidateQueries({ queryKey: workspaceKeys.sessions(workspaceId) })
|
|
72
|
+
void queryClient.invalidateQueries({ queryKey: workspaceKeys.sessions(workspaceId) })
|
|
18
73
|
}
|
|
19
74
|
})
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
...WORKSPACE_RESOURCE_OPTIONS
|
|
25
|
-
})
|
|
75
|
+
const compiled = useQuery(compiledViewsOptions(workspaceId))
|
|
76
|
+
const pending = useWorkspaceState(workspaceId, selectPendingViews)
|
|
77
|
+
const data = useMemo(() => mergeViews(compiled.data, pending.data), [compiled.data, pending.data])
|
|
78
|
+
return { data, isLoading: compiled.isLoading || pending.isLoading }
|
|
26
79
|
}
|
|
27
80
|
function useViewMutation<T, Input>(workspaceId: string, mutationFn: (input: Input) => Promise<T>) {
|
|
28
81
|
const queryClient = useQueryClient()
|
|
@@ -78,7 +131,7 @@ export type SubmitViewInput = {
|
|
|
78
131
|
attachments?: MessageAttachment[]
|
|
79
132
|
model?: string
|
|
80
133
|
effort?: string
|
|
81
|
-
|
|
134
|
+
speedMode?: SpeedMode
|
|
82
135
|
stream?: boolean
|
|
83
136
|
}
|
|
84
137
|
export function useSubmitView(workspaceId: string) {
|
|
@@ -31,6 +31,7 @@ type PendingViewScreenProps = {
|
|
|
31
31
|
running: boolean
|
|
32
32
|
sketchSessionId?: string
|
|
33
33
|
chatDocked: boolean
|
|
34
|
+
chatOpen?: boolean
|
|
34
35
|
workspaceId: string
|
|
35
36
|
onEditingStart: () => void
|
|
36
37
|
onContinueInChat: () => void
|
|
@@ -45,6 +46,7 @@ export function PendingViewScreen({
|
|
|
45
46
|
running,
|
|
46
47
|
sketchSessionId,
|
|
47
48
|
chatDocked,
|
|
49
|
+
chatOpen = false,
|
|
48
50
|
workspaceId,
|
|
49
51
|
onEditingStart,
|
|
50
52
|
onContinueInChat,
|
|
@@ -57,9 +59,7 @@ export function PendingViewScreen({
|
|
|
57
59
|
active: active && pendingView.status === 'draft',
|
|
58
60
|
viewId: pendingView.id,
|
|
59
61
|
sessionId:
|
|
60
|
-
sketchSessionId ??
|
|
61
|
-
pendingView.executionSessionId ??
|
|
62
|
-
draftSessionId(viewTabId(pendingView.id)),
|
|
62
|
+
sketchSessionId ?? pendingView.buildSessionId ?? draftSessionId(viewTabId(pendingView.id)),
|
|
63
63
|
source: viewTabId(pendingView.id),
|
|
64
64
|
workspaceId,
|
|
65
65
|
onEditingStart,
|
|
@@ -79,6 +79,7 @@ export function PendingViewScreen({
|
|
|
79
79
|
<PendingViewScreenSketchSurface
|
|
80
80
|
active={active}
|
|
81
81
|
chatDocked={chatDocked}
|
|
82
|
+
chatOpen={chatOpen}
|
|
82
83
|
error={pendingView.error}
|
|
83
84
|
sketch={sketch}
|
|
84
85
|
displayStatus={displayStatus}
|
|
@@ -100,17 +101,25 @@ function PendingViewScreenStarting() {
|
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
type PendingViewScreenFailedProps = {
|
|
104
|
+
chatOpen?: boolean
|
|
103
105
|
error?: string
|
|
104
106
|
onOpenChat: () => void
|
|
105
107
|
onDiscard: () => void
|
|
106
108
|
}
|
|
107
109
|
|
|
108
|
-
function PendingViewScreenFailed({
|
|
110
|
+
function PendingViewScreenFailed({
|
|
111
|
+
error,
|
|
112
|
+
chatOpen,
|
|
113
|
+
onOpenChat,
|
|
114
|
+
onDiscard
|
|
115
|
+
}: PendingViewScreenFailedProps) {
|
|
109
116
|
return (
|
|
110
117
|
<PendingViewScreenStatusLayout>
|
|
111
118
|
<div className="pointer-events-auto flex max-w-md flex-col items-center gap-4 bg-radial from-background from-50% to-transparent to-75% p-8 text-center">
|
|
112
119
|
<p className="text-sm text-muted-foreground">{error}</p>
|
|
113
|
-
<Button onClick={onOpenChat}>
|
|
120
|
+
<Button variant={chatOpen ? 'secondary' : 'default'} onClick={onOpenChat}>
|
|
121
|
+
{chatOpen ? 'Go to chat' : 'Open chat'}
|
|
122
|
+
</Button>
|
|
114
123
|
<Button variant="secondary" onClick={onDiscard}>
|
|
115
124
|
Discard view
|
|
116
125
|
</Button>
|
|
@@ -122,6 +131,7 @@ function PendingViewScreenFailed({ error, onOpenChat, onDiscard }: PendingViewSc
|
|
|
122
131
|
type PendingViewScreenSketchSurfaceProps = {
|
|
123
132
|
active: boolean
|
|
124
133
|
chatDocked: boolean
|
|
134
|
+
chatOpen?: boolean
|
|
125
135
|
error?: string
|
|
126
136
|
sketch: ViewSketchController
|
|
127
137
|
displayStatus: 'draft' | 'starting' | 'building' | 'waiting' | 'failed'
|
|
@@ -132,6 +142,7 @@ type PendingViewScreenSketchSurfaceProps = {
|
|
|
132
142
|
function PendingViewScreenSketchSurface({
|
|
133
143
|
active,
|
|
134
144
|
chatDocked,
|
|
145
|
+
chatOpen = false,
|
|
135
146
|
error,
|
|
136
147
|
sketch,
|
|
137
148
|
displayStatus,
|
|
@@ -178,12 +189,18 @@ function PendingViewScreenSketchSurface({
|
|
|
178
189
|
{displayStatus === 'waiting' && (
|
|
179
190
|
<PendingViewScreenWaitingState
|
|
180
191
|
error={error}
|
|
192
|
+
chatOpen={chatOpen}
|
|
181
193
|
onDiscard={onDiscard}
|
|
182
194
|
onOpenChat={onOpenChat}
|
|
183
195
|
/>
|
|
184
196
|
)}
|
|
185
197
|
{displayStatus === 'failed' && (
|
|
186
|
-
<PendingViewScreenFailed
|
|
198
|
+
<PendingViewScreenFailed
|
|
199
|
+
chatOpen={chatOpen}
|
|
200
|
+
error={error}
|
|
201
|
+
onOpenChat={onOpenChat}
|
|
202
|
+
onDiscard={onDiscard}
|
|
203
|
+
/>
|
|
187
204
|
)}
|
|
188
205
|
</div>
|
|
189
206
|
)
|
|
@@ -225,6 +242,7 @@ function PendingViewScreenSketchBackground({
|
|
|
225
242
|
}
|
|
226
243
|
|
|
227
244
|
type PendingViewScreenWaitingStateProps = {
|
|
245
|
+
chatOpen?: boolean
|
|
228
246
|
error?: string
|
|
229
247
|
onDiscard: () => void
|
|
230
248
|
onOpenChat: () => void
|
|
@@ -232,6 +250,7 @@ type PendingViewScreenWaitingStateProps = {
|
|
|
232
250
|
|
|
233
251
|
function PendingViewScreenWaitingState({
|
|
234
252
|
error,
|
|
253
|
+
chatOpen,
|
|
235
254
|
onDiscard,
|
|
236
255
|
onOpenChat
|
|
237
256
|
}: PendingViewScreenWaitingStateProps) {
|
|
@@ -241,11 +260,13 @@ function PendingViewScreenWaitingState({
|
|
|
241
260
|
<div className="flex flex-col gap-1">
|
|
242
261
|
<h1 className="font-medium">The view needs your attention</h1>
|
|
243
262
|
<p className="text-sm text-muted-foreground">
|
|
244
|
-
{error ?? '
|
|
263
|
+
{error ?? 'Use the chat to work through the issue and continue'}
|
|
245
264
|
</p>
|
|
246
265
|
</div>
|
|
247
266
|
<div className="flex gap-2">
|
|
248
|
-
<Button onClick={onOpenChat}>
|
|
267
|
+
<Button variant={chatOpen ? 'secondary' : 'default'} onClick={onOpenChat}>
|
|
268
|
+
{chatOpen ? 'Go to chat' : 'Open chat'}
|
|
269
|
+
</Button>
|
|
249
270
|
<Button variant="secondary" onClick={onDiscard}>
|
|
250
271
|
Discard view
|
|
251
272
|
</Button>
|
|
@@ -264,7 +285,7 @@ function PendingViewScreenBuildingState({ controls }: PendingViewScreenBuildingS
|
|
|
264
285
|
|
|
265
286
|
return (
|
|
266
287
|
<PendingViewScreenStatusLayout>
|
|
267
|
-
{!hasStrokes && <Spinner className="size-
|
|
288
|
+
{!hasStrokes && <Spinner className="size-8 text-muted-foreground" stroke={0.75} />}
|
|
268
289
|
</PendingViewScreenStatusLayout>
|
|
269
290
|
)
|
|
270
291
|
}
|