-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for different column separator in csv import logic #1096
Add support for different column separator in csv import logic #1096
Conversation
0786b96
to
fa4a42f
Compare
@code-constructor I think this all looks good and I'm definitely supportive of adding it in since a lot of non-US imports will have In terms of the UI, what do you think of grabbing this information on the very first step? Long term, we'll probably take a second pass at the design of this entire feature and will put this in a more permanent place, but for now this seems like it gets the job done. |
a4de931
to
91a5f70
Compare
91a5f70
to
32856c0
Compare
Did an update of the Pull-Request. I've implemented your idea 👍. Thanks for the really fast response. Was a pleasure 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, very nice addition! Just added a little suggestion to fix some form spacing. Otherwise looks and works great.
Co-authored-by: Zach Gollwitzer <[email protected]> Signed-off-by: Alexander Schrot <[email protected]>
Good catch & Committed 👍 |
As we all know, CSV is not always "comma separated values". It is often separated by other characters such as ";" or "|". This PR opens the model layer to support multiple column separators. The implementation is now able to import files with "," and ";" separators. More may come.
Important to know: The normalized representation
normalized_csv_str
is still separated by comma (",").I would also like to implement the view support. But I don't want to do anything without a little guidance on what would be a good solution. Maybe just a selector below the upload field or a hidden section with "advanced import options".