Skip to content

fix(dashboard): show ConnectionCard for non-catalog internal projects - #507

Merged
Hydralerne merged 3 commits into
oblien:feat/bugfix-batch-2026-09-16from
santhiprakash:fix/connection-card-504
Sep 16, 2026
Merged

Hydralerne merged 3 commits into
oblien:feat/bugfix-batch-2026-09-16from
santhiprakash:fix/connection-card-504

Conversation

@santhiprakash

@santhiprakash santhiprakash commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Plain self-hosted apps had resolved internal connection outputs but no Overview path to use them in another project. The card now consumes the existing connection endpoint for non-catalog self-hosted projects as well as catalog apps.

The backend determines which outputs exist; empty views stay hidden, and a static parent can still expose a reachable attached service. Synthesized Docker-network addresses remain excluded for cloud projects. No second address resolver or connection workflow is introduced.

Five React cases exercise discovery, opening the existing handover, catalog compatibility, empty outputs, attached services and the cloud boundary. The relevant cases fail on current main; dashboard TypeScript passes. The original contributor commit is retained and updated to the current workload model.

Fixes #504.

The ConnectionCard was only rendered for catalog apps (projectData.isApp),
so plain single-app / Compose / monorepo projects had no UI path to create
internal connections even though GET /api/projects/:id/app-connection
already synthesizes http://<alias>:<port> outputs for them.

Now the card mounts for:
- catalog apps (their curated URLs + generated keys), or
- any other project with a listening runtime that is not cloud-deployed
  (so static apps and cloud sources, which cannot be linked internally,
  are still excluded).

ConnectionCard already self-hides when the view has no outputs, so
projects that produce nothing reachable still render nothing.

Closes oblien#504

Co-Authored-By: Paperclip <[email protected]>
@Hydralerne Hydralerne closed this Aug 11, 2026
@Hydralerne Hydralerne reopened this Sep 16, 2026
@Hydralerne
Hydralerne changed the base branch from main to feat/bugfix-batch-2026-09-16 September 16, 2026 02:10
@Hydralerne
Hydralerne merged commit 74fe152 into oblien:feat/bugfix-batch-2026-09-16 Sep 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConnectionCard is hidden for non-catalog projects — "Use in a project" is unreachable for single-app/compose/monorepo sources

2 participants