-
Notifications
You must be signed in to change notification settings - Fork 2
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
Shopping cart bug tracker #1401
Comments
Cart bug 1
Expectation is that it would be selected the first time it's clicked. |
Cart observation 2 (or bug?)
Expectation is that there would be no changes to the cart. |
@G-White-ISB the explore page looks really nice! I would actually love for that UI facelift to just go to the main portal without waiting for the cart to be finished (but definitely let's not make anyone's life even more complex by separating those, unless its not difficult). I spent some time with this today, and here are some findings. Some of those are unfortunately seem to be rather serious.
|
|
Ok, let's rephrase the tooltip as I suggested and include total size: ""X series selected from K collections/L cases/M studies. Total size N GB/TB."
Let me rephrase the question. Is there any logic in having table in pink in the cart page, and black in the explore page? I have nothing against pink. Just curious about the motivation for using different colors.
I've just tried again, and was able to reproduce it on the first try by adding NLST collection to the cart. |
Few nitpicks:
|
@fedorov, all items in the comment directly above have been fixed. Also, the cart summary text has been changed to your recommendation, except size is not explicitly calculated. The size calculation is being considered. |
As communicated on slack, trying to add NLST to the cart results in a ~20 sec delay followed by empty cart. Regarding the revised design, here's the initial mockup (colors/icons are placeholders, open for revision) (source https://drive.google.com/file/d/1UDZlab52Q1Ly3Q-j7kykmHgVqgs5oKsn/view?usp=sharing) We could have filter cohort and cart cohort to be presented on separate, collapsible panels. |
What is that icon just to the LHS of the Filter cohort definition? Is that clickable? |
No, it's not a button, just an icon. I just had this idea to connect the concept of "filter cohort" with an intuitive icon, to parallel that for the cart cohort. Just an idea. |
@G-White-ISB I tried again today. This time it took about 50 seconds! But this time the cart was not empty when spinner was done. But why is the cart icon yellow, if I added the entire collection? |
Another observation/concern. If I try to remove an individual series from the cart after adding the entire NLST collection, after I click the remove from cart button at the series level, I do not get any spinner, but I also cannot interact with the page for about 25 seconds. At the very least, there should be a spinner, no? |
When you add NLST to your cart in the test portal the back finds ONE LESS series to add than is expected, 587771 instead of 587772. That is why the cart is yellow. This problem does not occur in the expr portal where all 587772 series are added to the cart. I'm confused by this and may need Suzanne's help. When you remove or add a case/study/series the cart counts on the tables, the cart colors, functions of the carts (add or remove) are all updated. I have a generic function to take care of this but I realize now its not efficient for a large cart. It wouldn't be hard to retool and would be worth doing. Also, agree a spinner would be useful. Its a front end calculation so there is no sever call to automatically start the spinner |
@G-White-ISB following up on the discussion this week, please return the capability that allows to expand a row in a table by clicking anywhere in the row (except the clipboard copy buttons etc) to make the new behavior consistent with the current behavior of the portal. |
@s-paquette bringing back the functionality to allow clicking on the row should not be hard. If it turns out to be difficult, we will revisit. |
Spinner on operations is still missing (e.g., removing a single series from the cart). Sometime spinner is present, then disappears, but some call is still not done. |
@s-paquette I realized that lagginess in updating the UI and lack of UI blocking until update is completed that we observe for the test tier as part of cart testing right now is the same issue as reported here: #1420. |
@fedorov Yes these are largely all related at this point. Builds are now up on dev and test which address the following:
Investigating: single-series addition seems to break under some conditions Question: @fedorov In the case where eg. a study, case, or collection is added to the cart, but some of the series contained in those do not match the filter (eg. perhaps their modality is different) - does the filter take precedence over the cart addition? |
Good question! Let's add this to the agenda for the tomorrow meeting. I think it can be one way or another, and I am not sure which way is more intuitive. |
With respect to this question: on June 20 in the SLACK releases-dev Channel: George White: David Gibbs: "I think we should stick with our current system, making selections available as defined by the current filter. 1. Set filter, 2. make selections under that filter." |
@fedorov @pgundluru New build on dev and test which addresses some of the button moving/adding, etc. Andrey, to make sure I have this right, you want the cart info and filter info int their own distinct panels, right? We could swap the filter panel to behave like PDC's: they don't have a title on it, instead while there's no filter chosen it just says 'select a filter at the left' and once you do, the action buttons and filter def appear. Does this sound preferable? It saves us some space and looks a bit cleaner overall. Then, for the cart, similarly while it's empty it's just a bit of text saying 'cart empty. use the cart icons in the table below to add series to this cart' or similar. Then once something is added, the descriptive text and buttons appear. |
Yes, I would like to experiment with that, if this is not difficult. Can you do this, so I can tell if this looks good? Please ping me on slack if you can when it is ready.
Yes, let's try this out! Couple other cosmetic suggestions that I hope are quick to implement:
Also, I noticed expansion of the hierarchy down from the collection level is super slow, and the issue with UI update lag is very prominent. Please see this video: https://app.screencast.com/XO3w2UtNW62Zj. This is extremely confusing and not acceptable to pass testing! The delay in UI update is also not acceptable. Is it really our only option to test if we have the same issue in production tier by moving it to prod? |
@fedorov A note, the screencast has no audio for me; I don't know if it was supposed to, but I don't hear anything. It looks like in the video that you started with a cart already selected--can you let me know what series was in there before you started this? (I can't always reliably reproduce the behaviors without following the exact route taken, so it's best if I can start from the cart you have here in the video.) The rest of this is all very doable. One point, I'd mentioned removing 'Filter Definition' entirely, since we're splitting cart contents and filter definition from one another there's maybe less reason to title anything. Did you want to keep those titles per your second bullet item? |
There was no audio. Here's a new video that starts from empty: https://app.screencast.com/DgSCfrnFkCESH. In summary: 1) add single case from NLST to the cart; 2) observe enormous (~20 sec!) delays in updating the content of the collections list after resetting/changing the filter (and that is ~20 sec after the spinner disappears).
If we move the download button into the same tile as the cohort filter definition, then we can remove the title. Otherwise I think it is too difficult to connect the unnamed filter definition with the "Download cohort" button. |
@fedorov Got it, and thanks for the new video. Here's what I have at the moment: One catch. View cart, unlike ALL the other buttons, redirects to a new page. Making it open a dialog would only slow the page down more, and making it open in a new tab (as opposed to the current one) would take some time to rewrite. Are we okay with this? An upshot/stopgap is you can hit the back button from the cart and you will be back on the explorer page with no changes or reloads. Note, this image above is currently building on dev and test, will be available in ~20m |
I feel like something is missing. Since we have 2 tiles, I feel like they need some titles. But I don't want to delay. We can refine later. BUT few small things would be nice to fix:
Yes, in spirit of being agile, I am ok with this! |
@fedorov Note, we don't currently tabulate the collections which are in a cohort. Although we can this requires some changes to how counts are done on the backend, so I'd like to recommend we break that specific item out into a separate ticket ('include number of collections in cohort stats' or similar) and otherwise I can make them all look the same. |
Ok, let's then align formatting while skipping collection count and total size for the cart content. |
-> Adjusted chart show/hide icons to match those used for the URL (left: closed, down: open)
@fedorov Most recent build has addressed: info tooltip icon being hidden when the charts are collapsed, formatting and colors on the cart and cohort information text, button activities. Remaining: removing/adding a specific series is causing an error when you attempt to view the cart, and the slowdowns with large carts. |
@fedorov @pgundluru Dev tier now has the following:
|
Planned for when I get back: basic visual adjustments so it's not just the monolithic spinner no matter what anyone does, i.e., 'Updating cart...' for cart operations, 'Updating tables...' for table operations, this kind of thing. |
@s-paquette sounds great - let's advance to test! |
@s-paquette it appears that there is a long delay after resetting cohort filter and updating the content of the tables. There is no spinner while that is underway. To reproduce this, select "ESophagus" under Derived > Segmentations > Segmentation type, add to cart some patients/studies from NLST (but not necessarily the entire collection), then reset cohort filter - list of collections update is lagging, while user can still interact with the items in the collections list. |
General issue to track bugs and issues related to the shopping cart.
The text was updated successfully, but these errors were encountered: