Skip to content

fix(data-grid): open dedicated editor for array cells on double-click#489

Open
Davydhh wants to merge 2 commits into
TabularisDB:mainfrom
Davydhh:fix/array-cell-dedicated-editor
Open

fix(data-grid): open dedicated editor for array cells on double-click#489
Davydhh wants to merge 2 commits into
TabularisDB:mainfrom
Davydhh:fix/array-cell-dedicated-editor

Conversation

@Davydhh

@Davydhh Davydhh commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Problem

Double-clicking a cell whose value is an array (e.g. a Postgres uuid[] /
text[] column) opened the inline <textarea> editor. That editor renders
String(array), cramming the values into a comma-joined string inside a
~120px-tall scrollable box — awkward to read and edit.

The grid was also internally inconsistent: array cells already render as
JSON cells (with the JSON affordance), but editing them fell through to the
plain-text path.

Fix

Route array cells through the same dedicated JSON viewer window that
json/jsonb columns already use on double-click.

@kilo-code-bot

kilo-code-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • src/components/ui/DataGrid.tsx

Reviewed by kimi-k2.6 · Input: 79.2K · Output: 11K · Cached: 710.7K

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.

2 participants