mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-10 22:41:17 +00:00
Fix onboarding source integrations and connector gating (#1105)
Fixes the onboarding source-integrations step: corrects connector behavior, applies plan-based gating to connectors, and polishes the integrations layout.
This commit is contained in:
parent
94a1e30742
commit
40d025e178
3 changed files with 973 additions and 293 deletions
|
|
@ -275,6 +275,7 @@ export default function BrainOnboardingPage() {
|
|||
<StepSources
|
||||
containerTag={containerTag}
|
||||
workspaceName={about.workspaceName || suggestedWorkspaceName}
|
||||
mode={mode}
|
||||
values={sources}
|
||||
onChange={setSources}
|
||||
onContinue={goNext}
|
||||
|
|
|
|||
|
|
@ -51,8 +51,22 @@ export function BrainShell({ step, children }: ShellProps) {
|
|||
<span aria-hidden />
|
||||
</header>
|
||||
|
||||
<main className="relative z-10 flex-1 flex items-center justify-center px-4 md:px-10 py-6 md:py-10">
|
||||
<div className="w-full max-w-5xl">{children}</div>
|
||||
<main
|
||||
className={cn(
|
||||
"relative z-10 flex-1 flex justify-center px-4 md:px-10 py-6 md:py-10",
|
||||
step === "sources"
|
||||
? "items-start overflow-y-auto"
|
||||
: "items-center overflow-hidden",
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
"w-full",
|
||||
step === "sources" ? "max-w-none" : "max-w-5xl",
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue