Skip to content

Commit

Permalink
docs:更新 2.10.5 更新说明以及相关更新内容
Browse files Browse the repository at this point in the history
  • Loading branch information
greenyhsj committed Jan 23, 2025
1 parent 703a6b1 commit 2d96b24
Show file tree
Hide file tree
Showing 26 changed files with 202 additions and 4 deletions.
91 changes: 91 additions & 0 deletions docs/change-v2-10-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# 更新日志

## 1 仪表板与数据大屏

### 1.1 仪表板支持画布比例和组件比例两种缩放方式设置
!!! Abstract ""
仪表板提供两种缩放显示方式,满足不同场景需求:

- 按画布比例缩放:高度和宽度独立按画布比例缩放。组件在设计阶段于画布中所占的比例将在预览阶段保持一致,从而确保布局的高度还原。
- 按组件比例缩放:保持组件高度与宽度的比例固定。设计阶段设置的组件高度与宽度的比例将在预览阶段严格保持不变,确保视觉一致性。

![更新1](./newimg/仪表板支持画布比例和组件比例两种缩放方式设置.PNG){ width="900px" }

### 1.2 仪表板和数据大屏支持更多组件修改名称
!!! Abstract ""
所有组件均支持通过双击组件编辑区域的名称进行改名操作。

![更新1](./newimg/仪表板和数据大屏支持更多组件修改名称.gif){ width="900px" }

### 1.3 数据大屏新建图表后自动定位到屏幕中心
!!! Abstract ""
在数据大屏中新建组件时,新组件将自动显示在屏幕中心位置,同时画布区域也会同步定位到屏幕中心。

![更新1](./newimg/数据大屏新建图表后自动定位到屏幕中心.gif){ width="900px" }

### 1.4 跳转设置的弹窗页面样式变更为内嵌式弹窗
!!! Abstract ""
跳转设置的弹窗页面已优化为内嵌式 DIV 弹窗样式。

![更新1](./newimg/跳转设置的弹窗页面样式变更为内嵌式弹窗.gif){ width="900px" }

### 1.5 富文本支持指标同环比功能
!!! Abstract ""
富文本组件现已支持同环比功能,但使用该功能时需确保维度字段类型为日期类型。

![更新1](./newimg/富文本支持指标同环比功能.png){ width="900px" }


## 2 数据准备

### 2.1 计算字段编辑页面支持语法校验功能

!!! Abstract ""
在计算字段编辑页面新增校验按钮,用户可在保存前对计算字段的语法有效性进行校验,确保配置正确。

![更新1](./newimg/计算字段编辑页面支持语法校验功能1.png){ width="900px" }

![更新1](./newimg/计算字段编辑页面支持语法校验功能2.png){ width="900px" }

### 2.2 PostgreSQL 支持外部表功能
!!! Abstract ""
PostgreSQL 现已支持外部表功能,允许通过外部数据源访问和查询数据。
示例外部表结构:

````
CREATE foreign TABLE jinlong.foreign_books
(
"_id" varchar(255) NOT NULL,
author varchar(255) NULL,
category varchar(255) NULL,
"createdDate" date NULL,
"onSale" varchar(255) NULL,
price float4 NULL,
title varchar(255) NULL
)
SERVER foreign_server_pg
OPTIONS (schema_name 'public', table_name 'books');

````
!!! Abstract ""
支持对外部表数据进行单源查询及跨源查询,同时支持外部表数据的图形化展示。
![更新1](./newimg/PostgreSQL 支持外部表功能.png){ width="900px" }


### 2.3 数据填表单选和单选框组件支持额外关联字段查询与展示功能(XPack)
!!! Abstract ""
单选和单选框组件在绑定数据源时,现支持选择添加字段描述。

![更新1](./newimg/数据填表单选和单选框组件支持额外关联字段查询与展示功能1.png){ width="900px" }

![更新1](./newimg/数据填表单选和单选框组件支持额外关联字段查询与展示功能2.png){ width="900px" }

!!! Abstract ""
在单选或下拉框中选择选项后,设置的字段描述将显示在下方。如果描述内容超过 6 个,可以点击【查看更多】以查看完整描述。

![更新1](./newimg/数据填表单选和单选框组件支持额外关联字段查询与展示功能3.png){ width="900px" }

## 3 组织管理中心(XPack)
### 3.1 禁止用户将资源移入【迁移资源】目录

![更新1](./newimg/禁止用户将资源移入【迁移资源】目录.png){ width="900px" }
66 changes: 66 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,72 @@
- v2.1.0 是 v2.0.0 之后的功能版本

## 2 更新内容
### v2.10.5
2025年1月23日

!!! Abstract "新增功能 :star2:"

- feat(仪表板): 仪表板支持画布比例和组件比例两种缩放方式设置 #14027
- feat(仪表板、数据大屏): Tab 组件轮播支持鼠标悬停停止 #13838
- feat(仪表板、数据大屏): 仪表板、数据大屏更多的组件支持改名,且标题栏和图层栏名称保持一致 #14110
- feat(数据集): 计算字段编辑页面支持校验计算字段语法 #14332
- feat(数据集): SQL 参数支持写在 join on 条件后
- feat(数据源): PostgreSQL 支持外部表 #14324
- feat(查询组件): 查询条件首次从”自动“切到”选择数据集“时,自动选择当前图表对应的数据集,以及图表当前选择的字段作为查询、显示和排序字段 #14033
- feat(X-Pack): 同步管理中存量定时同步任务在未同步过任何数据到目标表时,允许修改目标表的结构 #14362
- feat(X-Pack): 权限配置中的资源树排序规则与资源列表页排序一致 #14117
- feat(数据填报): 单选和单选框组件支持增加额外关联字段查询展示功能

