The first super admin now lands on Settings > Setup after signing up: a skippable walk through the app name, connecting a model provider and picking models, ending with where to go next. It stays under Settings to come back to. While a bot has no text model, its conversation shows a notice in the thread (centred when empty): super admins get Connect a provider and Guided setup, everyone else is told the super admin sets it up. The models modal keeps it current. The Models page's data and save logic move into useModelsOverview, shared with the setup. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
609 B
TypeScript
25 lines
609 B
TypeScript
import type { LucideIcon } from "lucide-react";
|
|
import IconTile from "@/src/components/general/icon-tile";
|
|
import SettingsListRow from "../../(partials)/settings-list-row";
|
|
|
|
export type SetupLink = {
|
|
title: string;
|
|
description: string;
|
|
href: string;
|
|
Icon: LucideIcon;
|
|
};
|
|
|
|
/**
|
|
* One place to go on from the setup.
|
|
*/
|
|
export default function SetupLinkRow({ title, description, href, Icon }: SetupLink) {
|
|
return (
|
|
<SettingsListRow
|
|
avatar={<IconTile Icon={Icon} />}
|
|
title={title}
|
|
href={href}
|
|
subtitle={description}
|
|
/>
|
|
);
|
|
}
|