Skip to content

fix(excalidraw): render the app icon with the fill type it exists in - #593

Merged
tammi-23 merged 2 commits into
mainfrom
fix/excalidraw-icon
Oct 6, 2026
Merged

tammi-23 merged 2 commits into
mainfrom
fix/excalidraw-icon

Conversation

@tammi-23

@tammi-23 tammi-23 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Description

The Excalidraw app shows no icon in the "Open with..." menu and in the apps list of the admin settings. Its icon resource-type-graphic only exists as a fill variant in the design system, while app icons are rendered as line by default.

This sets iconFillType: 'fill' on the app info, so the existing icon is rendered with the variant it exists in. "Open with..." falls back to the app's fill type when the file extension doesn't define one. appInfo is now typed as ApplicationInformation, otherwise the literal 'fill' is widened to string and doesn't type-check.

Note: ApplicationInformation.iconFillType is marked as deprecated in favour of the file extension level property. The file extension level property, however, isn't used for the apps list, so the app level one is the only place that covers both.

Related Issue

How Has This Been Tested?

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@tammi-23
tammi-23 merged commit 5913736 into main Oct 6, 2026
5 checks passed
@tammi-23
tammi-23 deleted the fix/excalidraw-icon branch October 6, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants