shouldIncludeRecordPageLayouts deprecation (#19774)

## Context
Deprecating shouldIncludeRecordPageLayouts in preparation for page
layout release.

See new workspace with standard page layout from standard app
<img width="570" height="682" alt="Screenshot 2026-04-16 at 18 35 23"
src="https://github.com/user-attachments/assets/bf7fa621-d40d-4c29-8d96-537c58b3eb40"
/>
This commit is contained in:
Weiko
2026-04-17 13:32:10 +02:00
committed by GitHub
parent 76ea0f37ed
commit 5cd8b7899d
19 changed files with 31 additions and 108 deletions
@@ -67,6 +67,9 @@ export const WidgetCardShell = ({
}: WidgetCardShellProps) => {
const { theme } = useContext(ThemeContext);
const dataTestId =
widget.type === WidgetType.FIELDS ? 'record-fields-widget' : widget.id;
return (
<WidgetComponentInstanceContext.Provider value={{ instanceId: widget.id }}>
<WidgetCard
@@ -81,7 +84,7 @@ export const WidgetCardShell = ({
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
data-widget-id={widget.id}
data-testid={widget.id}
data-testid={dataTestId}
className="widget"
>
{showHeader && (