rtp-atw / nimble-interview

Nimble Repository
https://nimble-interview.vercel.app
MIT License
0 stars 0 forks source link

[Bug] Multi-word keywords are truncated #20

Open olivierobert opened 7 months ago

olivierobert commented 7 months ago

Issue

When upload a CSV file of keywords composed of multiples works, the content is stored incorrectly:

Content of the uploadedCSV file

project management tools, product management software

Spaces are removed

Screenshot 2566-12-06 at 12 27 05

Expected

Multi-word keywords should be stored and processed as-is

olivierobert commented 7 months ago

The implementation in https://github.com/rtp-atw/nimble-interview/pull/25 is rather hard to understand 😅

Instead of trying to support multiple formats (CSV in a single line and CSV with line breaks), it would be acceptable to support only one format and provide a template (see below) 💡

image