-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplified User-Facing Dataset Collection Model #1810
Comments
Ping @carlfeberhard - I know you have expressed frustration that collections don't operate this way currently. Does this list capture how you would like collections to operate? Before I start hacking on the backend I'd like to reach some consensus on how it should work. |
I believe so (so far at least). Some questions though:
|
They won't have an hid but they will have a history_id I guess, if we can make that work. child datasets maybe used to work this way?
I don't think we can realistically change existing histories. My preferred answer to this question would be something like... we generally assume and build features just around the new assumption (I mean histories already may be setup this way - so it is something we currently support right?) but we don't explode on the legacy histories? Like if there is counter-intuitive things for existing histories or confusing GUI behavior - we just suggest people copy the non-hidden stuff to a new, clean history rather than handling the old entities. Admittedly I don't understand in what ways the differences affect the GUI though - I guess I was hoping this would be a dialog about that.
Essentially yes - I think. Though I'm now wondering if |
👍 |
I thought we had at least solved copying a collection also copying the HDAs but it sounds like this may not be the case according to @mvdbeek. I'll try to write up some test cases for this. |
There is a bunch of complexity related to dataset collection HDAs - for instance they may or may not appear elsewhere in the history (not just datasets with different HDAs - but the same HDA). This results in terrifying consequences such as a user being able to delete an HDA and affecting a collection that is seemingly unrelated to them. I implemented this but I was just doing what the Trello card spec'ed out - the design was someone else's and I largely don't regret that the models are flexible enough to allow these combinations - but under normal UI-driven use things almost certainly should be simpler.
I am going to layout here how I think it "should" work - i.e. how it UI-driven interactions should operate. I am hoping to get some consensus on this.
hid
is used in tool actions - something else should be used - probably<hdca_id>:(<element_id>:*):<element_id>
-> e.g.1:sample_x:forward
. Element IDs are preserved like tags instead of growing like names - so this works more like HIDs.hdca.collection.populated
is True, those are the HDAs that belong to the collection forever - those HDAs may change but the contents of the HDCA will now.The text was updated successfully, but these errors were encountered: