Implement full tab widget frontend (#19568)

https://github.com/user-attachments/assets/488e0145-ff49-4205-8fd3-0eb4f614c054
This commit is contained in:
Baptiste Devessier
2026-04-13 15:24:20 +02:00
committed by GitHub
parent 8425afd930
commit 6829fc315a
22 changed files with 601 additions and 192 deletions
@@ -16,6 +16,7 @@ import {
type IconComponent,
} from 'twenty-ui/display';
import { ThemeContext } from 'twenty-ui/theme-constants';
import { PageLayoutTabLayoutMode } from '~/generated-metadata/graphql';
type PageLayoutHeaderInfo = {
headerIcon: IconComponent | undefined;
@@ -65,10 +66,12 @@ export const usePageLayoutHeaderInfo = ({
? tab.title
: '';
const isCanvasTab = tab.layoutMode === PageLayoutTabLayoutMode.CANVAS;
return {
headerIcon: IconAppWindow,
headerIconColor: iconColor,
headerType: t`Tab`,
headerType: isCanvasTab ? t`Full tab widget` : t`Tab`,
title,
isReadonly: false,
tab,