Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore(web): improve agents roster accessibility (SNP-893) (#43140)
Joel20d9f15933b8
diff --git a/web/app/components/main-nav/layout.tsx b/web/app/components/main-nav/layout.tsxindex 00e3dd7bcc4..0a6a0950e9c 100644--- a/web/app/components/main-nav/layout.tsx+++ b/web/app/components/main-nav/layout.tsx@@ -55,7 +55,9 @@ const MainNavLayout = ({const pathname = usePathname()const isCurrentWorkspaceDatasetOperator = useAtomValue(isCurrentWorkspaceDatasetOperatorAtom)const useResponsiveNavigation =- pathname === '/datasets/create' || pathname.startsWith('/integrations/')+ pathname === '/agents' ||+ pathname === '/datasets/create' ||+ pathname.startsWith('/integrations/')const hideMainNavigation = shouldHideMainNavigation(pathname)const useDetailSidebar = shouldUseDetailSidebar(pathname, {agentV2Enabled: isAgentV2Enabled(),diff --git a/web/features/agent-v2/roster/components/roster-toolbar.tsx b/web/features/agent-v2/roster/components/roster-toolbar.tsxindex 52d76aa662c..bd3a064e4f2 100644--- a/web/features/agent-v2/roster/components/roster-toolbar.tsx+++ b/web/features/agent-v2/roster/components/roster-toolbar.tsx@@ -78,7 +78,7 @@ function RosterSearchFilter() {return (<SearchInputaria-label={t(($) => $['roster.searchLabel'], { ns: 'agentRoster' })}- className="h-8 w-50 min-w-0 shrink"+ className="h-8 w-full min-w-0 sm:w-50 [&_button]:text-text-secondary [&_input::placeholder]:text-text-secondary"placeholder={t(($) => $['roster.searchPlaceholder'], { ns: 'agentRoster' })}value={keyword}onValueChange={(value) => {@@ -112,14 +112,14 @@ function RosterCreatedByMeFilter() {export function RosterToolbar({ publicationCounts }: RosterToolbarProps) {return (- <div className="flex min-w-0 items-center gap-2">+ <div className="flex min-w-0 flex-wrap items-center gap-2"><RosterStatusFilter publicationCounts={publicationCounts} /><RosterSearchFilter />- <div className="flex h-4 shrink-0 px-1" aria-hidden="true">+ <div className="hidden h-4 shrink-0 px-1 sm:flex" aria-hidden="true"><div className="h-full w-px bg-divider-regular" /></div><RosterCreatedByMeFilter />- <div className="ml-auto flex shrink-0 items-center gap-2">+ <div className="ml-auto flex flex-wrap items-center justify-end gap-2"><RosterSortSelect /><RosterCreateMenu /></div>diff --git a/web/features/agent-v2/roster/page.tsx b/web/features/agent-v2/roster/page.tsxindex 37b48a1ff1a..733d6573bb0 100644--- a/web/features/agent-v2/roster/page.tsx+++ b/web/features/agent-v2/roster/page.tsx@@ -106,9 +106,9 @@ export default function RosterPage() {useDocumentTitle(pageTitle)return (- <div className="flex h-0 min-w-0 grow flex-col overflow-hidden bg-background-body">- <div className="shrink-0 bg-background-body px-8 pt-4 pb-2">- <div className="flex h-6 min-w-0 items-center justify-between gap-4">+ <div className="flex h-0 min-w-0 grow flex-col overflow-hidden bg-background-body max-md:overflow-y-auto">+ <div className="shrink-0 bg-background-body px-2 pt-4 pb-2 sm:px-8">+ <div className="flex h-6 min-w-0 items-center justify-between gap-2 sm:gap-4"><h1id={pageTitleId}className="min-w-0 flex-1 truncate text-[18px]/[21.6px] font-semibold text-text-primary"@@ -120,10 +120,13 @@ export default function RosterPage() {href={docLink('/use-dify/build/new-agent/overview')}target="_blank"rel="noreferrer"- className="hidden shrink-0 items-center gap-0.5 rounded-md system-xs-regular text-text-tertiary hover:text-text-secondary focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:outline-hidden sm:inline-flex"+ className="inline-flex size-6 shrink-0 items-center justify-center rounded-md system-xs-regular text-text-tertiary hover:text-text-secondary focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:outline-hidden sm:size-auto sm:gap-0.5">- {t(($) => $['roster.learnMore'], { ns: 'agentRoster' })}- <span aria-hidden className="i-ri-external-link-line size-3" />+ <span className="sr-only sm:not-sr-only">+ {t(($) => $['roster.learnMore'], { ns: 'agentRoster' })}+ </span>+ <span aria-hidden className="i-ri-book-open-line size-4 sm:hidden" />+ <span aria-hidden className="i-ri-external-link-line hidden size-3 sm:inline-block" /></a></div><div className="mt-3.5">@@ -131,7 +134,7 @@ export default function RosterPage() {</div></div>- <div className="min-h-0 flex-1">+ <div className="min-h-0 flex-1 max-md:min-h-64"><ScrollArea className="h-full min-h-0 min-w-0 overflow-hidden"><ScrollAreaViewportrole="region"@@ -140,7 +143,7 @@ export default function RosterPage() {style={{ overflowX: 'hidden' }}><ScrollAreaContent- className="min-h-full w-full max-w-full px-8 pt-2 pb-8"+ className="min-h-full w-full max-w-full px-2 pt-2 pb-8 sm:px-8"style={{ minWidth: 0 }}><AgentRosterList