Implement CSV import functionality for tags in TagPage#84
Conversation
|
I tried rebasing this onto |
…with placeholder function call
…ss in TagPage and Tags components
…ling in tagsService and update Tags component
…y duplicate values in TagsCSVImportDialog and csvParser
… importable count in TagsCSVImportDialog
99a89d7 to
608cffb
Compare
Resolved merge conflict in csvParser.ts by keeping both: - createTagMappingForTags and createValidationSummaryForTags (for Tags import) - validateCSVTags (for bulk tag validation) Updated TagsCSVImportDialog to use parseCSVToPVsAsync and fixed type annotations
shilorigins
left a comment
There was a problem hiding this comment.
Tested with slaclab/react-squirrel-backend#47, importing tags from a csv with 1000 rows and then 35,000 rows was responsive and caught duplicates accurately. This functionality is great to have, thanks!
Description
Designed around the expected UX of adding tags from a csv file formatted similarly to
consolidated.csvand derived from the similar PV import UX. Handles duplicates, adding new tag groups.Requires: slaclab/react-squirrel-backend#47
Recording.2026-03-24.133205.mp4
I tested this with
consolidated.csvand a truncated version (first couple thousand lines ofconsolidated.csv)Motivation
Screenshots
Pre-merge checklist