Use record page layouts in the merge records feature (#18961)

There was a design issue. It revealed that we weren't using record page
layouts in the merge records feature.

## Before

<img width="802" height="1283" alt="image"
src="https://github.com/user-attachments/assets/e4238144-e10e-47a6-83e6-7cc03ca89b15"
/>

## After


https://github.com/user-attachments/assets/c0fa9cf5-2b28-4696-bf20-8271dce9e62c
This commit is contained in:
Baptiste Devessier
2026-03-26 10:54:33 +01:00
committed by GitHub
parent d126d54bbc
commit cfefe9273b
11 changed files with 151 additions and 213 deletions
@@ -1,7 +0,0 @@
import { type CardConfiguration } from '@/object-record/record-show/types/CardConfiguration';
import { type CardType } from '@/object-record/record-show/types/CardType';
export type LayoutCard = {
type: CardType;
configuration?: CardConfiguration;
};
@@ -1,4 +1,3 @@
import { type LayoutCard } from '@/ui/layout/tab-list/types/LayoutCard';
import { type IconComponent } from 'twenty-ui/display';
export type SingleTabProps<T extends string = string> = {
@@ -8,6 +7,5 @@ export type SingleTabProps<T extends string = string> = {
hide?: boolean;
disabled?: boolean;
pill?: string | React.ReactElement;
cards?: LayoutCard[];
logo?: string;
};