SETI / rms-opus

PDS OPUS - Outer Planets Data Search Tool
Apache License 2.0
10 stars 7 forks source link

845 recycle bin functionality #892

Closed dstopp closed 4 years ago

dstopp commented 5 years ago

Recycle bin functionality - Addresses issues:

845

871

864

883 - not yet complete

Includes minor back end changes: -modified reset to return total counts/recycle counts -added option to return all the download option columns including items in recycle bin Front end changes to #cart tab: -add recycle icon on obs image when observation in recycle bin -restore original edit ability on #cart tab, including ctrl-click and range options -change #cart add/remove icons and text to reflect remove/restore to recycle bin w/new icons in all places those icons appear, including the observation sliding menu, mini menu, gallery view and table view hover text. -in the table view, draw a green line through the observation to indicate in recycle bin -update the cart status badge to display on the number of items in the cart -move the download buttons to the download options panel -change the Empty Cart button to a nav option -Add to the nav line Empty Cart Recycle bin and Restore Recycle Bin to Cart w/badge showing number of items in the recycle bin -disable the Empty/Restore recycle bin nav items when there is nothing in the recycle bin -update the download options panel to reflect changes as observations are removed/restored to the cart, as well as the total size an total files counts -update Getting Started Guide

Additional changes: -added a border/shadow around the recycle and binoculars to make them stand out better; -made the cart border more defined by making rounded edges and thicker border

rfrenchseti commented 5 years ago

Also this test is failing:

File "/seti/src/debby-pds-opus/opus/application/test_api/test_cart_api.py", line 769, in test__api_cart_remove_one_download_recyclebin1

rfrenchseti commented 5 years ago

From the commit message:

-changed panel name "Download Options" to "Download Data" in all places including comments -fixed the formatting on the download data panel when collapsed/expanded -updated the heading for the "Download Data" panel -updated popup text for #cart tab -really dimmed the blue nav options when not available -removed Downloads/csv... file that was accidentally added -updated text in cart.html and base.html per comments -changed "your cart/recycle bin" text style to "the cart/recycle bin" text style including confirm diaglog -updated gettingstarted.html w/modified cart description of recycle bin

rfrenchseti commented 5 years ago

Updates to my comments above:

rfrenchseti commented 5 years ago

We need to revisit responsiveness on the cart tab. Right now the breaks are at sort of weird places, and browser sizes only a few pixels apart given different layouts when they don't need to.

rfrenchseti commented 4 years ago

I think the confirm dialog for "Empty Cart" should say, if there are any observations in the recycle bin, "Remove all observations from the cart and the recycle bin?"

rfrenchseti commented 4 years ago

Updates to my comments above:

rfrenchseti commented 4 years ago
rfrenchseti commented 4 years ago