[Feature] Split export_dialog.dart before it breaks the file-size gate #514
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#514
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
lib/widgets/dialogs/export_dialog.dartis at 999 lines.tool/check_conventions.dartcaps files inlib/at 1000 with an empty baseline, so the next addition to this dialog failsmake check— and whoever makes that addition will be tempted to raise the baseline instead of splitting.Do not raise the baseline. The established pattern here is a
partextension; see howdeck_provider.dartandmarkdown_service_parse.dartwere split (usecurrentStaterather thanstatein the part where that applies).Natural seams, each self-contained:
_depthSelector,_profileSelector)_manifestNotice,_privacyCaveat,_aiDraftNotice)A plausible home is
lib/widgets/dialogs/parts/export_dialog_sections.dart, as a part of the same library.Verify with
make check-conventions,test/export_dialog_test.dartandtest/export_dialog_smoke_test.dart. No behaviour change.