panels/apps
Functions
AppIcon()
function AppIcon(props): Element;Defined in: panels/apps.tsx:87
The catalog icon, or the app's initial on a muted tile when the image does not load, so an unreachable image host never leaves the tile blank.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | { app: App; src: string; className?: string; } | The catalog entry whose icon is shown, the icon's URL from the catalog the modal reads, and the classes sizing it. |
props.app | App | - |
props.src | string | - |
props.className? | string | - |
Returns
Element
The icon image, or the fallback tile carrying the app's initial.
Apps()
function Apps(__namedParameters?): Element;Defined in: panels/apps.tsx:127
Renders the catalog grid, its search box, and the per-app detail view inside a dialog controlled by the parent.
The popup holds no fixed width: it spans the viewport on small screens and tracks 90% of it up to 72rem on larger ones, and the grid reflows between two and six columns to the width it is given. Its height is the viewport minus 2rem at each edge rather than content-capped: the scroll region sizes itself as a percentage of the popup, and a browser resolves that percentage only against a definite height, so a content-capped popup leaves the region the height of its content with nothing to scroll. The header stays outside the scroll region.
The catalog is fetched once per modal open, plus explicit Retry presses; a failure settles into the error view rather than refetching. The fetch is aborted after a timeout and on close or unmount.
Parameters
| Parameter | Type |
|---|---|
__namedParameters? | AppsProps |
Returns
Element