diff --git a/src/page/workspace/settings/members.tsx b/src/page/workspace/settings/members.tsx index 6c92ec7..77a4f58 100644 --- a/src/page/workspace/settings/members.tsx +++ b/src/page/workspace/settings/members.tsx @@ -46,7 +46,7 @@ const MemberRow = memo(function MemberRow({ {member.owner ? ( - + Owner ) : ( diff --git a/src/page/workspace/workplan/chat-list.tsx b/src/page/workspace/workplan/chat-list.tsx index 5c3a10d..a517aae 100644 --- a/src/page/workspace/workplan/chat-list.tsx +++ b/src/page/workspace/workplan/chat-list.tsx @@ -11,7 +11,6 @@ interface SuggestionCard { title: string; body: string; icon: React.ComponentType<{ className?: string }>; - gradient: string; } const SUGGESTIONS: SuggestionCard[] = [ @@ -19,25 +18,21 @@ const SUGGESTIONS: SuggestionCard[] = [ title: "Code Review", body: "Review my pull request for bugs and improvements", icon: Code2, - gradient: "from-emerald-500/10 to-emerald-500/[0.02]", }, { title: "Debug Help", body: "Help me diagnose this failing test case", icon: Bug, - gradient: "from-amber-500/10 to-amber-500/[0.02]", }, { title: "Explain Code", body: "Explain how this algorithm works step by step", icon: Lightbulb, - gradient: "from-violet-500/10 to-violet-500/[0.02]", }, { title: "Refactor", body: "Suggest refactoring for better readability", icon: Wand2, - gradient: "from-sky-500/10 to-sky-500/[0.02]", }, ]; @@ -134,12 +129,7 @@ export default function WorkplanChatList() { }} whileTap={{ scale: 0.98 }} type="button" - className={` - group cursor-pointer rounded-xl border border-border/40 bg-gradient-to-br ${suggestion.gradient} - px-4 py-3.5 text-left transition-all duration-200 - hover:border-border/80 hover:shadow-sm hover:ring-1 hover:ring-primary/10 - focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring - `} + className="group cursor-pointer rounded-xl border border-border/40 bg-card px-4 py-3.5 text-left transition-[background-color,border-color,box-shadow,transform] duration-200 hover:border-border/80 hover:bg-muted/30 hover:shadow-sm hover:ring-1 hover:ring-primary/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" onClick={() => handleQuickStart(suggestion.title, suggestion.body) } diff --git a/src/page/workspace/workplan/chat/chat-item.tsx b/src/page/workspace/workplan/chat/chat-item.tsx index 61dd248..8749ce5 100644 --- a/src/page/workspace/workplan/chat/chat-item.tsx +++ b/src/page/workspace/workplan/chat/chat-item.tsx @@ -26,9 +26,9 @@ export const ChatItem = memo(function ChatItem({ aria-current={active ? "page" : undefined} aria-label={conv.title || "Untitled chat"} className={cn( - "group relative flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-2 text-left transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", + "group relative flex w-full cursor-pointer items-center gap-2.5 rounded-lg px-2.5 py-2 text-left transition-[background-color,color,box-shadow] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", active - ? "bg-primary/[0.08] text-foreground shadow-[inset_0_0_0_1px_var(--color-primary)/15]" + ? "bg-primary/[0.08] text-foreground ring-1 ring-primary/15" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground hover:shadow-sm", )} onClick={onSelect} @@ -72,7 +72,7 @@ export const ChatItem = memo(function ChatItem({ {/* Delete */}