Skip to content

dbeaver/pro#8978 paste multiple values#4299

Merged
devnaumov merged 5 commits intodevelfrom
dbeaver/pro#8978-advanced-paste
Apr 27, 2026
Merged

dbeaver/pro#8978 paste multiple values#4299
devnaumov merged 5 commits intodevelfrom
dbeaver/pro#8978-advanced-paste

Conversation

@devnaumov
Copy link
Copy Markdown
Member

closes 8978

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 22, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment thread webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/useTableData.tsx Outdated
updates.push({ key: target, value });
}
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should do something about this complicated case:

Screen.Recording.2026-04-23.at.10.17.00.mov

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not, it works as expected

Wroud
Wroud previously requested changes Apr 23, 2026
Comment thread webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/useTableData.tsx Outdated
@devnaumov devnaumov requested a review from Wroud April 23, 2026 21:58
}

const getRowIdx = (key: IGridDataKey) => tableData.getRowIndexFromKey(key.row);
const getColIdx = (key: IGridDataKey) => tableData.getColumnIndexFromColumnKey(key.column);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to consider the cases with the pin columns & reordering of columns:

Screen.Recording.2026-04-24.at.14.06.47.mov

Copy link
Copy Markdown
Member Author

@devnaumov devnaumov Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its considered, getRowIndexFromKey gives you real index, the same as for copying values

@devnaumov devnaumov merged commit b36b110 into devel Apr 27, 2026
10 checks passed
@devnaumov devnaumov deleted the dbeaver/pro#8978-advanced-paste branch April 27, 2026 15:30
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.

4 participants