Open adkinsrs opened 4 weeks ago
@jorvis and I had a chat about this and came to a couple of conclusions
TODO:
To ease transition while I rewrite this, I converted the old layout members into a display-based one found in a new table called "layout_displays". Then I plan on adding a LayoutDisplay class in geardb.py and change/link all the calls to the LayoutMember to the new class (and table references everywhere too)
This has been a longstanding request and previously users have addressed this by cloning a dataset upload for the sole purpose of changing to a different default display for the cloned dataset.
The idea is to modify the layout_members table and client/server side code to accept multiple datasets in a single layout. This will require, in my opinion, some extensive modifications.
(I also apologize if I use "layout" and "collection" interchangeably)
These are just some thoughts I had around switching over to a layout (collection) format that allows a dataset to appear multiple times. Overall, while it's a "need-to-have", I think there are some logistical hurdles we need to discuss before diving head-first into this, as simply changing the table has widespread ramifications on default displays, filtering single and multigene displays, and any code that relies on those and layout member information.