Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh

Commit

Merge branch 'main' into ask-integration

# Conflicts: # apps/web/app/components/ask-composer.tsx

syntaqxcommitted Parentsc5466da1bb33e3Browse files
1 file+7−40/1 viewed
+7−4
1717 import { Button } from "./ui/button";
1818 import { Hint } from "./ui/hint";
1919 import { Kbd } from "./ui/kbd";
20−import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet";
20+import { Sheet, SheetClose, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet";
2121 import { Skeleton } from "./ui/skeleton";
2222 import { Textarea } from "./ui/textarea";
2323
468468 <p className="mt-2">
469469 Ask answers with an AI provider your workspace connects, on its own key: g1t hosts no model for it.{" "}
470470 {setup.owner ? (
471− <Link to={`/${slug}/-/integrations/models#ask`} className="text-accent hover:underline">
472− Connect a provider and choose it for Ask
473− </Link>
471+ // Following it closes the panel, so the page it opens is not behind it.
472+ <SheetClose asChild>
473+ <Link to={`/${slug}/-/integrations/models#ask`} className="text-accent hover:underline">
474+ Connect a provider and choose it for Ask
475+ </Link>
476+ </SheetClose>
474477 ) : (
475478 <>Ask an owner of {slug} to connect one and choose it for Ask.</>
476479 )}

Comments

Sign in to comment.