Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from "react";
import { usePostSystemPrompt } from "../hooks/use-post-system-prompt";
import { Check } from "lucide-react";
import { twMerge } from "tailwind-merge";

type DarkModeContextValue = {
preference: "dark" | "light" | null;
Expand Down Expand Up @@ -63,7 +64,7 @@ export function SystemPromptEditor({ className }: { className?: string }) {
const { saved, setSaved } = useSavedStatus();

return (
<Card className={className}>
<Card className={twMerge(className, "shrink-0")}>
<CardBody>
<Text className="text-primary">Custom prompt</Text>
<Text className="text-secondary mb-4">
Expand All @@ -86,7 +87,9 @@ export function SystemPromptEditor({ className }: { className?: string }) {
</div>
</CardBody>
<CardFooter className="justify-end gap-2">
<LinkButton variant="secondary">Cancel</LinkButton>
<LinkButton href="/workspaces" variant="secondary">
Cancel
</LinkButton>
<Button
isPending={isPending}
isDisabled={saved}
Expand Down
3 changes: 2 additions & 1 deletion src/features/workspace/components/workspace-name.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Card, CardBody, Input, Label, TextField } from "@stacklok/ui-kit";
import { twMerge } from "tailwind-merge";

export function WorkspaceName({ className }: { className?: string }) {
return (
<Card className={className}>
<Card className={twMerge(className, "shrink-0")}>
<CardBody>
<TextField value="my-awesome-workspace" isReadOnly>
<Label>Workspace name</Label>
Expand Down
Loading