Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(control-ui): remove outputs icon border

Miguelon Peluchon297c920298cb
diff --git a/control-ui/components/Sidebar/icons.tsx b/control-ui/components/Sidebar/icons.tsx
index 03a86f0f1..4499ea849 100644
--- a/control-ui/components/Sidebar/icons.tsx
+++ b/control-ui/components/Sidebar/icons.tsx
@@ -67,15 +67,13 @@ export function IconOutputs() {
width="18"
height="18"
viewBox="0 0 24 24"
- fill="none"
+ fill="currentColor"
stroke="currentColor"
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
+ strokeWidth="0"
+ aria-hidden="true"
+ data-solid="true"
>
- <path d="M3 16V8" />
- <path d="M7 12h14" />
- <path d="m17 8 4 4-4 4" />
+ <path d="m17 17 5-5-5-5-1.41 1.41L18.17 11H9v2h9.17l-2.58 2.59z" />
</svg>
)
}
diff --git a/control-ui/components/__tests__/Sidebar.test.tsx b/control-ui/components/__tests__/Sidebar.test.tsx
index 58e61b8da..95032d585 100644
--- a/control-ui/components/__tests__/Sidebar.test.tsx
+++ b/control-ui/components/__tests__/Sidebar.test.tsx
@@ -133,6 +133,23 @@ describe('Sidebar publisher gating', () => {
}
})
+ it('uses a borderless solid output arrow for Agent Outputs', () => {
+ vi.mocked(hook.usePublishScope).mockReturnValue(
+ publishScopeState({ scope: null, loading: false, error: false })
+ )
+ render(<Sidebar currentTab="directories" />)
+
+ const agentOutputs = screen.getByRole('link', { name: 'Agent Outputs' })
+ const icon = agentOutputs.querySelector('.cu-sidebar__subitem-icon svg')
+ expect(icon).toHaveAttribute('data-solid', 'true')
+ expect(icon).toHaveAttribute('stroke-width', '0')
+ expect(icon?.querySelectorAll('path')).toHaveLength(1)
+ expect(icon?.querySelector('path')).toHaveAttribute(
+ 'd',
+ 'm17 17 5-5-5-5-1.41 1.41L18.17 11H9v2h9.17l-2.58 2.59z'
+ )
+ })
+
it('renders an icon for the Files group', () => {
vi.mocked(hook.usePublishScope).mockReturnValue(
publishScopeState({ scope: null, loading: false, error: false })
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 17c73022c..22ebfb978 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.456",
+ "version": "0.1.457",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.456",
+ "version": "0.1.457",
"dependencies": {
"@clerum/display-field": "file:../packages/display-field",
"@clerum/llm-providers": "file:../packages/llm-providers",
diff --git a/control-ui/package.json b/control-ui/package.json
index baf02e9fd..2c1ef70e0 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.456",
+ "version": "0.1.457",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",