Compare commits

...
4 changed files with 13 additions and 3 deletions

No files matched your search

@@ -530,7 +530,7 @@ function DashboardWidgets({widgetMetaDataList, tableName, entityPrimaryKey, reco
}
return (
<Box key={`${widgetMetaData.name}-${i}`} sx={{alignItems: "stretch", flexGrow: 1, display: "flex", marginTop: "0px", paddingTop: "0px", width: "100%", height: "100%", flexDirection: widgetMetaData.type == "multiTable" ? "column" : "row"}}>
<Box className="dashboardWidgetContainer" key={`${widgetMetaData.name}-${i}`} sx={{alignItems: "stretch", flexGrow: 1, display: "flex", marginTop: "0px", paddingTop: "0px", width: "100%", height: "100%", flexDirection: widgetMetaData.type == "multiTable" ? "column" : "row"}}>
{
haveLoadedParams && widgetMetaData.type === "parentWidget" && (
<ParentWidget
+1 -1
View File
@@ -800,7 +800,7 @@ function Widget(props: React.PropsWithChildren<Props>): JSX.Element
const errorLoading = props.widgetData?.errorLoading !== undefined && props.widgetData?.errorLoading === true;
const widgetContent =
<Box sx={{width: "100%", height: "100%", minHeight: props.widgetMetaData?.minHeight ? props.widgetMetaData?.minHeight : "initial"}}>
<Box className={collapsibleStateIsOpen ? "widgetIsNotCollapsed" : "widgetIsCollapsed"} sx={{width: "100%", height: collapsibleStateIsOpen ? "100%" : "auto", minHeight: props.widgetMetaData?.minHeight ? props.widgetMetaData?.minHeight : "initial"}}>
{
needLabelBox &&
<Box display="flex" justifyContent="space-between" alignItems="flex-start" sx={{width: "100%", ...props.labelBoxAdditionalSx}} minHeight={"2.5rem"} className="widgetLabelBox" {...moreHeaderProps}>
+10
View File
@@ -716,6 +716,16 @@ input[type="search"]::-webkit-search-results-decoration
padding: 24px;
}
/* Remove the height: 100% from the container above collapsed dashboard widgets.
The .widgetIsCollapsed is a 2-level deep descendant of .dashboardWidgetContainer
(and we don't want to find deeper levels, due to parent widgets maybe having an
inner child collapsed, which is why the '> * >' is used in the :has()).
Limit this to the record-view screen, until it's found to be wanted elsewhere. */
.recordView .dashboardWidgetContainer:has(> * > .widgetIsCollapsed)
{
height: auto;
}
.MuiPickersDay-root.Mui-selected, .MuiPickersDay-root.MuiPickersDay-dayWithMargin:hover
{
color: white;
+1 -1
View File
@@ -155,7 +155,7 @@ class FilterUtils
// DynamicFormFieldDefinition (dynamicField) and add possible value props to it. //
///////////////////////////////////////////////////////////////////////////////////
const dynamicField = DynamicFormUtils.getDynamicField(field);
DynamicFormUtils.addPossibleValuePropsToSingleField(dynamicField, field, tableMetaData.name, null, null);
DynamicFormUtils.addPossibleValuePropsToSingleField(dynamicField, field, fieldTable.name, null, null);
const displayValuesMap = await getDisplayValues(dynamicField, values);