Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Lay UI foundation for how we want to add/edit Datasets #27

Open
chadoh opened this issue Jun 26, 2014 · 0 comments
Open

Lay UI foundation for how we want to add/edit Datasets #27

chadoh opened this issue Jun 26, 2014 · 0 comments
Labels

Comments

@chadoh
Copy link
Member

chadoh commented Jun 26, 2014

When you click "create dataset", here's what should happen:

  • A new, blank dataset is created in the database immediately (this differs from normal Rails stuff)
  • You get redirected to the "show" page for this new dataset
  • The "Title" field, nice and big in an >h1< at the top, is a form field, with "Untitled" as placeholder text, and is autofocused
  • The "Title" field has its own "Save" button
  • There's also an empty "description" field, with its own save button
  • Right now, these are the only two editable fields on Dataset, so they will be the only things shown
  • If a user who isn't logged in visits the page for this dataset, they should not see the forms, but only the values of those fields

Eventually, we'll want to pretty this up with some fancy JavaScript stuff, but this works for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant