diff --git a/src/renderer/src/components/NewWorkspacePage.tsx b/src/renderer/src/components/NewWorkspacePage.tsx index 848b1b0d8..c4f862fd6 100644 --- a/src/renderer/src/components/NewWorkspacePage.tsx +++ b/src/renderer/src/components/NewWorkspacePage.tsx @@ -29,7 +29,6 @@ import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip import RepoCombobox from '@/components/repo/RepoCombobox' import GitHubItemDrawer from '@/components/GitHubItemDrawer' import { cn } from '@/lib/utils' -import { LightRays } from '@/components/ui/light-rays' import { getLinkedWorkItemSuggestedName, getTaskPresetQuery } from '@/lib/new-workspace' import type { LinkedWorkItemSummary } from '@/lib/new-workspace' import { isGitRepoKind } from '../../../shared/repo-kind' @@ -411,29 +410,7 @@ export default function NewWorkspacePage(): React.JSX.Element { }, [closeNewWorkspacePage, drawerWorkItem]) return ( -
- {/* Why: 3 rays at blur=20 looks visually equivalent to 6 at 44 while - cutting the compositor cost of the backdrop roughly 3x — the large - blur radius + mix-blend-screen pass dominated paint time during - page mount on integrated GPUs. */} - - - {selectedRepo?.badgeColor && ( -
- )} - +
{/* Why: left-aligned so it doesn't collide with the app sidebar on the right edge. The GitHub preview is a modal sheet that overlays the @@ -476,8 +453,8 @@ export default function NewWorkspacePage(): React.JSX.Element { className={cn( 'group flex h-11 w-11 items-center justify-center rounded-xl border transition', active - ? 'border-border/50 bg-background/50 backdrop-blur-md supports-[backdrop-filter]:bg-background/50' - : 'border-border/50 bg-transparent hover:bg-muted/40', + ? 'border-border bg-muted/70 shadow-sm' + : 'border-border/70 bg-muted/30 hover:bg-muted/60 hover:border-border', source.disabled && 'cursor-not-allowed opacity-55' )} > @@ -497,13 +474,13 @@ export default function NewWorkspacePage(): React.JSX.Element { value={repoId} onValueChange={setRepoId} placeholder="Select a repository" - triggerClassName="h-11 w-full rounded-[10px] border border-border/50 bg-background/50 backdrop-blur-md px-3 text-sm font-medium shadow-sm transition hover:bg-muted/50 focus:ring-2 focus:ring-ring/20 focus:outline-none supports-[backdrop-filter]:bg-background/50" + triggerClassName="h-11 w-full rounded-[10px] border border-border/50 bg-muted/50 px-3 text-sm font-medium shadow-sm transition hover:bg-muted/50 focus:ring-2 focus:ring-ring/20 focus:outline-none" />
{taskSource === 'github' && ( -
+
{TASK_QUERY_PRESETS.map((option) => { @@ -569,7 +546,7 @@ export default function NewWorkspacePage(): React.JSX.Element { onChange={handleTaskSearchChange} onKeyDown={handleTaskSearchKeyDown} placeholder="GitHub search, e.g. assignee:@me is:open" - className="h-10 border-border/50 bg-background/50 pl-10 pr-10 backdrop-blur-md supports-[backdrop-filter]:bg-background/50" + className="h-10 border-border/50 bg-background pl-10 pr-10" /> {taskSearchInput || appliedTaskSearch ? (