Skip to content

chore(csv): remove the unused resultGridAsCsvAsync (#1537) - #1606

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1537-dead-csv-async
Oct 15, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1537-dead-csv-async

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

Removes resultGridAsCsvAsync from lib/core/csv/result_grid_csv.dart: it has no callers (the clipboard / export path is DataExportService.formatAsync), only its own test. The test, the doc comment that pointed to it and the dart:isolate import go with it.

Scope

This covers the first item of #1537 only, so the PR says Refs, not Closes. The second item (reduce the UI-isolate stall when formatAsync hands a 50k x 20 List<List<String>> to the worker, e.g. by formatting in chunks) needs the standalone harness from the issue to show a real gain and is not started here.

Tests (not run locally; CI will)

Only the test of the removed function is deleted; resultGridAsCsv and writeResultGridCsv tests are untouched.

Refs #1537

It had no caller: the clipboard and export paths go through
DataExportService.formatAsync. Its test and the doc reference are removed with
it, and so is the dart:isolate import.

Refs #1537
@github-actions github-actions Bot added enhancement New feature or request performance Theme parser epic label: performance core Core library logic and services data-grid Interactive data grid, cell editor, filtering, groupings P2 Medium priority / Parity & Refactoring labels Oct 15, 2026
@github-actions github-actions Bot added this to the 0.5.0 milestone Oct 15, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 5adb3ed into dev Oct 15, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core library logic and services data-grid Interactive data grid, cell editor, filtering, groupings enhancement New feature or request P2 Medium priority / Parity & Refactoring performance Theme parser epic label: performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant