overture-stack / dms-jbrowse-components

GNU Affero General Public License v3.0
0 stars 0 forks source link

QA Feedback Mega Ticket #18

Open b-f-chan opened 1 year ago

b-f-chan commented 1 year ago

Mega ticket for all feedback from QA - Can be split into smaller tickets if required.

Some initial feedback from June 8, 2023 demo included - @samrichca to add screenshots from local for this since QA environment not ready yet.

======= Feedback from June 8, 2023 Demo =======

FOR MVP:

Post MVP:

======= Feedback from QA: =======

samrichca commented 1 year ago

image

samrichca commented 1 year ago

additionally: fix the lack of horizontal scrolling here

image.png

edsu7 commented 1 year ago

Initial browsing, found items:

  1. Calendar pop up gets overlapped by body features image image

NOTE: [From @b-f-chan] Confirmed with @samrichca this is a DMS-UI side change, not an Arranger change Note from Sam: Added to list of enhancements.

  1. When clicking a variant, selecting "Show options" under "Samples", we can select columns, the menu that pops up seems to extend beyond the window image

NOTE: [From @b-f-chan] @samrichca to follow-up with @edsu7 offline to show her; cannot currently reproduce, don't know which files were used Note from Sam: Talked to Edmund & Caroline, made a ticket. https://github.com/GMOD/jbrowse-components/issues/3823

  1. The following Files error out between chromosomes:
    1c855fe5-a46a-5c5b-a5a2-bf884d62b9b7 (12-22)
    c47eeabe-3ce8-554f-8b81-c7870addad0c (15-22)
    77f69d8a-9161-550d-b5e3-63a03237a2ad (6-22)

    image

NOTE: [From @b-f-chan] @samrichca to reproduce with @edsu7 offline to check network tab and actual request; may need support from Caroline once troubleshooting info is available Note from Sam: Edmund & Caroline still troubleshooting.

  1. For "Unsupported files types" warning, could we make the message more explicit i.e. point out which file? For example below, both BAMs are visualized image The error instead belongs to hidden file 683d8024-d3a1-5686-a12e-982fd6c82ba4 image

NOTE: [From @b-f-chan] Consensus among team is to list the offending files in the error message. However, if they pick too many files, we're going to disable J-Browse button and show a custom tooltip telling them they are over the limit. @patrickdsantos to provide verbiage.

[From @patrickdsantos] Copy for the tooltip: Too many files have been selected. A maximum of 5 files may be selected at once.

Note from Sam: Added to list of enhancements.

  1. When adjusting the size of the row/cell in the table (e.g. exposing the whole ID for example), it'll snap back to the original size.

NOTE: [From @b-f-chan] Confirmed with @justincorrigible this is fixed on the Arranger side, so up to @samrichca to reimplement in DMS-UI

Note from Sam: Fixed in Arranger 31. DMS-UI has to be updated from 16 to 31 on QA.

samrichca commented 1 year ago
  1. we're discussing freezing/hiding the left panel when jbrowse is open. files tab being on top of everything should be fixed.
  2. I'll investigate and collect more info for Jbrowse team if needed.
  3. I'll investigate and collect more info for Jbrowse team if needed.
  4. good feedback on error messages
  5. arranger issue, I'll investigate
patrickdsantos commented 1 year ago

QA Feedback

  1. Loading animation appears on the top left corner instead of the centre of the page Note from Sam: Fixed in Arranger 31.
Screenshot 2023-06-29 at 9 47 08 AM

[From @b-f-chan] @justincorrigible believes this should already be fixed with latest Arranger, to be verified

  1. Files Selected Table should always be the same width as the JBrowse finder above Screenshot 2023-06-29 at 9 50 34 AM

NOTE: [From @b-f-chan] @samrichca to fix on DMS-UI side

  1. When files are selected in quick succession, the JBrowse button is unresponsive Screenshot 2023-06-29 at 1 47 12 PM

NOTE: [From @b-f-chan] This occurs because J-Browse button can only make one request at a time, so if user clicks multiple rows quickly, there is a lag. There's different ways to handle this, for example using debounce, or throttle, or we can add a spinner/loader. This happens both when you click Select All and multiple rows in succession individually. However, this is an edge case, the Select All issue is more likely to occur. Some investigation into best approach required. This is low priority, and when we get to it, prioritize Select All.

  1. Columns drop down menu doesn't hide when the download drop down is clicked on Screenshot 2023-06-29 at 1 50 32 PM

[From @b-f-chan] Confirmed with @justincorrigible this requires an Arranger fix

  1. When clicking on the applied filters, the entire filter dissappears. Is this the desired behaviour? Maybe we can we restrict this hotspot to just the area near the "x"? Screenshot 2023-06-29 at 3 16 04 PM

[From @b-f-chan and @justincorrigible] This is expected behaviour in Arranger; however suggested enhancement is to add a hover-state where the X gets highlighted on hover as a visual cue. LOW PRIORITY - @justincorrigible @patrickdsantos to discuss offline how to approach it

