Skip to content

Conversation

@Nick-Lucas
Copy link
Contributor

@Nick-Lucas Nick-Lucas commented Dec 16, 2025

Closes framer/company#35514

Description

  • Adds a field mapping view with simple automatic type inference
  • Replaces the increasingly complex state management of this plugin with a simple minirouter and more procedural workflows
  • Tidies up UI look and feel, fixes bugs with drag and drop detection
  • Breaks up some huge files which were becoming difficult to work with

Test files:

jobs.csv
people_added_column.csv
people_duplicate.csv
people_empty.csv
people_missing_slug.csv
people_removed_column.csv
people_reordered.csv
people.csv
people2_changed_column_type.csv
people2_draft.csv
people2_renamed_column.csv
people2_withjob.csv

Testing

Useful synthetic test imports:

  • Import people.csv and it works
  • Import people.csv and then a variety of scenarios on top, ie.
    • added_column
    • removed_column
    • reordered
    • people2.csv (some overlap with conflicts and some new entries
    • changed column type (we only warn that incompatible data will be skipped, it's up to the user to change their fields model)
    • renamed column (can rebind to the existing column)
  • Importing people2_draft.csv sets drafts up correctly
  • Importing jobs.csv, manually creating a multireference to your people collection and reference to jobs collection, and importing people2_withjobs.csv correctly links up references
    • Bonus: importing people2_withjobs.csv into a new collection doesn't handle the reference but does create the column
  • importing empty csv just rejects
  • Customising types
    • New columns can have a selection of compatible column types selected from beyond the inferred type
    • Existing columns do not permit changing the column type

@Nick-Lucas Nick-Lucas force-pushed the feature/35514-csv-import-mapping branch 12 times, most recently from c1c2eec to 249df9f Compare December 18, 2025 14:33
@Nick-Lucas Nick-Lucas requested a review from Copilot December 18, 2025 15:04
@Nick-Lucas
Copy link
Contributor Author

/cursor review

@Nick-Lucas Nick-Lucas reopened this Jan 7, 2026
@Nick-Lucas Nick-Lucas force-pushed the feature/35514-csv-import-mapping branch from 591099b to 6fa333c Compare January 8, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants