Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c056644
refactor(ui): replace modal implementation with Dialog component in R…
Loosand Aug 13, 2026
5870438
style(ui): add isolation to #root for improved stacking context manag…
Loosand Aug 13, 2026
59f18a7
refactor(ui): update comments in GitBranchSelector and WorktreeCreate…
Loosand Aug 13, 2026
0b89bc6
refactor(ui): replace modal implementations with Dialog component acr…
Loosand Aug 13, 2026
da04f4c
Merge remote-tracking branch 'upstream/main' into bugfix/dialog
Loosand Aug 13, 2026
5886595
test(ui): update markdown dialog expectations
Loosand Aug 13, 2026
37d4b46
Merge remote-tracking branch 'upstream/main' into bugfix/dialog
Loosand Aug 15, 2026
fdb4103
test(settings): add tests for dialog visibility in common settings CSS
Loosand Aug 15, 2026
089529e
refactor(dialogs): remove modal motion utility and related styles
Loosand Aug 15, 2026
86353c0
refactor(dialogs): standardize z-index usage and clean up modal styles
Loosand Aug 15, 2026
a514cc2
refactor(dialogs): standardize dialog structure and improve accessibi…
Loosand Aug 15, 2026
f810a3b
feat(translations): enhance English and Chinese translations for MCP …
Loosand Aug 15, 2026
5f004d5
refactor(settings): update FailoverNumberField to use NumberInput and…
Loosand Aug 15, 2026
2bc8a67
feat(number-input): introduce NumberInput component for enhanced nume…
Loosand Aug 15, 2026
bae9a47
refactor(ui): improve component styling and structure across various …
Loosand Aug 15, 2026
1ebe885
Merge branch 'main' into bugfix/dialog
Loosand Aug 17, 2026
f3e5813
refactor(chat): update image viewer to use Dialog component and impro…
Loosand Aug 17, 2026
542fb1b
refactor(ui): standardize className usage with cn utility
Loosand Aug 17, 2026
4a63d05
feat(tests): add memory settings tests and enhance UI components
Loosand Aug 17, 2026
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 @@ -32,11 +32,6 @@ const loader = createWebModuleLoader({
"../lib/shared/utils": {
cn: (...parts) => parts.filter(Boolean).join(" "),
},
"../lib/shared/modalMotion": {
useModalMotion(onClose) {
return { modalState: "open", requestClose: onClose };
},
},
},
});

Expand Down
22 changes: 13 additions & 9 deletions crates/agent-gateway/web/src/app/AgentSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Check } from "@liveagent/ui/components/IconSet";
import { DropdownMenuItem, DropdownMenuLabel } from "@liveagent/ui/components/ui/dropdown-menu";
import { useLocale } from "@liveagent/ui/i18n/index";
import { cn } from "@liveagent/ui/lib/shared/utils";
import { useEffect, useState } from "react";
import type { GatewayWebSocketClientLike } from "@/lib/gatewaySocket";
import type { AgentStatus } from "@/lib/gatewayTypes";
Expand Down Expand Up @@ -86,11 +87,12 @@ export function AgentSelector({
<div className="px-2.5 pb-2.5 pt-1">
<div className="flex min-w-0 items-center gap-2.5">
<span
className={`h-2 w-2 shrink-0 rounded-full ${
className={cn(
"h-2 w-2 shrink-0 rounded-full",
agent.online
? "bg-emerald-500 shadow-[0_0_0_3px_rgb(16_185_129_/_0.12)]"
: "bg-rose-500 shadow-[0_0_0_3px_rgb(244_63_94_/_0.10)]"
}`}
: "bg-rose-500 shadow-[0_0_0_3px_rgb(244_63_94_/_0.10)]",
)}
title={statusLabel}
>
<span className="sr-only">{statusLabel}</span>
Expand All @@ -104,11 +106,12 @@ export function AgentSelector({
</span>
</span>
<span
className={`shrink-0 rounded-full px-2 py-0.5 text-[10px] font-medium ${
className={cn(
"shrink-0 rounded-full px-2 py-0.5 text-[10px] font-medium",
agent.online
? "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
: "bg-rose-500/10 text-rose-600 dark:text-rose-400"
}`}
: "bg-rose-500/10 text-rose-600 dark:text-rose-400",
)}
>
{statusLabel}
</span>
Expand Down Expand Up @@ -139,11 +142,12 @@ export function AgentSelector({
onSelect={() => handleChange(agentID)}
>
<span
className={`h-2 w-2 shrink-0 rounded-full ${
className={cn(
"h-2 w-2 shrink-0 rounded-full",
agent.online
? "bg-emerald-500 shadow-[0_0_0_3px_rgb(16_185_129_/_0.12)]"
: "bg-rose-500 shadow-[0_0_0_3px_rgb(244_63_94_/_0.10)]"
}`}
: "bg-rose-500 shadow-[0_0_0_3px_rgb(244_63_94_/_0.10)]",
)}
title={statusLabel}
>
<span className="sr-only">{statusLabel}</span>
Expand Down
8 changes: 5 additions & 3 deletions crates/agent-gateway/web/src/app/GatewayAppView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { WorkspaceOverlayHost } from "@liveagent/ui/components/workspace-editor/
import { LocaleContext, t as translate } from "@liveagent/ui/i18n/index";
import type { PendingUploadedFile } from "@liveagent/ui/lib/chat/uploadedFiles";
import { mergePendingUploadedFiles } from "@liveagent/ui/lib/chat/uploadedFiles";
import { cn } from "@liveagent/ui/lib/shared/utils";
import { ChatComposerBar } from "@liveagent/ui/pages/chat/ChatComposerBar";
import { FloorNavRail } from "@liveagent/ui/pages/chat/transcript/FloorNavRail";
import {
Expand Down Expand Up @@ -892,9 +893,10 @@ export function GatewayAppView({ viewModel }: { viewModel: GatewayAppViewModel }

{settingsOpen ? (
<div
className={`gateway-settings-overlay ${
overlay === "open" ? "gateway-settings-overlay-open" : ""
}`}
className={cn(
"gateway-settings-overlay",
overlay === "open" ? "gateway-settings-overlay-open" : "",
)}
onTransitionEnd={handleSettingsTransitionEnd}
>
<SettingsPage
Expand Down
6 changes: 5 additions & 1 deletion crates/agent-gateway/web/src/app/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
DropdownMenuTrigger,
} from "@liveagent/ui/components/ui/dropdown-menu";
import { useLocale } from "@liveagent/ui/i18n/index";
import { cn } from "@liveagent/ui/lib/shared/utils";
import type { ReactNode } from "react";

type UserMenuProps = {
Expand Down Expand Up @@ -58,7 +59,10 @@ export function UserMenu(props: UserMenuProps) {
<span className="relative flex h-6 w-6 items-center justify-center rounded-full bg-gradient-to-br from-emerald-500/90 to-sky-500/90 text-[calc(11px*var(--zone-font-scale,1))] font-semibold text-white">
{userAvatarLabel || <User className="h-3.5 w-3.5" />}
<span
className={`absolute -bottom-1 -right-1 h-3 w-3 rounded-full shadow-sm ring-2 ring-background ${statusDotClass}`}
className={cn(
"absolute -bottom-1 -right-1 h-3 w-3 rounded-full shadow-sm ring-2 ring-background",
statusDotClass,
)}
>
<span className="sr-only">{statusLabel}</span>
</span>
Expand Down
Loading
Loading