Skip to content

feat: ODC SQL 工作台结果集批量填充与按选中字段批量插入 - #74

Open
LordofAvernus wants to merge 3 commits into
dev-4.3.4from
dev-odc-resultset-batch-edit-insert
Open

LordofAvernus wants to merge 3 commits into
dev-4.3.4from
dev-odc-resultset-batch-edit-insert

Conversation

@LordofAvernus

Copy link
Copy Markdown
Collaborator

关联的 issue

actiontech/sqle#3374

描述你的变更

  • 通过 data-grid patch 启用 Shift 矩形选区,供批量填充与批量插入复用同一 selectedRange
  • 编辑态支持单值剪贴板批量填充可编辑格,并新增按选中字段的批量插入弹窗(DEFAULT/空串语义与 i18n)
  • 确认修改时 _created 优先于 modified 判定为 INSERT,避免新增行再编辑误走 UPDATE

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

Made with Cursor

Extend ob-react-data-grid handleMouseDown/select so Shift+click expands
the selection range for batch fill and batch insert without a second model.
Single-value clipboard fills writable selected cells with skip tips; batch
insert collects selected fields, pastes TSV, and appends _created rows for
later confirm-modify submission.
Keep newly added rows as INSERT after further cell edits so confirm-modify
does not mis-classify them as UPDATE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant