Repository navigation
Show app and template logos in My connections and the catalogs - #257
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | 56772a8 | Nov 21 2026, 10:24 AM |
My connections, the app catalog and the template catalog show the same favicon the app list shows. Members may read the icon of an app the catalog or My connections lists for them, so the endpoint also admits apps of their organization that are listed in the catalog or export a UserConnection entrypoint. Templates have no deployment yet, so a new endpoint serves a template's favicon from the static assets its wrangler.jsonc declares on the main branch. Browsers cache it for an hour. App icon URLs name the active deployment, so a response for that deployment is cached as immutable. Other icon requests revalidate.
tnkuehne
force-pushed
the
feat/connector-logos
branch
from
November 21, 2026 10:23
8508d37 to
56772a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
My connections, the app catalog and the template catalog show names only. The app list already shows an app's favicon from its deployed assets, but:
cache-control: no-store, so every page view requested every icon again.Change
One icon component everywhere.
IconImageis shared byAppIconand the newTemplateIcon. It shows a neutral icon until the image loads or when there is none. My connections, the app catalog, the template list and the template page use it.Icon access for members.
/apps/{appId}/iconalso serves apps of the member's organization that the catalog lists or that exportUserConnection. These are exactly the apps the catalog and My connections show them. The catalog and My connections entries carryactiveDeploymentIdto build the icon URL.Template icons.
/catalog/templates/{templateId}/iconreads the static asset directory from the template'swrangler.jsonconmain. It returns the first favicon path the app list also recognizes, with the same size limit and security headers. The browser gets it from the control plane, never from GitHub directly.Caching.
?deployment=, as the UI does) isprivate, max-age=31536000, immutable; a new deployment changes the URL. Other app icon requests revalidate.mainwithout a version in the URL.no-storedefault now applies only where a route sets no policy.The OpenAPI description covers both icon endpoints.
Screenshots
Synthetic fixtures: three connectors with the template favicons from the previous PR and one app without a favicon. Rendered from
mainand this branch with the same data. Unchecked: the template icon while GitHub is unavailable; it falls back to the neutral icon like a missing one.My connections
App catalog
Template catalog
Template page
Tests
UserConnection. A member without either still gets 404.activeDeploymentId; the CLI test covers the new field inmy-connections list.pnpm check, all unit and integration tests, and the CLI connection test (RUN_CLI_TESTS=1).

Confidence Score: 5/5
The PR appears safe to merge; all previous findings are addressed and no new blocking issues were found.Summary
Adds shared app and template icons to My connections and the catalogs.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart LR A[My connections and app catalog] --> B[AppIcon] C[Template list and page] --> D[TemplateIcon] B --> E[IconImage] D --> E E --> F[Authenticated icon endpoint] F --> G[Active app assets] F --> H[Template assets on GitHub] E --> I[Neutral icon while loading or after failure]Reviews (2) · Last reviewed commit: "Read JSON-configured template icons and ..." · Reviewed by Greptile