Skip to content

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

TypeScript

fix(profile-ui): correct desktop setup prompt r1-l2

Josué94b51dc3292b
diff --git a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
index ccbd02353..3cec178d9 100644
--- a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
+++ b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
@@ -78,7 +78,10 @@ describe('Profile Portal home desktop setup link', () => {
render(<Page />)
const setupLink = await screen.findByRole('link', { name: 'Set up Desktop App' })
+ const setupCopy = setupLink.closest('p')
+ expect(setupCopy).toHaveTextContent('Prefer the desktop app?')
+ expect(setupCopy).not.toHaveTextContent('instead')
expect(setupLink).toHaveAttribute(
'href',
'evenfire://desktop-environment?externalRestApiBaseUrl=https%3A%2F%2Fapi.example.com&tenantName=Evenfire+Test'
diff --git a/profile-ui/app/page.tsx b/profile-ui/app/page.tsx
index c16333d44..dc0d14b7b 100644
--- a/profile-ui/app/page.tsx
+++ b/profile-ui/app/page.tsx
@@ -59,10 +59,10 @@ function HomeContent() {
</p>
) : (
<p className="body-copy">
+ Prefer the desktop app?{' '}
<a className="cu-home-desktop-link" href={desktopAppLink.href}>
Set up Desktop App <IconExternalLink />
- </a>{' '}
- instead
+ </a>
</p>
)}
</div>
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index ae4b15ce9..11c07fe18 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.147",
+ "version": "0.1.148",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.147",
+ "version": "0.1.148",
"dependencies": {
"@clerum/desktop-app-links": "file:../packages/desktop-app-links",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index b40c8dca6..01ce2fd98 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.147",
+ "version": "0.1.148",
"private": true,
"scripts": {
"dev": "next dev",