diff --git a/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process initially clean should import JSON and save #0.png b/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process initially clean should import JSON and save #0.png index e2d7e77af67..1269e8a68a9 100644 Binary files a/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process initially clean should import JSON and save #0.png and b/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process initially clean should import JSON and save #0.png differ diff --git a/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process with data should have counts button and modal #0.png b/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process with data should have counts button and modal #0.png index 00245480d22..4b04dc304a6 100644 Binary files a/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process with data should have counts button and modal #0.png and b/designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Process with data should have counts button and modal #0.png differ diff --git a/designer/client/src/components/toolbarComponents/toolbarButtons/ToolbarButton.tsx b/designer/client/src/components/toolbarComponents/toolbarButtons/ToolbarButton.tsx index a5e66933650..8837a6eebc2 100644 --- a/designer/client/src/components/toolbarComponents/toolbarButtons/ToolbarButton.tsx +++ b/designer/client/src/components/toolbarComponents/toolbarButtons/ToolbarButton.tsx @@ -2,7 +2,7 @@ import { css, cx } from "@emotion/css"; import { Typography, useTheme } from "@mui/material"; import React, { useContext } from "react"; import Dropzone from "react-dropzone"; -import { PANEL_BUTTON_FONT_SIZE, PANEL_BUTTON_SIZE, PANEL_BUTTON_SMALL_SIZE } from "../../../stylesheets/variables"; +import { PANEL_BUTTON_SIZE, PANEL_BUTTON_SMALL_SIZE } from "../../../stylesheets/variables"; import { NodeInput } from "../../withFocus"; import { ButtonsVariant, ToolbarButtonProps, ToolbarButtonsContext } from "./index"; import { Icon } from "./ToolbarButtonStyled"; @@ -30,9 +30,8 @@ export const ToolbarButton = React.forwardRef {icon} - + {name} diff --git a/designer/client/src/stylesheets/variables.ts b/designer/client/src/stylesheets/variables.ts index 6d97a16b627..f01ac5a192a 100644 --- a/designer/client/src/stylesheets/variables.ts +++ b/designer/client/src/stylesheets/variables.ts @@ -3,7 +3,6 @@ const SCROLL_THUMB_SIZE = 8; export const SIDEBAR_WIDTH = 288; export const PANEL_WIDTH = SIDEBAR_WIDTH + SCROLL_THUMB_SIZE; export const PANEL_BUTTON_SIZE = SIDEBAR_WIDTH / 4; -export const PANEL_BUTTON_FONT_SIZE = "11px"; export const PANEL_BUTTON_SMALL_SIZE = SIDEBAR_WIDTH / 6; export const MODAL_HEADER_HEIGHT = 30; diff --git a/designer/server/src/main/resources/defaultDesignerConfig.conf b/designer/server/src/main/resources/defaultDesignerConfig.conf index c13cf458ef7..b224ed8c927 100644 --- a/designer/server/src/main/resources/defaultDesignerConfig.conf +++ b/designer/server/src/main/resources/defaultDesignerConfig.conf @@ -176,9 +176,9 @@ processToolbarConfig { buttons: [ { type: "generate-and-test", disabled: { archived: true }, hidden: { fragment: true } } { type: "test-with-form", disabled: { archived: true } } + { type: "test-counts" } { type: "test-from-file", disabled: { archived: true }, hidden: { fragment: true } } { type: "test-generate", disabled: { archived: true }, hidden: { fragment: true } } - { type: "test-counts" } { type: "test-hide" } ] } diff --git a/designer/submodules/packages/components/src/scenarios/list/itemsList.tsx b/designer/submodules/packages/components/src/scenarios/list/itemsList.tsx index 78bfc7f0778..4b8a302eabb 100644 --- a/designer/submodules/packages/components/src/scenarios/list/itemsList.tsx +++ b/designer/submodules/packages/components/src/scenarios/list/itemsList.tsx @@ -24,7 +24,11 @@ const ListRowContent = React.memo(function ListRowContent({ row }: { row: RowTyp - } secondary={} /> + } + secondary={} + secondaryTypographyProps={{ component: "span" }} + /> ); }); diff --git a/docs/Changelog.md b/docs/Changelog.md index 73c865301f4..fb323ce1005 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -17,6 +17,7 @@ * [#5873](https://github.com/TouK/nussknacker/pull/5873) Handle list of the anonymous statistic URLs, and send them in the interval * [#5889](https://github.com/TouK/nussknacker/pull/5889) Decision Table component parameters validation improvement * [#5898](https://github.com/TouK/nussknacker/pull/5898) fixed Nu runtime memory leak +* [#5887](https://github.com/TouK/nussknacker/pull/5887) Fix toolbar icon styles when multiline text 1.14.0 (21 Mar 2024) ------------------------- diff --git a/docs/MigrationGuide.md b/docs/MigrationGuide.md index f53fbd1c37d..94026dc5370 100644 --- a/docs/MigrationGuide.md +++ b/docs/MigrationGuide.md @@ -57,6 +57,7 @@ To see the biggest differences please consult the [changelog](Changelog.md). * If you previously specified base component jar explicitly in `modelConfig.classPath` as `components/flink/flinkBase.jar` and want to retain the unbounded specific components you need to add `components/flink/flinkBaseUnbounded.jar` explicitly. + * [#5887](https://github.com/TouK/nussknacker/pull/5887) When using a custom DesignerConfig, ensure that long text elements like 'generate file' are positioned in the last row to prevent excessive spacing between elements. ### Other changes