mountetna / timur

Data browser for biologists
GNU General Public License v2.0
3 stars 6 forks source link

Order of attributes on record page changes when new attributes added to model #277

Open coleshaw opened 4 years ago

coleshaw commented 4 years ago

I may have to refresh my understanding of how the assay views load on Timur, but the cytokine one seems to be out of order now.

I added three new attributes to the model, and now when I view a cytokine record, the new attributes appear at the top of the record, before "Timepoint" and "Name". Shouldn't "Timepoint" and "Name" be pinned to the top?

Seems like it should be a Timur feature, if it is not a bug.

corps commented 4 years ago

What are the types for the attributes? I remember we came up with an ordering based on type the name.

graft commented 4 years ago

Also the result of not having an explicit view defined; the implicit default view that Timur builds does not apparently take care to order attributes sensibly.

coleshaw commented 4 years ago

Yeah, it appears that the ordering is random since it's a default view. I was going to modify the default view to always show parent (if available), then identifier, then leftover.

coleshaw commented 4 years ago

I don't really feel like we should have to manually define views for all the assays, especially big ones like SC RNA...