omeka-s-modules/CSVImport

ui-improvement drawer stickiness

Closed this issue · 3 comments

The settings in the left hand drawer remain the same between CSV column choices. So if you're not paying attention and moving from properties to media, you can end up double-assigning something (see image, where I'd been doing visibility and moved on to media).

screen shot 2018-03-16 at 1 22 52 pm

It is possible to simply delete the extra mapping, so it's not an irreparable issue.

On further testing, this only happens if both sections of the drawer are open when the user clicks apply changes. If you close/collapse the "resource data" section, it does not add any mappings (even if there was a mapping when you collapsed the section)

@mebrett The most recent commits (85ccc80, 99402c9) should fix your issues. Can you pull and test?

Mapping drawer resets for each column header now. Thank you.