Skip to content

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

TypeScript

fix(control-ui): size files sidebar icon

Miguelon Peluchonc55d80d09874
diff --git a/control-ui/components/Sidebar/icons.tsx b/control-ui/components/Sidebar/icons.tsx
index b65eef54c..03a86f0f1 100644
--- a/control-ui/components/Sidebar/icons.tsx
+++ b/control-ui/components/Sidebar/icons.tsx
@@ -99,6 +99,8 @@ export function IconRobot() {
export function IconFolder() {
return (
<svg
+ width="18"
+ height="18"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
diff --git a/control-ui/components/__tests__/Sidebar.test.tsx b/control-ui/components/__tests__/Sidebar.test.tsx
index bad45e003..58e61b8da 100644
--- a/control-ui/components/__tests__/Sidebar.test.tsx
+++ b/control-ui/components/__tests__/Sidebar.test.tsx
@@ -140,7 +140,15 @@ describe('Sidebar publisher gating', () => {
render(<Sidebar currentTab="directories" />)
const directories = screen.getByRole('button', { name: 'Files' })
- expect(directories.querySelector('.cu-sidebar__icon svg')).toBeInTheDocument()
+ const icon = directories.querySelector('.cu-sidebar__icon svg')
+ expect(icon).toBeInTheDocument()
+ expect(icon).toHaveAttribute('width', '18')
+ expect(icon).toHaveAttribute('height', '18')
+ expect(icon).toHaveAttribute('viewBox', '0 0 512 512')
+ expect(icon?.querySelector('path')).toHaveAttribute(
+ 'd',
+ 'M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z'
+ )
})
it('hides Agent Files from the sidebar without changing its route', () => {
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index fe4130736..17c73022c 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.455",
+ "version": "0.1.456",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.455",
+ "version": "0.1.456",
"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 f717e25df..baf02e9fd 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.455",
+ "version": "0.1.456",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",