diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e16271476..958e0d3e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.6.19](https://github.com/nocobase/nocobase/compare/v1.6.18...v1.6.19) - 2025-04-14 + +### 🐛 Bug Fixes + +- **[client]** + - Fix the issue of preview images being obscured ([#6651](https://github.com/nocobase/nocobase/pull/6651)) by @zhangzhonghe + + - In the form block, the default value of the field configuration will first be displayed as the original variable string and then disappear ([#6649](https://github.com/nocobase/nocobase/pull/6649)) by @zhangzhonghe + +## [v1.6.18](https://github.com/nocobase/nocobase/compare/v1.6.17...v1.6.18) - 2025-04-11 + +### 🚀 Improvements + +- **[client]** + - Add default type fallback API for `Variable.Input` ([#6644](https://github.com/nocobase/nocobase/pull/6644)) by @mytharcher + + - Optimize prompts for unconfigured pages ([#6641](https://github.com/nocobase/nocobase/pull/6641)) by @zhangzhonghe + +- **[Workflow: Delay node]** Support to use variable for duration ([#6621](https://github.com/nocobase/nocobase/pull/6621)) by @mytharcher + +- **[Workflow: Custom action event]** Add refresh settings for trigger workflow button by @mytharcher + +### 🐛 Bug Fixes + +- **[client]** + - subtable description overlapping with add new button ([#6646](https://github.com/nocobase/nocobase/pull/6646)) by @katherinehhh + + - dashed underline caused by horizontal form layout in modal ([#6639](https://github.com/nocobase/nocobase/pull/6639)) by @katherinehhh + +- **[File storage: S3(Pro)]** Fix missing await for next call. by @jiannx + +- **[Email manager]** Fix missing await for next call. by @jiannx + ## [v1.6.17](https://github.com/nocobase/nocobase/compare/v1.6.16...v1.6.17) - 2025-04-09 ### 🚀 Improvements diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 8ab0be9a2f..933a774f55 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -5,6 +5,39 @@ 格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/), 并且本项目遵循 [语义化版本](https://semver.org/spec/v2.0.0.html)。 +## [v1.6.19](https://github.com/nocobase/nocobase/compare/v1.6.18...v1.6.19) - 2025-04-14 + +### 🐛 修复 + +- **[client]** + - 修复预览图片被遮挡的问题 ([#6651](https://github.com/nocobase/nocobase/pull/6651)) by @zhangzhonghe + + - 表单区块中,字段配置的默认值会先显示为原始变量字符串然后再消失 ([#6649](https://github.com/nocobase/nocobase/pull/6649)) by @zhangzhonghe + +## [v1.6.18](https://github.com/nocobase/nocobase/compare/v1.6.17...v1.6.18) - 2025-04-11 + +### 🚀 优化 + +- **[client]** + - 为 `Variable.Input` 组件增加默认退避类型的 API ([#6644](https://github.com/nocobase/nocobase/pull/6644)) by @mytharcher + + - 优化未配置页面时的提示 ([#6641](https://github.com/nocobase/nocobase/pull/6641)) by @zhangzhonghe + +- **[工作流:延时节点]** 支持延迟时间使用变量 ([#6621](https://github.com/nocobase/nocobase/pull/6621)) by @mytharcher + +- **[工作流:自定义操作事件]** 为触发工作流按钮增加刷新配置项 by @mytharcher + +### 🐛 修复 + +- **[client]** + - 子表格中描述信息与操作按钮遮挡 ([#6646](https://github.com/nocobase/nocobase/pull/6646)) by @katherinehhh + + - 弹窗表单在 horizontal 布局下初始宽度计算错误,导致出现提示和 下划虚线 ([#6639](https://github.com/nocobase/nocobase/pull/6639)) by @katherinehhh + +- **[文件存储:S3 (Pro)]** 修复next调用缺少await by @jiannx + +- **[邮件管理]** 修复next调用缺少await by @jiannx + ## [v1.6.17](https://github.com/nocobase/nocobase/compare/v1.6.16...v1.6.17) - 2025-04-09 ### 🚀 优化 diff --git a/packages/core/client/src/modules/blocks/filter-blocks/FilterCollectionField.tsx b/packages/core/client/src/modules/blocks/filter-blocks/FilterCollectionField.tsx index a3e45281d1..3a8d26d7ef 100644 --- a/packages/core/client/src/modules/blocks/filter-blocks/FilterCollectionField.tsx +++ b/packages/core/client/src/modules/blocks/filter-blocks/FilterCollectionField.tsx @@ -94,7 +94,11 @@ export const FilterCollectionFieldInternalField: React.FC = (props: Props) => { // @ts-ignore field.dataSource = uiSchema.enum; const originalProps = - compile({ ...(operator?.schema?.['x-component-props'] || {}), ...(uiSchema['x-component-props'] || {}) }) || {}; + compile({ + ...(operator?.schema?.['x-component-props'] || {}), + ...(uiSchema['x-component-props'] || {}), + ...(fieldSchema?.['x-component-props'] || {}), + }) || {}; field.componentProps = merge(field.componentProps || {}, originalProps, dynamicProps || {}); }, [uiSchemaOrigin]); diff --git a/packages/core/client/src/schema-component/antd/variable/RawTextArea.tsx b/packages/core/client/src/schema-component/antd/variable/RawTextArea.tsx index f37165bef8..f75c91e6d5 100644 --- a/packages/core/client/src/schema-component/antd/variable/RawTextArea.tsx +++ b/packages/core/client/src/schema-component/antd/variable/RawTextArea.tsx @@ -7,9 +7,9 @@ * For more information, please refer to: https://www.nocobase.com/agreement. */ -import React, { useRef, useState } from 'react'; import { css } from '@emotion/css'; import { Button, Input } from 'antd'; +import React, { useRef, useState } from 'react'; import { VariableSelect } from './VariableSelect'; // NOTE: https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js/46012210#46012210 @@ -80,6 +80,7 @@ export function RawTextArea(props): JSX.Element { setOptions={setOptions} onInsert={onInsert} changeOnSelect={changeOnSelect} + disabled={others.disabled} />