Skip to content
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
2 changes: 1 addition & 1 deletion apps/web/src/components/CustomSnoozeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function CustomSnoozeDialog() {
<DialogTitle>Custom snooze</DialogTitle>
<DialogDescription>Choose when snoozed threads return to your inbox.</DialogDescription>
</DialogHeader>
<DialogPanel className="flex flex-col gap-4 text-base sm:text-sm">
<DialogPanel className="text-base sm:text-sm">
<Tabs.Root
value={mode}
onValueChange={(value) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/GitActionsControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,7 @@ export default function GitActionsControl({
<DialogTitle>{COMMIT_DIALOG_TITLE}</DialogTitle>
<DialogDescription>{COMMIT_DIALOG_DESCRIPTION}</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<div className="space-y-3 rounded-xl bg-zinc-25 p-3 text-sm ring-1 ring-black/5 dark:bg-white/[0.035] dark:ring-white/5">
<div className="grid grid-cols-[auto_1fr] items-center gap-x-2 gap-y-1">
<span className="text-muted-foreground">Branch</span>
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/LegacySidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
: "Update the project title."}
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<div className="grid gap-1.5">
<span className="text-xs font-medium text-foreground">Project title</span>
<Input
Expand Down Expand Up @@ -2561,7 +2561,7 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
: "Choose how this project should be grouped in the sidebar."}
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<div className="grid gap-1.5">
<span className="text-xs font-medium text-foreground">Grouping rule</span>
<Select
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/PullRequestThreadDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function PullRequestThreadDialog({
the draft thread in the main repo or in a dedicated worktree.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<label className="grid gap-1.5">
<span className="text-xs font-medium text-foreground capitalize">
{terminology.singular}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/chat/ProposedPlanCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const ProposedPlanCard = memo(function ProposedPlanCard({
Enter a path relative to <code>{workspaceRoot ?? "the workspace"}</code>.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-3">
<DialogPanel>
<label htmlFor={savePathInputId} className="grid gap-1.5">
<span className="text-xs font-medium text-foreground">Workspace path</span>
<Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function ActiveSshPasswordPrompt({
to the local SSH process for this connection attempt and is not saved by T3 Code.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-3" scrollFade={false}>
<DialogPanel scrollFade={false}>
<form
className="space-y-3"
id={formId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function LinkPullRequestDialog({
this environment has a project for.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-3">
<DialogPanel>
<Input
ref={inputRef}
placeholder="Pull request URL or #42"
Expand Down
20 changes: 12 additions & 8 deletions apps/web/src/components/settings/BrowserImportWizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,11 @@ function ImportingStep() {
<DialogTitle>Importing cookies</DialogTitle>
<DialogDescription>This may take a moment.</DialogDescription>
</DialogHeader>
<DialogPanel className="flex items-center gap-3 py-6">
<Spinner size="md" tone="muted" />
<span className="text-sm text-muted-foreground">Importing…</span>
<DialogPanel>
<div className="flex items-center gap-3 py-2">
<Spinner size="md" tone="muted" />
<span className="text-sm text-muted-foreground">Importing…</span>
</div>
</DialogPanel>
</>
);
Expand All @@ -515,11 +517,13 @@ function CheckingStep({
: "Checking whether the browser has closed."}
</DialogDescription>
</DialogHeader>
<DialogPanel className="flex items-center gap-3 py-6">
<Spinner size="md" tone="muted" />
<span className="text-sm text-muted-foreground">
{check === "fullDiskAccess" ? "Checking access…" : "Checking…"}
</span>
<DialogPanel>
<div className="flex items-center gap-3 py-2">
<Spinner size="md" tone="muted" />
<span className="text-sm text-muted-foreground">
{check === "fullDiskAccess" ? "Checking access…" : "Checking…"}
</span>
</div>
</DialogPanel>
</>
);
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/settings/ConnectionsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ const PairingLinkListRow = memo(function PairingLinkListRow({
: "Clipboard copy is unavailable here. Manually copy this code into another client."}
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<Textarea
readOnly
value={revealValue}
Expand Down Expand Up @@ -1133,7 +1133,7 @@ const AuthorizedClientsHeaderAction = memo(function AuthorizedClientsHeaderActio
authorized client.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-5">
<DialogPanel>
<label className="block">
<span className="mb-1.5 block text-xs font-medium text-foreground">
Client label (optional)
Expand Down Expand Up @@ -3602,7 +3602,7 @@ export function ConnectionsSettings() {
Tailscale to proxy HTTPS traffic to this backend.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<label className="block">
<span className="text-sm font-medium text-foreground">HTTPS port</span>
<Input
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/DeviceHostEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function DeviceHostEditor({
Hosts on the same machine are skipped.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-4">
<DialogPanel>
<label className="block space-y-1.5 text-sm">
<span>Name</span>
<Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function ProjectIconPickerDialog({
<DialogTitle>Choose project icon</DialogTitle>
<DialogDescription>Choose an icon, emoji, or monogram.</DialogDescription>
</DialogHeader>
<DialogPanel className="flex min-h-0 flex-col gap-4">
<DialogPanel className="flex min-h-0 flex-col">
<ToggleGroup
aria-label="Icon type"
variant="segmented"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/SettingsPanels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ function BackgroundActivityAdvancedDialog({
Tune the shared power policy and the background intervals that feed it.
</DialogDescription>
</DialogHeader>
<DialogPanel className="space-y-0 px-6 pb-5">
<DialogPanel>
<div className="overflow-hidden rounded-xl border bg-card text-card-foreground">
<div className="flex flex-col gap-3 border-b px-4 py-3 sm:flex-row sm:items-center sm:justify-between">
<div className="min-w-0 space-y-1">
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/ThemeImportDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export function ThemeImportDialog({
<DialogHeader>
<DialogTitle>Add a theme</DialogTitle>
</DialogHeader>
<DialogPanel className="space-y-5">
<DialogPanel>
<ThemeSearchSection
onInstalled={(themes, context) => {
onImportedMany(themes, context);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function DialogPanel({
<ScrollArea scrollFade={scrollFade}>
<div
className={cn(
"p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-header])]:pt-1 in-[[data-slot=dialog-popup]:has([data-slot=dialog-footer]:not(.border-t))]:pb-1",
"space-y-4 p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-header])]:pt-1 in-[[data-slot=dialog-popup]:has([data-slot=dialog-footer]:not(.border-t))]:pb-1",
Comment thread
juliusmarminge marked this conversation as resolved.
className,
)}
data-slot="dialog-panel"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/usage/UsagePriceOverrides.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export function UsagePriceOverrides({
Prices apply to all past and future usage on the environments you select.
</DialogDescription>
</DialogHeader>
<DialogPanel className="grid gap-4">
<DialogPanel>
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex min-w-0 items-center gap-2">
<Label id="usage-prices-apply-label" className="shrink-0">
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint-restyle-ceiling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
// migrate a file, and delete this script when the rule becomes an error.
export const RESTYLE_CEILING = 921;
export const RESTYLE_CEILING = 899;

const RULE = "shadcn(no-restyle)";

Expand Down
Loading