mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-03 04:08:36 +08:00
🐛 fix(query-editor): 修复选择器与事务提示浮层
- host 和数据库下拉选项关闭原生 title,避免和自定义 Tooltip 重复显示 - 事务模式说明默认向上弹出,并保留边界自动避让 - 移除下拉打开时强制隐藏事务说明的状态控制 - 补充工具栏和事务设置回归断言
This commit is contained in:
@@ -96,6 +96,7 @@ describe('QueryEditorToolbar layout', () => {
|
||||
expect(toolbarSource).toContain('mouseEnterDelay={FULL_NAME_TOOLTIP_DELAY_SECONDS}');
|
||||
expect(toolbarSource).toContain('renderFullNameSelectTooltip');
|
||||
expect(toolbarSource).toContain('gn-query-toolbar-select-full-name');
|
||||
expect(toolbarSource).toContain('title: ""');
|
||||
expect(connectionSelectSource).toContain('optionRender={(option) => renderFullNameSelectTooltip(option.data.fullName)}');
|
||||
expect(connectionSelectSource).toContain('labelRender={(option) => renderFullNameSelectTooltip(option.label ?? option.value)}');
|
||||
expect(databaseSelectSource).toContain('optionRender={(option) => renderFullNameSelectTooltip(option.data.fullName)}');
|
||||
|
||||
Reference in New Issue
Block a user