mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
- Add support for multiple share URLs per website with server-generated slugs - Create shares API endpoint for listing and creating website shares - Add SharesTable, ShareEditButton, ShareDeleteButton components - Move share management to website settings, remove header share button - Remove shareId from website update API (now uses separate share table) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
775 B
TypeScript
25 lines
775 B
TypeScript
import { Column } from '@umami/react-zen';
|
|
import { Panel } from '@/components/common/Panel';
|
|
import { WebsiteData } from './WebsiteData';
|
|
import { WebsiteEditForm } from './WebsiteEditForm';
|
|
import { WebsiteShareForm } from './WebsiteShareForm';
|
|
import { WebsiteTrackingCode } from './WebsiteTrackingCode';
|
|
|
|
export function WebsiteSettings({ websiteId }: { websiteId: string; openExternal?: boolean }) {
|
|
return (
|
|
<Column gap="6">
|
|
<Panel>
|
|
<WebsiteEditForm websiteId={websiteId} />
|
|
</Panel>
|
|
<Panel>
|
|
<WebsiteTrackingCode websiteId={websiteId} />
|
|
</Panel>
|
|
<Panel>
|
|
<WebsiteShareForm websiteId={websiteId} />
|
|
</Panel>
|
|
<Panel>
|
|
<WebsiteData websiteId={websiteId} />
|
|
</Panel>
|
|
</Column>
|
|
);
|
|
}
|