Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1155

Make right-click menu items consistent between uses

    Details

    • Story Points:
      1
    • Sprint:
      Winter 2018 Sprint 3, Spring 2019 Sprint 1

      Description

      User story:

      "When I right click an item (Glyph) in a track, a context menu appears.
      One of the options is "Search Web"
      If I select "Search Web," a new menu appears (a submenu) with links to sites.
      The order of the sites shown changes apparently at random as I repeat this action with the same or different items.
      This is confusing because it doesn't let me learn where to find a particular option.
      This should be fixed to ensure that menu items always appear in the same location in the menu."

      To reproduce:

      • Load an Annotation track (Araport11 from A_thaliana_Jun_2009 genome version)
      • Right-click on item in the track.
      • Choose the "web search" option to activate a sub-menu.
      • Note there are two options: "TAIR" and "Google"
      • Repeat. Note that "TAIR" and "Google" are listed in a different order from before

      Task:

      • Find out why this random sorting is occurring.
      • Propose a fix here (add a Comment).
      • Create a new Jira issue (Improvement) for implementing the proposed fix. (Link this issue for instructions on how to do it.)

        Attachments

          Issue Links

            Activity

            ieclabau Ivory Blakley (Inactive) created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Assignee Ann Loraine [ aloraine ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Summary right-click menu items should be ordered Make right-click menu items consistent between uses
            ann.loraine Ann Loraine made changes -
            Description When I right click a track name, the items in the menu are consistently in the same order.
            This is great, I subconsciously anticipate where my favorite button will be as I right click.

            When I click on gene annotations, or reads, the menu sections (separated by horizontal gray lines) are in a consistent order, but most of the sections randomly order their 2-3 members.

            Right-click on a gene model, hover over the "web search" option to get that sub menu (Arabidopsis has this sub menu, not all genomes do) and the three items are randomly ordered. This is likely to annoy anyone who uses any of these items repeatedly, and I think several uses in rapid succession is the most common real use case.

            Items in the right-click menu should always be listed in the same order.

            User story:

            "When I right click an item (Glyph) in a track, a context menu appears.
            One of the options is "Search Web"
            If I select "Search Web," a new menu appears (a submenu) with links to sites.
            The order of the sites shown changes apparently at random as I repeat this action with the same or different items.
            This is confusing because it doesn't let me learn where to find a particular option.
            This should be fixed to ensure that menu items always appear in the same location in the menu."

            To reproduce:

            * Load an Annotation track (Araport11 from A_thaliana_Jun_2009 genome version)
            * Right-click on item in the track.
            * Choose the "web search" option to activate a sub-menu.
            * Note there are two options: "TAIR" and "Google"
            * Repeat. Note that "TAIR" and "Google" are listed in a different order from before

            Task:

            * Find out why this random sorting is occurring.
            * Propose a fix here (add a Comment).
            * Create a new Jira issue (Improvement) for implementing the proposed fix. (Link this issue for instructions on how to do it.)

            ann.loraine Ann Loraine made changes -
            Story Points 1
            Sprint Winter 2018 Sprint 3 [ 58 ]
            Labels Beginner Intermediate
            nfreese Nowlan Freese made changes -
            Attachment googleFirst.png [ 14210 ]
            Attachment tairFirst.png [ 14211 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            Hide
            kkorey Kiran Korey (Inactive) added a comment - - edited

            The random sorting was due to the use of SET, which is an unordered collection.
            Changing to different collection affects a lot of places.
            So, sorting based on the label of the menu item is performed, before adding to the Jmenu.

            Need a first level review for this branch.
            https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1155-context-menu

            Thanks.

            Show
            kkorey Kiran Korey (Inactive) added a comment - - edited The random sorting was due to the use of SET, which is an unordered collection. Changing to different collection affects a lot of places. So, sorting based on the label of the menu item is performed, before adding to the Jmenu. Need a first level review for this branch. https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1155-context-menu Thanks.
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            nfreese Nowlan Freese made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            Hide
            nfreese Nowlan Freese added a comment -

            1st Level Review:
            Issue appears fixed. The sites are now ordered in "Search Web". Kiran also noticed that the "Get Info" and "Search Web" menu items were also themselves unordered and would flip randomly. They are now ordered as well.

            Show
            nfreese Nowlan Freese added a comment - 1st Level Review: Issue appears fixed. The sites are now ordered in "Search Web". Kiran also noticed that the "Get Info" and "Search Web" menu items were also themselves unordered and would flip randomly. They are now ordered as well.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Needs a fix to the commit, then it should be ready for a pull request.

            Show
            nfreese Nowlan Freese added a comment - - edited Needs a fix to the commit, then it should be ready for a pull request.
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Kiran Korey [ kkorey ]
            nfreese Nowlan Freese made changes -
            Status Reviewing [ 10301 ] In Progress [ 3 ]
            nfreese Nowlan Freese made changes -
            Status In Progress [ 3 ] Reviewing [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 3 [ 58 ] Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 58, 59 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            kkorey Kiran Korey (Inactive) made changes -
            Status Reviewing [ 10301 ] In Progress [ 3 ]
            Hide
            kkorey Kiran Korey (Inactive) added a comment -
            Show
            kkorey Kiran Korey (Inactive) added a comment - Nowlan Freese , Can you take a look at the commit now? https://bitbucket.org/kkorey/kkorey-igb/branch/IGBF-1155-context-menu
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            nfreese Nowlan Freese made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            Hide
            nfreese Nowlan Freese added a comment -

            Commit looks good, moving to ready for pull request.

            Show
            nfreese Nowlan Freese added a comment - Commit looks good, moving to ready for pull request.
            nfreese Nowlan Freese made changes -
            Status Reviewing [ 10301 ] Ready for Pull Request [ 10304 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Kiran Korey [ kkorey ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged to master.

            Show
            ann.loraine Ann Loraine added a comment - Merged to master.
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            nfreese Nowlan Freese made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Testing Mac: Working Correctly

            Note: In the right click menu, the Get Info and Google menu options are unordered. This was not part of this issue, but would be related. A new issue has been raised IGBF-1540.

            Show
            nfreese Nowlan Freese added a comment - - edited Testing Mac: Working Correctly Note: In the right click menu, the Get Info and Google menu options are unordered. This was not part of this issue, but would be related. A new issue has been raised IGBF-1540 .
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-1540 [ IGBF-1540 ]
            Hide
            karthik Karthik Raveendran added a comment -

            Testing Windows: Working Correctly
            Note: In the right click menu, the Get Info and Google menu options are not ordered. This was not part of this issue, but would be related. This issue raised has been raised: IGBF-1540

            Show
            karthik Karthik Raveendran added a comment - Testing Windows: Working Correctly Note: In the right click menu, the Get Info and Google menu options are not ordered. This was not part of this issue, but would be related. This issue raised has been raised: IGBF-1540
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            Testing Linux: Working Correctly

            Note: In the right click menu, the Get Info and Google menu options are unordered. This was not part of this issue, but would be related. A new issue has been raised IGBF-1540.

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - Testing Linux: Working Correctly Note: In the right click menu, the Get Info and Google menu options are unordered. This was not part of this issue, but would be related. A new issue has been raised IGBF-1540 .
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17797 ] Fall 2019 Workflow Update [ 19802 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19802 ] Revised Fall 2019 Workflow Update [ 21921 ]

              People

              • Assignee:
                kkorey Kiran Korey (Inactive)
                Reporter:
                ieclabau Ivory Blakley (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: