mysociety / popit

DEPRECATED - Development on PopIt has stopped and it is no longer being maintained
https://goo.gl/Vvej4Q
Other
76 stars 33 forks source link

Adjust migration tool to actual needs #126

Closed domoritz closed 9 years ago

domoritz commented 12 years ago

With Issue #95 a first version of the migration tool has been build. An improved version will follow which will be based on feedback on the first version.

jpmckinney commented 11 years ago

Not every row in the CSV will fill in every column. For the example entries on the migration page, I would find a non-blank example value for each CSV column. I don't think much is gained by having all the examples be from the same row as they are currently.

jpmckinney commented 11 years ago

I currently need to flip through the hierarchy of select boxes to find what fields are available. Why not have a single select box that uses optgroup to group options?

domoritz commented 11 years ago

@jpmckinney Hi and many thanks for the comments. I'm aware of the first problem with the examples. At the time I wrote the tool, I didn't think that the examples were such an important part which is why I chose the simple way. If it makes sense to have these examples, I'll improve them. If not, I can remove the whole column.

About the second issue. This is not that simple because often these values are only suggestions and you can define your own name in the text field. However, I find your idea great. I could use optgroups where only a few options are available and otherwise show a "custom" entry and a text input when you click on it.

evdb commented 11 years ago

@domoritz for the position creation form I've used http://ivaynberg.github.com/select2/ - which would probably work very well for this too. It makes it easy to select from an existing value, or create a new one. I'm meaning to switch most of the admin UI over to using it.

domoritz commented 11 years ago

@evdb I had the same in mind ;-) However, it does not help with defining two values (the group and the name).

chrismytton commented 9 years ago

The migration tool was removed in https://github.com/mysociety/popit/pull/371. The plan is to point people who want to import from CSV to http://everypolitician.org. Therefore closing this ticket.