Add personal dashboard flow and per-component website selection
Some checks are pending
Node.js CI / build (push) Waiting to run

This introduces a user-scoped dashboard with board-style view/edit pages while keeping it unavailable in team context, and moves website targeting to component config so dashboard components can each select their own website.
This commit is contained in:
Mike Cao 2026-02-13 11:48:15 -08:00
parent 2633697585
commit 631cc46f7f
73 changed files with 418 additions and 88 deletions

View file

@ -24,7 +24,7 @@ export function WebsiteSelect({
includeTeams?: boolean;
isCollapsed?: boolean;
} & SelectProps) {
const { t, messages } = useMessages();
const { t, labels, messages } = useMessages();
const { data: website } = useWebsiteQuery(websiteId);
const [name, setName] = useState<string>(website?.name);
const [search, setSearch] = useState('');
@ -57,12 +57,16 @@ export function WebsiteSelect({
return '';
}
const value = name || props.placeholder || t(labels.selectWebsite);
return (
<Row alignItems="center" gap>
<Icon>
<Globe />
</Icon>
<Text truncate>{name}</Text>
<Text truncate color={name ? undefined : 'muted'}>
{value}
</Text>
</Row>
);
};