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>/<id>/ # show a detail view for a given lot (aln is captured)
/seeds/<commonname-variety>-<aln>/edit/<id>/ # edit a seed that already exists
/seeds/<commonname-variety>-<aln>/delete/<id> # 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/<name>/edit/<id>/ # edit an already existing scientific name
/seeds/scientific-names/<name>/delete/<id>/ # 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.

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

Families

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

Version 0.2 (TODO)

Germination

Version 0.3 (TODO)

Incoming Orders

Outgoing Orders

Packets