integrations/platformExtras.tsx

markus · packages/web-ui/src/components/integrations/platformExtras.tsx · typescript · Apache-2.0
ui, UI / Frontend

Registry of platform-specific UI extras for a web app, mapping platform IDs to components.

// Source: https://github.com/markus-global/markus | License: Apache-2.0 | Copyright 2026 Markus Contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Front-end extras registry — the *opt-in* richer panel a platform can add.
 *
 * The manifest is pure data serialised over HTTP, so it cannot carry a React
 * render function. The extras slot therefore lives here, keyed by platform id:
 * a platform with an entry gets its extra panel, a platform without one gets
 * the plain generic card and nothing else.
 */
import type { PlatformExtras } from '../../lib/platformIntegrations.ts';
import { FeishuExtras, FeishuTestMessage } from './FeishuExtras.tsx';

export const PLATFORM_EXTRAS: Record<string, PlatformExtras> = {
  feishu: {
    // This panel is only what a pla

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key