Skip to content

Add CSV import for socle de base configuration - #233

Merged
Un3x merged 1 commit into
developfrom
feature/fas-384-us-importer-une-configuration-dans-un-environnement
Feb 18, 2026
Merged

Add CSV import for socle de base configuration#233
Un3x merged 1 commit into
developfrom
feature/fas-384-us-importer-une-configuration-dans-un-environnement

Conversation

@Un3x

@Un3x Un3x commented Feb 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add CSV import action to admin Socle de Base page via DSFR modal
  • Reuse existing FieldConfigurationImport organizer pipeline
  • Display import statistics (created/updated/soft-deleted/skipped) in flash message
  • Handle missing file with appropriate error message

Test plan

  • RSpec request specs for import endpoint (valid CSV, missing file)
  • Cucumber feature with 3 scenarios (dropdown button, successful import, missing file)
  • RuboCop passes with zero violations
  • All existing tests remain green

Closes FAS-384

🤖 Generated with Claude Code

@linear

linear Bot commented Feb 14, 2026

Copy link
Copy Markdown

@Un3x
Un3x force-pushed the feature/fas-384-us-importer-une-configuration-dans-un-environnement branch from 36c6253 to 230f576 Compare February 18, 2026 14:01
@Un3x
Un3x requested a review from lordinatrice February 18, 2026 14:03
@Un3x
Un3x force-pushed the feature/fas-384-us-importer-une-configuration-dans-un-environnement branch from 230f576 to 76f7e69 Compare February 18, 2026 15:09

@lordinatrice lordinatrice left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK pour moi

Allows admins to import field configurations via CSV upload through
a DSFR modal in the manage dropdown. Reuses the existing
FieldConfigurationImport organizer pipeline and displays import
statistics (created/updated/archived/skipped) in a flash message.
@Un3x
Un3x force-pushed the feature/fas-384-us-importer-une-configuration-dans-un-environnement branch from 76f7e69 to 9faf2ed Compare February 18, 2026 15:59
@Un3x
Un3x merged commit e606781 into develop Feb 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants