refactor: splits export_dialog.dart voor het plafond geraakt wordt #531
No reviewers
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck!531
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/export-dialog-splitsen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
lib/widgets/dialogs/export_dialog.dartsat at 999 lines against a 1000-line ceiling with an empty baseline, so the next addition to this dialog would have failedmake check— and whoever made it would have been tempted to raise the baseline instead of splitting.Closes #514
Changes
lib/widgets/dialogs/parts/export_dialog_sections.dart(new, 219 lines) — apartof the same library, following the pattern already used for the notices and fordeck_provider/markdown_service_parse.export_dialog.dart: 999 → 710 lines.build()and everything that callssetStatestays in the main file, which is the same seam the earlier notices split used.fileSizeBaselinestays empty. That was the point.No behaviour change — code was relocated, not rewritten.
Verification
make checkgreen, run in full on this branch: 86.2% line coverage across 545 instrumented files (one more than before, as expected for a new file), per-file floor 0 below budget.make check-secrets/make saststill red for the pre-existing reasons in #522 and #521.The mechanical split was carried out by a subagent; the gate run and the review of the result are mine.
Principles
Pure structure: no format, storage, dependency, outgoing traffic or promise touched. Nothing to weigh.