feat(ui): Live marketplace, app detail drawer, and deployment controls by nfebe · Pull Request #77 · flatrun/ui · GitHub
Skip to content

feat(ui): Live marketplace, app detail drawer, and deployment controls#77

Merged
nfebe merged 6 commits into
mainfrom
enh/albacore/proxy-compose-lifecycle
Jun 30, 2026
Merged

feat(ui): Live marketplace, app detail drawer, and deployment controls#77
nfebe merged 6 commits into
mainfrom
enh/albacore/proxy-compose-lifecycle

Conversation

@nfebe

@nfebe nfebe commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Marketplace

  • Hardcoded sample apps replaced with the live catalog, fetched through the agent.
  • "Installed" reflects real deployments, not a hardcoded flag; installing deploys the selected template.
  • Compacted the cards and the banner.

Apps page

  • Clicking an app opens a drawer with its capabilities, endpoints, and declared settings.

Deployments (Albacore)

  • Rebuild and restart can force-recreate, rebuild without cache, and pull fresh.
  • Primary service settable from the services list.

Dark mode

  • Database search inputs rendered white in dark mode; fixed.

nfebe added 5 commits June 30, 2026 01:31
Deployment and service actions can now request a forced recreate, a no-cache
rebuild, or a fresh image pull, so updated environment variables and images
take effect without using the terminal. A deployment's primary service can be
set from the services list and is shown on each service.
The database search fields rendered with a white background in dark mode
because they set a border but no surface or text colour. They now follow the
theme tokens like the rest of the inputs.
The marketplace listed hardcoded sample apps, one of them falsely shown as
installed. It now loads the real catalog from the marketplace service, marks
an app installed only when a matching deployment exists, and installs by
deploying the chosen template. The app cards are smaller and consistent
between the marketplace and the installed-apps page, with loading, empty, and
error states, and the non-functional configure and uninstall actions are
removed.
The marketplace was blocked by the catalog service's cross-origin policy, so it
is now fetched through the agent's same-origin proxy and loads reliably. The
oversized marketplace banner is also trimmed to a compact strip.
Clicking an installed app opens a drawer with its capabilities, the endpoints it
exposes, and any settings it declares, so apps are inspectable instead of being
a flat list.
@sourceant

sourceant Bot commented Jun 30, 2026

Copy link
Copy Markdown

@sourceant sourceant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. No specific code suggestions were generated. See the overview comment for a summary.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploying flatrun-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 94ad6d7
Status: ✅  Deploy successful!
Preview URL: https://a0a9ed75.flatrun-ui.pages.dev
Branch Preview URL: https://enh-albacore-proxy-compose-l.flatrun-ui.pages.dev

View logs

@sourceant sourceant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. See the overview comment for a summary.


// Matched by slug, since installing defaults the deployment name to the slug.
function isInstalled(app: MarketplaceTemplate): boolean {
return deploymentsStore.deployments.some((d) => d.name === app.slug);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check d.name === app.slug assumes that the deployment name will always match the template slug. While this is the default in confirmInstall, users might change the name in the modal, leading to the 'Installed' badge not appearing for valid installations.

Suggested change

@nfebe nfebe merged commit f71d801 into main Jun 30, 2026
5 checks passed
@nfebe nfebe deleted the enh/albacore/proxy-compose-lifecycle branch June 30, 2026 15:03
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.

1 participant