Skip to content

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

TypeScript

fix(control-ui): point "Install Plugin" at the org Entries tab, not the API Keys redirect

Andy Paviacb01450c1210
diff --git a/control-ui/app/workflow-recipes/page.tsx b/control-ui/app/workflow-recipes/page.tsx
index 431949d80..4b67a6aed 100644
--- a/control-ui/app/workflow-recipes/page.tsx
+++ b/control-ui/app/workflow-recipes/page.tsx
@@ -69,7 +69,7 @@ function WorkflowRecipesPageContent() {
items={recipes}
loading={loading}
error={surfaceError}
- onInstall={() => router.push(CONTROL_ROUTES.marketplace.org)}
+ onInstall={() => router.push(CONTROL_ROUTES.marketplace.orgEntries)}
onRefresh={refresh}
/>
</DashboardLayout>
diff --git a/control-ui/components/PluginsEmptyState.tsx b/control-ui/components/PluginsEmptyState.tsx
index 1dbbaa9c7..12ae5bfbb 100644
--- a/control-ui/components/PluginsEmptyState.tsx
+++ b/control-ui/components/PluginsEmptyState.tsx
@@ -72,7 +72,7 @@ export function PluginsEmptyState() {
)}
{setup.hasKeys === true ? ' and already has API keys' : ''}. Publish a plugin, then
install it across your cluster with{' '}
- <a className="cu-link" href={CONTROL_ROUTES.marketplace.org}>
+ <a className="cu-link" href={CONTROL_ROUTES.marketplace.orgEntries}>
Install Plugin
</a>
.
diff --git a/control-ui/components/__tests__/PluginsEmptyState.test.tsx b/control-ui/components/__tests__/PluginsEmptyState.test.tsx
index 89abad271..1548c8672 100644
--- a/control-ui/components/__tests__/PluginsEmptyState.test.tsx
+++ b/control-ui/components/__tests__/PluginsEmptyState.test.tsx
@@ -57,10 +57,11 @@ describe('PluginsEmptyState', () => {
'href',
'/marketplace/org/entries'
)
- // "Install Plugin" is a link to the org area.
+ // "Install Plugin" links to the org's Entries tab (install owned plugins),
+ // not /marketplace/org, which redirects to the API Keys tab.
expect(screen.getByRole('link', { name: 'Install Plugin' })).toHaveAttribute(
'href',
- '/marketplace/org'
+ '/marketplace/org/entries'
)
// No setup walkthrough for an already-configured org.
expect(screen.queryByText(/name your organization/i)).toBeNull()
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 1c9c3f72d..216d316ea 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.373",
+ "version": "0.1.374",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.373",
+ "version": "0.1.374",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index 8c909bb70..25fc3932b 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.373",
+ "version": "0.1.374",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",