Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(desktop): keep chat tabs equal width
Josuéb581f58ee167
diff --git a/desktop-app/ui/src/components/ChatTabs/ChatTabs.test.tsx b/desktop-app/ui/src/components/ChatTabs/ChatTabs.test.tsxindex 754923a8a..343c3bc2b 100644--- a/desktop-app/ui/src/components/ChatTabs/ChatTabs.test.tsx+++ b/desktop-app/ui/src/components/ChatTabs/ChatTabs.test.tsx@@ -61,6 +61,8 @@ describe('ChatTabs', () => {expect(styles).toMatch(/\.chat-view-tabs\s*\{[^}]*padding:\s*var\(--space-2\) 0 0;/s)expect(styles).toMatch(/\.chat-view-tabs__scroller\s*\{[^}]*width:\s*100%;/s)expect(styles).toMatch(/\.chat-view-tabs__list\s*\{[^}]*width:\s*max-content;/s)+ expect(styles).toMatch(/\.chat-view-tab\s*\{[^}]*flex:\s*0 0 220px;/s)+ expect(styles).toMatch(/\.chat-view-tab\s*\{[^}]*width:\s*220px;/s)expect(styles).toMatch(/\.chat-view-tab__select\s*\{[^}]*flex:\s*1 1 auto;/s)expect(styles).toMatch(/\.chat-view-tab__label\s*\{[^}]*text-overflow:\s*ellipsis;/s)})diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.cssindex fffa08560..93199659b 100644--- a/desktop-app/ui/src/styles.css+++ b/desktop-app/ui/src/styles.css@@ -14988,10 +14988,10 @@ pre {border: 1px solid var(--border-soft);border-radius: var(--radius-sm) var(--radius-sm) 0 0;display: flex;- flex: 0 0 auto;- max-width: 220px;+ flex: 0 0 220px;min-width: 0;transition: background var(--motion-fast);+ width: 220px;}.chat-view-tab:not(.is-active) {diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.jsonindex 85e7d27fe..e9b2f3daa 100644--- a/profile-ui/package-lock.json+++ b/profile-ui/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-profile-ui",- "version": "0.1.123",+ "version": "0.1.124","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-profile-ui",- "version": "0.1.123",+ "version": "0.1.124","dependencies": {"@clerum/desktop-app-links": "file:../packages/desktop-app-links","next": "16.2.11",@@ -26,7 +26,10 @@},"../packages/desktop-app-links": {"name": "@clerum/desktop-app-links",- "version": "0.1.1"+ "version": "0.1.1",+ "devDependencies": {+ "fast-check": "^4.9.0"+ }},"node_modules/@acemir/cssom": {"version": "0.9.31",@@ -96,6 +99,7 @@"integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@babel/helper-validator-identifier": "^7.29.7","js-tokens": "^4.0.0",@@ -111,6 +115,7 @@"integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==","dev": true,"license": "MIT",+ "peer": true,"engines": {"node": ">=6.9.0"}@@ -230,7 +235,6 @@}],"license": "MIT",- "peer": true,"engines": {"node": ">=20.19.0"},@@ -279,7 +283,6 @@}],"license": "MIT",- "peer": true,"engines": {"node": ">=20.19.0"}@@ -1306,7 +1309,8 @@"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz","integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==","dev": true,- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/@types/chai": {"version": "5.2.3",@@ -1339,7 +1343,6 @@"integrity": "sha512-oH72nZRfDv9lADUBSo104Aq7gPHpQZc4BTx38r9xf9pg5LfP6EzSyH2n7qFmmxRQXh7YlUXODcYsg6PuTDSxGg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"undici-types": "~7.16.0"}@@ -1357,7 +1360,6 @@"integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@types/prop-types": "*","csstype": "^3.2.2"@@ -1369,7 +1371,6 @@"integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==","dev": true,"license": "MIT",- "peer": true,"peerDependencies": {"@types/react": "^18.0.0"}@@ -1503,6 +1504,7 @@"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==","dev": true,"license": "MIT",+ "peer": true,"engines": {"node": ">=8"}@@ -1513,6 +1515,7 @@"integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==","dev": true,"license": "MIT",+ "peer": true,"engines": {"node": ">=10"},@@ -1713,7 +1716,8 @@"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz","integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==","dev": true,- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/entities": {"version": "8.0.0",@@ -1858,7 +1862,6 @@"integrity": "sha512-0+MoQNYyr2rBHqO1xilltfDjV9G7ymYGlAUazgcDLQaUf8JDHbuGwsxN6U9qWaElZ4w1B2r7yEGIL3GdeW3Rug==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@acemir/cssom": "^0.9.31","@asamuzakjp/dom-selector": "^6.8.1",@@ -2183,6 +2186,7 @@"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==","dev": true,"license": "MIT",+ "peer": true,"bin": {"lz-string": "bin/bin.js"}@@ -2338,7 +2342,6 @@"integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=12"},@@ -2380,6 +2383,7 @@"integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"ansi-regex": "^5.0.1","ansi-styles": "^5.0.0",@@ -2404,7 +2408,6 @@"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz","integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==","license": "MIT",- "peer": true,"dependencies": {"loose-envify": "^1.1.0"},@@ -2417,7 +2420,6 @@"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz","integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==","license": "MIT",- "peer": true,"dependencies": {"loose-envify": "^1.1.0","scheduler": "^0.23.2"@@ -2431,7 +2433,8 @@"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz","integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==","dev": true,- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/redent": {"version": "3.0.0",@@ -2781,7 +2784,6 @@"integrity": "sha512-pn+CFpM0lwDeKwmOq1ZaBK/9sjorZcgqxki6MbY/jPEVd9vichIlmlD4HmQ5wdP5EgqQCFRaACBxMC7uEGc6lQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"lightningcss": "^1.33.0","picomatch": "^4.0.5",diff --git a/profile-ui/package.json b/profile-ui/package.jsonindex ca7d3d5e9..003dda1d0 100644--- a/profile-ui/package.json+++ b/profile-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-profile-ui",- "version": "0.1.123",+ "version": "0.1.124","private": true,"scripts": {"dev": "next dev",