Unify workspace dropdowns; Update layouts (#458)

Unified Account and Workspace drop-downs; Layout updates, now header lives within the PageBody component; Sidebars now use floating variant
This commit is contained in:
Giancarlo Buomprisco
2026-03-11 14:45:42 +08:00
committed by GitHub
parent ca585e09be
commit 4bc8448a1d
530 changed files with 14398 additions and 11198 deletions

View File

@@ -295,7 +295,7 @@ export function DataTable<RecordData extends DataItem>({
return (
<div className="flex h-full flex-1 flex-col">
<Table
data-testid="data-table"
data-testidid="data-table"
{...tableProps}
className={cn(
'bg-background border-collapse border-spacing-0',
@@ -493,7 +493,7 @@ export function DataTable<RecordData extends DataItem>({
<If condition={rows.length === 0}>
<div className={'flex flex-1 flex-col items-center p-8'}>
<span className="text-muted-foreground text-center text-sm">
{noResultsMessage || <Trans i18nKey={'common:noData'} />}
{noResultsMessage || <Trans i18nKey={'common.noData'} />}
</span>
</div>
</If>
@@ -544,7 +544,7 @@ function Pagination<T>({
<div className="flex items-center space-x-4">
<span className="text-muted-foreground flex items-center text-xs">
<Trans
i18nKey={'common:pageOfPages'}
i18nKey={'common.pageOfPages'}
values={{
page: currentPageIndex + 1,
total: table.getPageCount(),