!!! Abstract "功能优化 :sunflower:"

- refactor(数据大屏): 数据大屏新建图表后画布区域定位到屏幕中心点 #13946
- refactor(数据大屏): 新 Tab 预览无需进行浏览器刷新,防止请求阻塞造成异常退出 #14498
- refactor(数据大屏): 调整滚轮连续移动缩放计算时间,防止卡顿情况
- refactor(仪表板、数据大屏): 当前页面跳转的弹窗样式变更为内嵌式弹窗 #14264
- refactor(仪表板、数据大屏): 优化批量操作字段 #14169
- refactor(图表): 富文本支持同环比,优化富文本返回数据性能
- refactor(图表): 指标卡条件样式弹窗样式调整
- refactor(图表): 优化基础样式配色方案,以及多维度时维度名称的显示样式
- refactor(图表): 去掉词云图、K线图维度以及指标的排序功能
- refactor(图表): 计算字段变更后,维度、指标栏自动更新
- refactor(数据集): SQL 片段去掉 JSqlParser
- refactor(X-Pack): 禁止移动资源到【迁移资源】目录
- refactor: 保存资源名称时,去掉名称开头和结尾用户添加上去的空格 #14125
- refactor: Copilot 仅支持 MySQL 数据源


!!! Abstract "问题修复 :palm_tree:"

- fix(仪表板): 修复 SQLServer 跨源数据集做图表联动无效的问题 #13486
- fix(仪表板): 修复仅剩一个 Ticket 时无法删除 Ticket 的问题
- fix(数据大屏): 修复过滤组件图层标题名称未同步的问题
- fix(仪表板、数据大屏): 修复直接输入数字的属性样式变更可能导致仪表板编辑时保存按钮被重复激活的问题
- fix(仪表板、数据大屏): 图表数据导出 excel,如果做空值处理时按照处理后的结果导出 #13976
- fix(图表): 修复仪表盘、水波图拖入计算字段报错的问题 #14466
- fix(图表): 修复图表样式中修改的标题,图层名称没有同步的问题
- fix(图表): 修复外部参数跳转,级联条件容易受初始条件影响而不准确问题 #14656 #14352
- fix(图表): 修复存量透视表表头颜色的错误
- fix(图表): 修复明细表常规分页模式切换分页数量后序号计算的错误 #14601
- fix(图表): 修复水波图指标是记录数时,大小栏的最大最小值无法选择动态值的问题
- fix(图表): 修复地图导出图片空白的问题 #12319
- fix(图表): 修复跳转弹窗打开,图表提示框容易遮挡弹框的问题
- fix(图表): 修复堆叠柱状图辅助线平均值的错误 #14464
- fix(数据源): 数据源与文件夹名称不能为空
- fix(数据源): 修复不同组织数据源根目录下无法创建同名资源的问题
- fix(数据源): 修复 API 数据源校验的错误
- fix(数据源): 修复旧版本 AP I数据源在升级到 v2.10.4 版本后无法正常同步的问题 #14682
- fix(数据源): 修复 API 名称输入后可以触发回车事件
- fix(数据源): 修复 API 数据源分页的错误
- fix(数据源): 修复 Doris 数据源间隔一天左右就提示连接无效的问题 #14561
- fix(数据集): 修复 Excel 数据导出格式化的问题
- fix(数据集): 修复数据集执行 SQL 的报错
- fix(数据导出中心): 修复数据集字段为带小数数值类型时,表格导出为 Excel 会将 0 存为 0E-8 的问题
- fix(X-Pack): 修复定时报告地图空白的问题 #12319
- fix(X-Pack): 修复同步管理中,ES 数据类型不支持 GEO_POINT, GEO_SHAPE 的问题
- fix(X-Pack): 修复数据集权限控制中角色名称显示的问题 #14704
- fix: 修复硬编码API凭据的漏洞
- fix: 修复部分包含富文本的模版导入失败的问题

### v2.10.4
2025年1月9日

Expand Down
Binary file modified docs/img/dashboard_generation/2.0仪表板整体配置.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/dataset_configuration/新建计算字段设计.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/newimg/PostgreSQL 支持外部表功能.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/user_manual/dashboard_basicfunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@
### 4.2 仪表板整体配置

!!! Abstract ""
如下图所示,可调整仪表板主题色、组件间隙,主题色支持浅色与深色切换。
**提示:** 设置组件间隙有或无。
如下图所示,可调整仪表板主题色、组件间隙、缩放模式以及数据的刷新频率(整体刷新仅在公共链接生效)。
仪表板提供两种缩放显示方式:

- 按画布比例缩放:高度和宽度独立按画布比例缩放。组件在设计阶段于画布中所占的比例将在预览阶段保持一致,从而确保布局的高度还原。
- 按组件比例缩放:保持组件高度与宽度的比例固定。设计阶段设置的组件高度与宽度的比例将在预览阶段严格保持不变,确保视觉一致性。

![仪表板主题色、组件间隙](../img/dashboard_generation/2.0仪表板整体配置.png){ width="900px" }

Expand Down
Loading

0 comments on commit 2d96b24

Please sign in to comment.