[From @patrickdsantos] Please change the "x" hover state to #979797

  1. In some instances when I deselect all files the JBrowse button is not disabled and I am allowed to open the visualizer with nothing selected. Screenshot 2023-06-29 at 3 19 05 PM

[From @b-f-chan] Could not reproduce in real-time with the team. @patrickdsantos to try reproducing one last time, else we will park or close this.

[From @patrickdsantos ] Was able to reproduce. If a user selects a controlled file and an open file then deselects the open file and controlled file in that order, the JBrowse button remains available and the user is able to visualize "0 files". I have a recording of the bug for better understanding.

  1. Are we limiting the user to only select 5 files? Or is the desired behaviour to visualize the first 5 of 10 selected files? Either way there are inconsistencies with the JBrowse button. If >5 files are selected the JBrowse button is disabled. If all files are selected and is >5 the first 3 are visualized with an error report. Screenshot 2023-06-29 at 3 37 18 PM Screenshot 2023-06-29 at 3 36 25 PM

NOTE: [From @b-f-chan] Consensus among team is to list the offending files in the error message. However, if they pick too many files, we're going to disable J-Browse button and show a custom tooltip telling them they are over the limit. @patrickdsantos to provide verbiage.

[From @patrickdsantos] Copy for the tooltip: Too many files have been selected. A maximum of 5 files may be selected at once.

  1. When J-Browse tab is open, if User goes back to Files and tries to Add or Deselect Files beyond the allowed limit, if User returns to J-Browse tab, show an error message (@patrickdsantos to provide verbiage).

[From @patrickdsantos] Copy for the error message: 0 files have been selected. Please select 1-5 files to launch JBrowse.

  1. ACCESSIBILITY ISSUE - When JBrowse button is disabled, the text should be set to #151C3D (our brand's black) for accessibility Screenshot 2023-06-29 at 3 23 27 PM

@patrickdsantos - To provide a darker gray for the disabled button state to accommodate this

[From @patrickdsantos] Please change grey button to #5E6068 with white text. (Apply this change for all disabled buttons.)

Design Feedback

NOTE: This section is all LOW PRIORITY. To do only after all other feedback in this ticket are addressed.

[this is more finicky stuff that isn't a huge deal but is a nice thing to fix if there's time!]

  1. Can we double the size of the "x" button on the JBrowse tab? Screenshot 2023-06-29 at 9 53 31 AM

  2. Increase the height of the title cell blocks to 6px in the original table Screenshot 2023-06-29 at 9 55 44 AM

  3. Remove spacing above first item in download list

    Screenshot 2023-06-29 at 1 49 54 PM

[From @b-f-chan] To be investigated, likely DMS-UI issue, but @justincorrigible will confirm

  1. Add line above title cell when ordering column alphabetically (ascending) line to appear on the bottom of the title cell when ordered descending Screenshot 2023-06-29 at 1 55 42 PM

[From @b-f-chan] @justincorrigible believes this should already be fixed with latest Arranger, to be verified

  1. Can we move the tabs so it's aligned with the edge of the table? Screenshot 2023-06-29 at 3 21 30 PM
samrichca commented 1 year ago

Update 08/10/2023: everything in this comment is completed

To do list for me

Cosmetic changes

  1. Make Selected Files table full-width.
  2. Increase the Z-index of the calendar so it doesn't get overlapped by the content.
  3. Move tabs a bit to the left.
  4. Make X bigger in tabs.
  5. Add loading spinner to Jbrowse launch button.
  6. Adjust the word break CSS in the facet panel so "to" doesn't have a break.
    1. fixed in https://github.com/overture-stack/dms-ui/pull/170
  7. TBD: "Show panel" label
  8. Add to hide/resize facet panel: Below a certain threshold, collapse/hide the facet panel.
    1. fixed in https://github.com/overture-stack/dms-ui/pull/170
  9. For scroll to top: What if the page is longer than my screen? Scroll to the top of the whole page.

Fixed in https://github.com/overture-stack/dms-ui/pull/170:

  1. Add to hide/resize facet panel: Below a certain threshold, collapse/hide the facet panel.
  2. Change all disabled buttons to background #5E6068 with white text.
  3. Adjust the word break CSS in the facet panel so "to" doesn't have a break.

Additional ticket for selection logic & errors: https://github.com/overture-stack/dms-ui/issues/171

justincorrigible commented 1 year ago

Updated the QA deployment with the following fixes:

Still pending:

samrichca commented 1 year ago

all completed except:

justincorrigible commented 1 year ago

For the "freezing" of Arranger filters, a workaround could be operating as a "modal". Without using a "window", but instead by applying an overlay that blocks interactions outside the jBrowse area, it would accomplish the intended result. Also, shouldn't be terribly difficult to implement, methinks.

I'm coming from the perspective that Arranger is designed to manage internally the functionalities it offers e.g. filters, and while blocking them could be a useful new feature for internal usage, this request seems more like a jBrowse concern.

Thoughts?