Open sarahrichmond opened 6 years ago
https://github.com/ausecocloud/workspace-ui/pull/9
Because we don't have snippets POST/GET APIs, I store the selected dataset in customer' browser storage, and share these datasets between components such as Explor and Snipets. More work should be done on snippets code, copy to clipboard, download all snippets, and save snippets to drive.
@sarahrichmond Can I ask where the mock up that you referred to is? It's not attached to this issue...
@manhinli This is the data-staging page mockup that Sam drew up. Perhaps check in with @jevy-wangfei how far he has got with this.
At this stage, how persistent does the selected set of datasets need to be?
As in, does the application need to keep track of the set:
Click "Add To Selection" will add the dataset to the top: Datasets Selected: Click "View Snippets" will be directed to the snippets page with selected datasets displayed with code snippets.
Note:
Code has been pushed and merged to master branch
The selected datasets was stored at customer' browser storage, and share these datasets between components such as Explor and Snipets.
More work should be done on Snippets page (or say data staging page):
[ ] - snippets code,
[ ] - copy to clipboard,
[ ] - download all snippets, and
[ ] - save snippets to drive.
Discussed with @jevy-wangfei and will be taking up the remaining tasks as mentioned in the above comment for this issue.
@sarahrichmond Should the selection of data for the cart feature be done per-dataset (containing multiple distributions) or per-distribution (one of those bullet pointed data files within a dataset), or possibly both?
Hi James. Should happen per-distribution so that users are able to select just one layer within a dataset.
We can add a per-dataset feature down the line, for now I think we focus on the individual layers
-- Sarah Richmond | Project Manager Ecoscience Research Cloud (ecocloud) Biodiversity and Climate Change Virtual Laboratory (BCCVL)
eResearch Services Griffith University | Gold Coast Campus | QLD 4222 | Learning Commons (G11) Room 4.42 T +61 7 5552 8428 | M 0411 790 475 | E sarah.richmond@griffith.edu.au
From: James Li notifications@github.com Sent: Tuesday, August 7, 2018 4:47 pm To: ausecocloud/ecocloud Cc: Sarah Richmond; Mention Subject: Re: [ausecocloud/ecocloud] Build cart/data staging page (#12)
@sarahrichmondhttps://github.com/sarahrichmond Should the selection of data for the cart feature be done per-dataset (containing multiple distributions) or per-distribution (one of those bullet pointed data files within a dataset), or possibly both?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ausecocloud/ecocloud/issues/12#issuecomment-410951928, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANaldV5NfTUqEcZar9tQQNh5TCgJb5YEks5uOTgSgaJpZM4Vp8Ew.
Made a fair bit of progress in ausecocloud/workspace-ui#10:
Outstanding questions:
@manhinli
Download all snippets was meant to be a drop down box where a user could choose to download all snippets into an R file, a Python file, or a text file. This is to save them from copy and pasting numerous times when they have a number of different files. Ideally, we should be able to package all the R snippets into an R file, and all the Python snippets into a Python file and then also offer a text file with all snippet options
@sarahrichmond Is this to be done as part of this ticket/sprint or shall it be filed as a separate feature? We don't have the structure of the file sorted out yet (e.g. Store all the data in one big array/vector/list? How should we identify them for users to pick out?)
Discussed "Download all snippets" button with @sarahrichmond - will be temporarily hidden for future development.
This task has two parts:
Build data cart functionality on the Explorer page i.e. add "add to cart" button next to each resource in the dataset list
Build data staging page (mock up attached) that grabs the snippet templates and populates it with the correct URLs This includes the ability to grab export all snippets for all resources to a single file (python or R or even text)