Data editing and paste: known gaps and follow-ups
メンテナーはふだん 1 日以内に返信
@DokaDev がすでに取り組んでいます。
2026年11月12日 から。
評価
この issue はまだ評価されていません。
説明
Problem
Editing a result, pasting into the grid and applying changes shipped with a few known gaps found in review and testing. Most are rough edges; the four under Writes can write rows the user did not intend or end an open transaction, and are listed first. Tracked here so none is left as a note.
Proposal
Writes
- MySQL: "just one" of identical rows is written with
LIMIT 1; withbinlog_format=STATEMENTa replica may change a different row. Read the binlog format and refuse "just one" when it is not row based, saying why - MySQL: with access granted per column, the table's other columns are not listed, so rows can look identical when they are not; detect column-only access and treat the columns as hidden (check)
- Copy and paste inside the grid: dates and times copied before a
SETof DateStyle or time zone in the same tab may be pasted as read under the old setting (check) - PostgreSQL inside an open transaction: a cancel that lands before the Apply's savepoint exists leaves the user's transaction aborted; send the savepoint first or hold the cancel
Values
- DEFAULT is refused on an existing row when the default only mentions
nextval(, and the hint still offers Ctrl+D where it is refused - PostgreSQL: a domain over
double precisionis checked as single precision, so values over 7 digits are refused -
+5,007or1.50typed over the same value become pending updates; a large one-column selection copies whole rows - MySQL: text that is not valid UTF-8 (shown as
0x…) can be edited as text and only fails at Apply; refuse it at the edit key - MySQL
FLOAT(M,D)with many decimals: check that a value accepted as the server's form is stored unchanged (check)
New rows and revert
- A cloned row copies unique columns that are not the key, so Apply fails later; leave them DEFAULT
- Reverting a whole column unmarks every deleted row
- After undo or redo the cursor can move to another new row; a page change keeps the in-page scroll;
nmoves the cursor to the first row - Two updates that chain values (a to b, then b to c) fail with a general count message; name the rows in the preview
Changes tab, Apply and paste messages
- Changes tab: a result without rows falls back to Rows; an edit key in the SQL view switches to the grid without a word; the duplicate choice
[1]/[a]is shown in the tab but only works in the Apply dialog; no right-click menu in the tab - Changes text: type names, stored values, the NULL token and not-whole reasons are not escaped; the statements view still shows line breaks as ↵
- Small sizes: at 80x24 the Apply dialog footer omits 1 and a, the paste summary and the SQL view title are cut, and below about 45 columns the transaction note is cut; check the pending and applied badges too
- Apply shows no progress through its steps
- Paste outcomes: a re-read waiting for the structure puts the paste back silently; a refusal is overwritten by "Paste cancelled"; a withdrawn large-paste question does not say Ctrl+R restores the earlier paste; a MySQL
FLOATpasted equal to its shown value is dropped as no change; a read-only refusal lacks "Not pasted" (check) -
pandg p: the 32 MiB limit keeps reading after it is reached; the large-paste question does not mention a skipped header; a one-column paste whose first value equals the column name is skipped as a header;g ppast the last row does not turn the page -
ROLLBACK WORK TOis read as ending the transaction (safe, wrong wording) - Export while changes exist: the dialog does not warn before Enter, and a selection export is refused even when no selected cell changed; search and copy skip new rows
- Box editor: Ctrl+C cancels the query instead of leaving insert mode;
'<,'>wfails; a refused keep loses the typed text; the footer shows normal-mode keys in insert mode; JSON is highlighted as SQL - Column selected from its header, then
e: the message asks to select cells of one column
Tests
- Add the missing tests: Changes cache and middle-page Enter, the CSV question with moved changes, the Apply wait with insert mode and Hangul input, the cell menu on mixed new and read rows, the preview cache per theme and language, the session values arriving before the statement, wheel scrolling in edit flows, and
/*!50000 SAVEPOINT a */dropping applied values
Found while fixing the items above
- PostgreSQL inside an open transaction: Resume, the value count and the row count start their savepoint without holding a cancel back, so a cancel landing there aborts the user's transaction (as the Apply did before); hold it the same way
- 主要言語
- Rust
- スター
- 166
- フォーク
- 8
- 平均マージ
- 4時間 24分
- マージ済み PR(30日)
- 291
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DokaDev/datarig のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
DokaDev/datarig#544 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 半日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
DokaDev/datarig の issue をすべて見る
似ている issue
-
area:compat area:operations documentation ready-for-agent type:afk
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ZcashFoundation/zinder#552 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
storytold/vectorcraft#9229 ·
メンテナーはふだん 1 日以内に返信