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:
+4
-1
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user