From 1c47062cdd08f7c459b1be005cd9a936d36e8fd6 Mon Sep 17 00:00:00 2001 From: jearhe <0verme7753@gmail.com> Date: Fri, 18 Sep 2026 22:49:58 +0800 Subject: [PATCH] fix(grid): support text preview of binary cells --- .../grid/DataGridCellDetailDialog.vue | 7 +- .../grid/DataGridCellDetailPanel.vue | 5 +- .../grid/DataGridCellDetailTextPreview.vue | 84 +++++++++ .../grid/__tests__/DataGridSurfaces.spec.ts | 174 +++++++++++++++++- apps/desktop/src/i18n/locales/az.ts | 17 ++ apps/desktop/src/i18n/locales/en.ts | 17 ++ apps/desktop/src/i18n/locales/es.ts | 17 ++ apps/desktop/src/i18n/locales/it.ts | 17 ++ apps/desktop/src/i18n/locales/ja.ts | 17 ++ apps/desktop/src/i18n/locales/ko.ts | 17 ++ apps/desktop/src/i18n/locales/pt-BR.ts | 17 ++ apps/desktop/src/i18n/locales/tr.ts | 17 ++ apps/desktop/src/i18n/locales/zh-CN.ts | 17 ++ apps/desktop/src/i18n/locales/zh-TW.ts | 17 ++ .../src/lib/dataGrid/binaryCellDownload.ts | 45 +++++ packages/app-tests/binaryCellDownload.test.ts | 78 ++++++++ 16 files changed, 560 insertions(+), 3 deletions(-) create mode 100644 apps/desktop/src/components/grid/DataGridCellDetailTextPreview.vue diff --git a/apps/desktop/src/components/grid/DataGridCellDetailDialog.vue b/apps/desktop/src/components/grid/DataGridCellDetailDialog.vue index 39abb4c8d5..c223a43cb1 100644 --- a/apps/desktop/src/components/grid/DataGridCellDetailDialog.vue +++ b/apps/desktop/src/components/grid/DataGridCellDetailDialog.vue @@ -1,4 +1,5 @@ + +