Skip to content
Brian Dant edited this page May 18, 2013 · 6 revisions

Views for the next Sprint (Version 0.1)

A lot is a set of genetic traits. Adding a lot means that you will be adding all the information about a specific set of genetic traits (scientific name, variety name, germination rate, etc).

aln below is the combination of an Accession + Lot number. We will use this as a primary key on the Seed table/model.

Seeds

TODO: It might make more sense to call the Seeds model Lot and then name this url as /lots/ instead of /seeds/.

/seeds/ # show all the lots in the database in a list view /seeds/add/ # create a new lot /seeds/<commonname-variety>/<aln>/ # show a detail view for a given lot (aln is captured) /seeds/<commonname-variety>/<aln>/edit/ # edit a seed that already exists /seeds/<commonname-variety>/<aln>/delete/ # delete

Scientific Names

/seeds/scientific-names/ # view all the scientific names in a table /seeds/scientific-names/add/ # create a new scientific name /seeds/scientific-names/<name>/<id>/ # detail view on a scientific name /seeds/scientific-names//edit/# edit an already existing scientific name/seeds/scientific-names//delete/` # delete a specific scientific name

Varieties

TODO: An add view might not be necessary. We could always just assume that the user wants to add a new lot when they are adding a new variety.

/variety/ # view all the varieties /variety/add/ # add a new variety /variety/<commonname-variety>/<id>/ # detail view for a variety /variety/<commonname-variety>/edit/<id>/ # edit an existing variety /variety/<commonname-variety>/delete/<id>/ # delete an existing variety

Families

/families/ # view all the families /families/add/ # detail view for a family /families/<family-name>/<id>/ # detail view for a family /families/<family-name>/edit/<id>/ # edit an existing family /families/<family-name>/delete/<id>/ # delete an existing family

Version 0.2 (TODO)

Germination

Version 0.3 (TODO)

Incoming Orders

Outgoing Orders

Packets

Clone this wiki locally