feat(server): import application logo into file storage at install (#22437)

Installed apps stored the logo as the manifest's relative path but never
imported the file, so the public-assets URL 404'd and logos went missing
in the UI for npm/tarball sources. Import the logo (best-effort — a
declared but unshipped logo is skipped, not fatal) and record it as a
first-class logoFileId on the application so it can be served reliably.



<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/22437?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
This commit is contained in:
martmull
2026-07-03 11:47:58 +02:00
committed by GitHub
parent 20f2e33702
commit af1b89c788
12 changed files with 144 additions and 9 deletions
@@ -21,6 +21,7 @@ const MOCK_FLAT_APPLICATION: FlatApplication = {
name: 'Workspace Custom Application',
description: null,
logo: null,
logoFileId: null,
version: null,
workspaceId: 'workspace-id',
sourceType: ApplicationRegistrationSourceType.LOCAL,