diff --git a/CODE_GUIDELINES.md b/CODE_GUIDELINES.md index 7e4cee9..565cbdd 100644 --- a/CODE_GUIDELINES.md +++ b/CODE_GUIDELINES.md @@ -152,7 +152,9 @@ lib/ │ │ ├── membership_fee_settings_live.ex # Membership fee settings │ │ ├── global_settings_live.ex # Global settings │ │ ├── group_live/ # Group management LiveViews -│ │ ├── import_export_live.ex # CSV import/export LiveView +│ │ ├── import_export_live.ex # CSV import/export LiveView (mount/events/glue only) +│ │ ├── import_export_live/ # Import/Export UI components +│ │ │ └── components.ex # custom_fields_notice, template_links, import_form, progress, results │ │ └── contribution_type_live/ # Contribution types (mock-up) │ ├── auth_overrides.ex # AshAuthentication overrides │ ├── endpoint.ex # Phoenix endpoint diff --git a/docs/csv-member-import-v1.md b/docs/csv-member-import-v1.md index 0cd8a02..ed5618b 100644 --- a/docs/csv-member-import-v1.md +++ b/docs/csv-member-import-v1.md @@ -696,11 +696,14 @@ lib/ │ └── membership/ │ └── import/ │ ├── member_csv.ex # prepare + process_chunk +│ ├── import_runner.ex # orchestration: file read, progress merge, chunk process, error format │ ├── csv_parser.ex # delimiter detection + parsing + BOM handling │ └── header_mapper.ex # normalization + header mapping └── mv_web/ └── live/ - └── global_settings_live.ex # add import section + LV message loop + ├── import_export_live.ex # mount / handle_event / handle_info + glue only + └── import_export_live/ + └── components.ex # UI: custom_fields_notice, template_links, import_form, import_progress, import_results priv/ └── static/