Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(gfs): solid fa-folder renders correctly across all GFS rows
Miguelon Peluchon7a6b979a48f0
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.cssindex a2e1bc252..40a7e42f9 100644--- a/control-ui/app/globals.css+++ b/control-ui/app/globals.css@@ -10953,8 +10953,8 @@ textarea.cu-input {.cu-gfs-panel__icon svg,.cu-gfs-list__icon svg,.cu-gfs-list__copy svg {- width: 1.1rem;- height: 1.1rem;+ width: 100%;+ height: 100%;fill: none;stroke: currentColor;stroke-width: 2;@@ -10962,6 +10962,18 @@ textarea.cu-input {stroke-linejoin: round;}+/* Allow the new solid SVG icons (folder, copy, …) to honour their+ inline fill="currentColor" / stroke-width="0" inside the GFS row+ + breadcrumb containers. The above rule defaults to outline-only;+ these selectors bring the solid filled glyphs back. */+.cu-gfs-breadcrumb__drive-icon svg[fill='currentColor'],+.cu-gfs-list__icon svg[fill='currentColor'],+.cu-gfs-list__copy svg[fill='currentColor'] {+ fill: currentColor;+ stroke: none;+ stroke-width: 0;+}+.cu-gfs__header h1 {margin: 0;}diff --git a/control-ui/components/Sidebar/icons.tsx b/control-ui/components/Sidebar/icons.tsxindex 451de80a9..585f512cb 100644--- a/control-ui/components/Sidebar/icons.tsx+++ b/control-ui/components/Sidebar/icons.tsx@@ -1,14 +1,13 @@import React from 'react'-export function IconCopy() {+export function IconCopy(props: React.SVGProps<SVGSVGElement>) {return (<svgxmlns="http://www.w3.org/2000/svg"- width="18"- height="18"viewBox="0 0 384 384"fill="currentColor"aria-hidden="true"+ {...props}><path d="M280 64H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h168c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM32 224c0-35.3 28.7-64 64-64h192c35.3 0 64 28.7 64 64v128c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V224zm128 48c-8.8 0-16 7.2-16 16 0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16 0-8.8-7.2-16-16-16H160z" /></svg>diff --git a/control-ui/components/__tests__/GfsBrowser.test.tsx b/control-ui/components/__tests__/GfsBrowser.test.tsxindex 2530f77f9..718767edf 100644--- a/control-ui/components/__tests__/GfsBrowser.test.tsx+++ b/control-ui/components/__tests__/GfsBrowser.test.tsx@@ -189,6 +189,22 @@ describe('GfsBrowser', () => {expect(resourceNamesInOrder).toEqual(['alpha', 'beta', 'apple.md', 'zebra.md'])})+ it('renders the solid Font Awesome folder glyph inside the directory row', async () => {+ mockApiGet.mockResolvedValueOnce({+ items: [child('alpha', 'directory', 1)],+ nextCursor: null,+ })+ renderBrowser()++ const list = await screen.findByRole('list', { name: 'Current folder resources' })+ const folderSvg = list.querySelector('.cu-gfs-list__icon svg')+ expect(folderSvg?.getAttribute('viewBox')).toBe('0 0 512 512')+ expect(folderSvg?.getAttribute('fill')).toBe('currentColor')+ expect(folderSvg?.getAttribute('stroke-width')).toBe('0')+ const path = folderSvg?.querySelector('path')+ expect(path?.getAttribute('d')).toContain('M464 128H272l-64-64H48C21.49 64')+ })+it('uses the paperclip header, labels the root as main, and ignores current-crumb clicks', async () => {mockApiGet.mockResolvedValueOnce({ items: [], nextCursor: null })renderBrowser()diff --git a/control-ui/package-lock.json b/control-ui/package-lock.jsonindex 7c0904573..dbd6b0ae6 100644--- a/control-ui/package-lock.json+++ b/control-ui/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-ui",- "version": "0.1.440",+ "version": "0.1.441","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-ui",- "version": "0.1.440",+ "version": "0.1.441","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.jsonindex 163a5a324..53b92ca59 100644--- a/control-ui/package.json+++ b/control-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-ui",- "version": "0.1.440",+ "version": "0.1.441","private": true,"scripts": {"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.cssindex aed6c1823..f867a727b 100644--- a/desktop-app/ui/src/styles.css+++ b/desktop-app/ui/src/styles.css@@ -13469,8 +13469,8 @@ pre {}.da-gfs-list__icon svg {- width: var(--space-4);- height: var(--space-4);+ width: 100%;+ height: 100%;}.da-gfs-list__identity {