From aefba5abca00697b5e8d1b8f16d6822337f8d54a Mon Sep 17 00:00:00 2001 From: Lorenzo Corallo Date: Thu, 1 Oct 2026 01:51:03 +0200 Subject: [PATCH] feat: add a quick link to open each application from the list Apps with a homepage URL get an external-link button in the applications list. The row now uses a stretched link so the button isn't nested inside it. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/routes/applications/index.tsx | 89 ++++++++++++++++++++----------- 1 file changed, 57 insertions(+), 32 deletions(-) diff --git a/src/routes/applications/index.tsx b/src/routes/applications/index.tsx index afbc011..06f7a70 100644 --- a/src/routes/applications/index.tsx +++ b/src/routes/applications/index.tsx @@ -1,6 +1,6 @@ import { createFileRoute, Link } from "@tanstack/react-router"; import { useEffect, useState } from "react"; -import { AppWindow, ChevronRight, Plus, Users } from "lucide-react"; +import { AppWindow, ChevronRight, ExternalLink, Plus, Users } from "lucide-react"; import type { OidcClientSummary } from "@/auth/oidc-clients"; import { CopyButton } from "@/components/copy-button"; import { useIdpAccessContext } from "@/components/idp-access"; @@ -181,38 +181,63 @@ function ApplicationsIndex() {
    {clients.map((client) => ( -
  • - - -
    -
    -

    {client.name}

    - -
    -

    - {client.clientId} -

    +
  • + +
    +
    +

    + + {client.name} + +

    +
    -
    -
    -
    +
    +
    + {client.uri && ( + // Sits above the row's stretched link so it opens the app, not its settings. + + )} +
  • ))}