CnDashTileWidget
Registry-driven renderer for the tile dashboard widget type — a clickable card with an icon, title, and configurable colours that navigates by linkType (app → resolved Nextcloud route, url → external link in a new tab).
Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. Reads from BOTH the new inline content.{title, icon, …} shape AND the legacy flat placement.tile{Title,Icon,…} columns, so dashboards holding tiles created via the deprecated reusable-tile flow keep rendering without a migration step. Named CnDashTileWidget to avoid clobbering the library's quick-access CnTileWidget. See the widget library overview and docs/architecture/cards-and-widgets.md.
Reference
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
content | object | \{\} | Persisted widget content {title, icon, iconType, backgroundColor, textColor, linkType, linkValue}. | |
placement | object | \{\} | The full placement record — legacy fallback source for placement.tile* fields when content is empty. | |
isAdmin | boolean | false | Whether the current user is an admin (pairs with canEdit). | |
canEdit | boolean | false | Whether the surrounding dashboard shell is in edit mode. |