fix(grid): polish cell/row/column detail dialogs (#528)

Address the follow-up UI feedback on the data detail dialogs:

- cell detail: toggle between raw value and formatted JSON inside a single
  value area (via a "format JSON" button) instead of stacking the value,
  formatted value and formatted JSON blocks, removing the redundancy.
- kill horizontal scrollbars: add break-words to the formatted-value block,
  and constrain row/column detail value columns with w-full max-w-0 so long
  unbroken values wrap instead of overflowing the table.
- row detail: column name uses break-words instead of break-all to stop long
  names from wrapping character-by-character.
- unify footer button layout across the three detail dialogs (bulk-copy
  actions on the left, copy-name on the right).
- add a search box to row & column detail to filter fields by name / value /
  row number (filterDataGridDetailFields + unit tests).
- i18n: add detailSearchPlaceholder / detailSearchNoMatch for all 6 locales.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
vrustxandClaude Opus 4.8 committed 2026-06-07 01:48:05 +08:00
1 parent e9ee982843
commit fe0f34a6d9
9 files changed
+193 -46

No files matched your search

+2
View File
@@ -595,6 +595,8 @@ export default {
noComment: "No comment",
formattedJson: "Formatted JSON",
formattedValue: "Formatted Value",
detailSearchPlaceholder: "Search field or value…",
detailSearchNoMatch: "No matches",
rawValue: "Raw Value",
largeValuePreviewHint: "Previewing first {count} characters. Copy still uses the full value.",
copyValue: "Copy Value",
+2
View File
@@ -561,6 +561,8 @@ export default {
noComment: "Sin comentario",
formattedJson: "JSON formateado",
formattedValue: "Valor formateado",
detailSearchPlaceholder: "Buscar campo o valor…",
detailSearchNoMatch: "Sin coincidencias",
rawValue: "Valor sin procesar",
largeValuePreviewHint: "Mostrando los primeros {count} caracteres. Copiar sigue usando el valor completo.",
copyValue: "Copiar valor",
+2
View File
@@ -600,6 +600,8 @@ export default {
noComment: "Nessun commento",
formattedJson: "JSON Formattato",
formattedValue: "Valore Formattato",
detailSearchPlaceholder: "Cerca campo o valore…",
detailSearchNoMatch: "Nessun risultato",
rawValue: "Valore Grezzo",
largeValuePreviewHint: "Anteprima dei primi {count} caratteri. La copia utilizzerà comunque il valore completo.",
copyValue: "Copia Valore",
+2
View File
@@ -599,6 +599,8 @@ export default {
noComment: "Sem comentário",
formattedJson: "JSON Formatado",
formattedValue: "Valor Formatado",
detailSearchPlaceholder: "Buscar campo ou valor…",
detailSearchNoMatch: "Nenhuma correspondência",
rawValue: "Valor Bruto",
largeValuePreviewHint: "Visualizando os primeiros {count} caracteres. A cópia ainda usa o valor completo.",
copyValue: "Copiar Valor",
+2
View File
@@ -590,6 +590,8 @@ export default {
noComment: "暂无注释",
formattedJson: "格式化 JSON",
formattedValue: "格式化值",
detailSearchPlaceholder: "搜索字段名或值…",
detailSearchNoMatch: "无匹配项",
rawValue: "原始值",
largeValuePreviewHint: "仅预览前 {count} 个字符,复制仍会使用完整值。",
copyValue: "复制值",
+2
View File
@@ -590,6 +590,8 @@ export default {
noComment: "暫無註解",
formattedJson: "格式化 JSON",
formattedValue: "格式化值",
detailSearchPlaceholder: "搜尋欄位名或值…",
detailSearchNoMatch: "無相符項目",
rawValue: "原始值",
largeValuePreviewHint: "僅預覽前 {count} 個字元,複製仍會使用完整值。",
copyValue: "複製值",