plantinformatics / pretzel

Javascript full-stack framework for Big Data visualisation and analysis
GNU General Public License v3.0
44 stars 13 forks source link

Changes to right panel display of metadata for Dataset : show Type value, tags, namespace, descriptive type. #64

Open Don-Isdale opened 6 years ago

Don-Isdale commented 6 years ago

From discussion on #dev, 2013Aug13 : gabriel [2:05 PM] ... the Type field displayed in the right panel ... don [2:07 PM] those datasets should all be type : linear ... currently blank ... don [2:09 PM] this might be more informative than type : "tags": [ "90kMarkers" ... gabriel [2:10 PM] i was thinking a type field for the user to know what it is... as it is, there's no clear indication of what is genetic map, what is genome, etc ... we should indicate things like "Genetic map", "Physical genome" etc [2:05 PM] don [2:10 PM] if the blocks of a dataset all had the same namespace, then could show namespace there gabriel 2:11 PM namespace should also be in that panel i think yes


Don-Isdale commented 5 years ago

Editing of dataset values : meta and namespace :

There is currently an edit option in the left panel Datasets : Datasets : change name of block. We could add an option to open an edit dialog from there, or alternatively we could edit in-situ in the right panel : Dataset (components/panel/manage-dataset.hbs).

Don-Isdale commented 5 years ago

meta json editor : disable edit button when dataset is not owned by logged-in user

meta json editor : use the ownership information (referring to the Public / Mine filters in the explorer as an example) to disable editing a dataset or block not owned by the logged-in user, to avoid being logged out by the API. This was done by kieranongh in b988cc6 and c5b462e The above comment (14Jan) was done by kieranongh in these commits : * 2a423d9 Make editor read-only * 84aa308 Set editor in panel to View only * 4e5d446 Updated package.json for modal * 1724981 Include modal library, put JSON editor inside modal

* | | 151aa0d Initialise JSON to an empty object, editor didn't like undefined

* | e87fe79 Save JSON to database with buttons |/
* 64746cd Include a JSON editor for metadata

(from : git log --oneline --abbrev-commit --graph 64746cd^..2a423d9)