datahuborg / datahub

An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.
https://datahub.csail.mit.edu
MIT License
210 stars 60 forks source link

When importing files, prompt user to enter a table name #151

Open RogerTangos opened 8 years ago

RogerTangos commented 8 years ago

Try importing a file twice, I get a Django error page that more or less says that the relation already exists, though to a user who might not realize what this means (this might happen in practice often if a non-savvy user is importing a bunch of dump files from some other app that uses the same filename for its dumps) probably wouldn’t know what’s going on. I’d recommend adding a UI popup that explains that the name is already in use (and perhaps even allowing the user to enter a new name to make it really easy).

Reported by @b-carter