diff --git a/ui/src/components/ListPreview.vue b/ui/src/components/ListPreview.vue index 87a3768d409..90f535244e8 100644 --- a/ui/src/components/ListPreview.vue +++ b/ui/src/components/ListPreview.vue @@ -1,22 +1,46 @@ \ No newline at end of file diff --git a/ui/src/components/executions/FilePreview.vue b/ui/src/components/executions/FilePreview.vue index 097baa5192d..9b796bfc309 100644 --- a/ui/src/components/executions/FilePreview.vue +++ b/ui/src/components/executions/FilePreview.vue @@ -161,15 +161,15 @@ ]; const configPreviewInitialRows = (): number => { - return miscStore.configs?.preview.initial || 50; + return miscStore.configs?.preview.initial || 500; }; const configPreviewMaxRows = (): number => { - return miscStore.configs?.preview.max || 5000; + return miscStore.configs?.preview.max || 5000; }; const maxPreviewOptions = computed(() => { - return [10, 25, 50, 100, 500, 1000, 5000, 10000, 25000, 50000].filter( + return [50, 100, 250, 500, 1000, 5000, 10000, 25000, 50000].filter( value => value <= configPreviewMaxRows() ); }); diff --git a/ui/src/translations/en.json b/ui/src/translations/en.json index d6bfb11912a..48427c5bfc2 100644 --- a/ui/src/translations/en.json +++ b/ui/src/translations/en.json @@ -1740,7 +1740,15 @@ "label": "Preview", "force-editor": "Enforce editor view", "auto-view": "Auto view", - "view": "View" + "view": "View", + "rows_truncated": "Showing {shown} of {total} rows. Download the file to view all data.", + "pagination_info": "Showing rows {start}-{end} of {total}.", + "showing_rows": "Showing rows {start}-{end} of {total}", + "expand": "Expand", + "collapse": "Collapse", + "previous": "Previous", + "next": "Next", + "page_of": "Page {current} of {total}" }, "filter": { "update": "Update",