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

Make InterproScan default tab upon opening ProtAnnot

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      1
    • Sprint:
      Summer 2019 Sprint 7, Spring 6 : 30 Mar to Apr 10, Spring 7 : 13 Apr to 24 Apr

      Description

      When a user opens a new ProtAnnot window, the InterProScan tab should be on top.

      Note that nothing is selected at that point, so there is no reason for the Properties tab to be shown.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Assignee John Eckstein [ jeckstein ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Labels Beginner
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2019 Sprint 7 [ 66 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            prutha Prutha Kulkarni (Inactive) made changes -
            Assignee Prutha Kulkarni [ prutha ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Status Open [ 1 ] Needs 1st Level Review [ 10005 ]
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -
            Show
            prutha Prutha Kulkarni (Inactive) added a comment - I have raised a pull request. Below is the link: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/691/igbf-937-changed-interproscan-as-default/diff Could you please check it.
            Hide
            ann.loraine Ann Loraine added a comment -

            Code review is complete - it's fine!

            Next steps:

            • recruit another developer to assist
            • request they perform functional review

            I would recommend recruiting another new joiner to do the functional review so that they can get familiar with optionalPlugin projects and also the IGB app development workflows works.

            Show
            ann.loraine Ann Loraine added a comment - Code review is complete - it's fine! Next steps: recruit another developer to assist request they perform functional review I would recommend recruiting another new joiner to do the functional review so that they can get familiar with optionalPlugin projects and also the IGB app development workflows works.
            ann.loraine Ann Loraine made changes -
            Assignee Prutha Kulkarni [ prutha ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Needs Testing [ 10002 ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Status Needs Testing [ 10002 ] Needs 1st Level Review [ 10005 ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Needs Testing [ 10002 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            Hide
            chaitanya Chaitanya Kintali (Inactive) added a comment - - edited

            I have done the functional testing and the changes are working fine. InterProScan tab is on top when we open a new ProtAnnot window. Moving the ticket to Reviewing Pull Request and assigning back to the developer.

            Show
            chaitanya Chaitanya Kintali (Inactive) added a comment - - edited I have done the functional testing and the changes are working fine. InterProScan tab is on top when we open a new ProtAnnot window. Moving the ticket to Reviewing Pull Request and assigning back to the developer.
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Needs Testing [ 10002 ] Reviewing Pull Request [ 10303 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ] Prutha Kulkarni [ prutha ]
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -

            Functional testing is done for the change and its working fine.
            Dr. Loraine could you please merge the pull request?

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - Functional testing is done for the change and its working fine. Dr. Loraine could you please merge the pull request?
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Reviewing Pull Request [ 10303 ] Closed [ 6 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Closed [ 6 ] Testing In Progress [ 10003 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged to master.
            I think it is safe to close this thanks to the testing that was already done.

            Show
            ann.loraine Ann Loraine added a comment - Merged to master. I think it is safe to close this thanks to the testing that was already done.
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 16353 ] Fall 2019 Workflow Update [ 19662 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19662 ] Revised Fall 2019 Workflow Update [ 21781 ]
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Closed [ 6 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Prutha Kulkarni [ prutha ] Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            There may be a bug. It looks like the old behavior in which clicking on items in the display activates the Properties tab is no longer working.

            It was likely introduced with:

            https://bitbucket.org/aloraine/protannot/commits/abcd9ee0fe04d4760cfb07c1305050021be31ea4

            Please watch this video:

            Suggestions on how to fix:

            • Make a branch in which the change is reverted.
            • Build ProtAnnot from that branch and check to see if the buggy behavior persists.
            • If the buggy behavior is gone, submit PR.

            Then:

            Investigate code further to find out if you can make it possible for the InterProScan tab to be the active tab when the application first starts without changing what happens when users click on an item in the display. If it is not possible to do without a lot of refactoring, we can stick with the current behavior and mark this ticket as closed.

            Show
            ann.loraine Ann Loraine added a comment - - edited There may be a bug. It looks like the old behavior in which clicking on items in the display activates the Properties tab is no longer working. It was likely introduced with: https://bitbucket.org/aloraine/protannot/commits/abcd9ee0fe04d4760cfb07c1305050021be31ea4 Please watch this video: https://drive.google.com/file/d/1eV6B4S1QvbADXxJulsc_DBXe0hS9ahKi/view?usp=sharing Suggestions on how to fix: Make a branch in which the change is reverted. Build ProtAnnot from that branch and check to see if the buggy behavior persists. If the buggy behavior is gone, submit PR. Then: Investigate code further to find out if you can make it possible for the InterProScan tab to be the active tab when the application first starts without changing what happens when users click on an item in the display. If it is not possible to do without a lot of refactoring, we can stick with the current behavior and mark this ticket as closed.
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1908 [ 17998 ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 7 [ 66 ] Summer 2019 Sprint 7, Spring 5 : 16 Mar to 27 Mar [ 66, 90 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Created new branch that reverted commit abcd9ee: https://bitbucket.org/aloraine/protannot/src/IGBF-937-fix/
            Also incremented version to 9.1.2.
            Reverting the change restores the old behavior.

            Show
            ann.loraine Ann Loraine added a comment - Created new branch that reverted commit abcd9ee: https://bitbucket.org/aloraine/protannot/src/IGBF-937-fix/ Also incremented version to 9.1.2. Reverting the change restores the old behavior.
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged branch into master.

            Show
            ann.loraine Ann Loraine added a comment - Merged branch into master.
            Hide
            ann.loraine Ann Loraine added a comment -

            Built new version 9.1.2 of ProtAnnot and uploaded to App Store.

            For next steps:

            Investigate code further to find out if you can make it possible for the InterProScan tab to be the active tab when the application first starts without changing what happens when users click on an item in the display. If it is not possible to do without a lot of refactoring, we can stick with the current behavior and mark this ticket as closed.

            Show
            ann.loraine Ann Loraine added a comment - Built new version 9.1.2 of ProtAnnot and uploaded to App Store. For next steps: Investigate code further to find out if you can make it possible for the InterProScan tab to be the active tab when the application first starts without changing what happens when users click on an item in the display. If it is not possible to do without a lot of refactoring, we can stick with the current behavior and mark this ticket as closed.
            ann.loraine Ann Loraine made changes -
            Labels Beginner Advanced
            ann.loraine Ann Loraine made changes -
            Story Points 0.25 1
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Link This issue blocks IGBF-2293 [ IGBF-2293 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 7, Spring 5 : 16 Mar to 27 Mar [ 66, 90 ] Summer 2019 Sprint 7, Spring 6 : 30 Mar to Apr 10 [ 66, 91 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            prutha Prutha Kulkarni (Inactive) made changes -
            Assignee Prutha Kulkarni [ prutha ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -

            Sorry, I forgot to assign it to myself.
            I just added one line to set the InterproScan as a default tab. The change was in Activator function.
            Submitting it for the first level review.
            Changes are present at:
            https://bitbucket.org/pkulka10/prutha_protannot/src/IGBF-937/
            You can also go to the downloads section of the repo to add it as a plugin in IGB and you can test it from there.

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - Sorry, I forgot to assign it to myself. I just added one line to set the InterproScan as a default tab. The change was in Activator function. Submitting it for the first level review. Changes are present at: https://bitbucket.org/pkulka10/prutha_protannot/src/IGBF-937/ You can also go to the downloads section of the repo to add it as a plugin in IGB and you can test it from there.
            prutha Prutha Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Prutha Kulkarni - did you check what happens when users click a gene model or other item in the ProtAnnot display?

            (Please see video above for details.)

            Show
            ann.loraine Ann Loraine added a comment - Prutha Kulkarni - did you check what happens when users click a gene model or other item in the ProtAnnot display? (Please see video above for details.)
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -

            [~aloraine], I saw the video and understood what the expected behavior is. I will work on it on Tuesday. For now, moving the ticket back to In Progress.

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - [~aloraine] , I saw the video and understood what the expected behavior is. I will work on it on Tuesday. For now, moving the ticket back to In Progress.
            prutha Prutha Kulkarni (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment - - edited

            As suspected, the app was not able to select properties tab on selection of gene model because we changed the order in which the tab were added to the tabbed pane in the last commit. Previously the properties tab was the default tab whenever we used to open protannot window because it was added first in the tabbed pane. For IGBF-937 I changed the order of the tabs in the tabbed pane to make InterproScan tab as a default tab. But, the mouse press event has a code which selects the first tab in the tabbed pane whenever the gene model is selected which was properties tab initially and after the change the first tab was InterproScan tab. Now that Prof. [~aloraine] has reverted the changes, I just made one change in the activate event handler to select the second tab which will be the default tab on protannot window open event. Rest everything is kept as it as and it is now switching to properties tab whenever we are selecting gene model in the window. Please review the changes which are present at:
            https://bitbucket.org/pkulka10/prutha_protannot/commits/95a33f978067c454d1430aecaa060a5b2274913f

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - - edited As suspected, the app was not able to select properties tab on selection of gene model because we changed the order in which the tab were added to the tabbed pane in the last commit. Previously the properties tab was the default tab whenever we used to open protannot window because it was added first in the tabbed pane. For IGBF-937 I changed the order of the tabs in the tabbed pane to make InterproScan tab as a default tab. But, the mouse press event has a code which selects the first tab in the tabbed pane whenever the gene model is selected which was properties tab initially and after the change the first tab was InterproScan tab. Now that Prof. [~aloraine] has reverted the changes, I just made one change in the activate event handler to select the second tab which will be the default tab on protannot window open event. Rest everything is kept as it as and it is now switching to properties tab whenever we are selecting gene model in the window. Please review the changes which are present at: https://bitbucket.org/pkulka10/prutha_protannot/commits/95a33f978067c454d1430aecaa060a5b2274913f
            prutha Prutha Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            prutha Prutha Kulkarni (Inactive) made changes -
            Assignee Prutha Kulkarni [ prutha ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Interesting!
            The code had a booby-trap

            Show
            ann.loraine Ann Loraine added a comment - Interesting! The code had a booby-trap
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Reviewed this ticket. Yes it was really interesting how the working changed. Now it is working fine as expected - The default tab is InterProScan when the window opens but changes to Properties tab when a gene model is clicked on. Prutha Kulkarni kindly submit a PR for the same.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Reviewed this ticket. Yes it was really interesting how the working changed. Now it is working fine as expected - The default tab is InterProScan when the window opens but changes to Properties tab when a gene model is clicked on. Prutha Kulkarni kindly submit a PR for the same.
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ] Prutha Kulkarni [ prutha ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 7, Spring 6 : 30 Mar to Apr 10 [ 66, 91 ] Summer 2019 Sprint 7, Spring 6 : 30 Mar to Apr 10, Spring 7 : 13 Apr to 24 Apr [ 66, 91, 92 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -

            PR submitted for the same.
            https://bitbucket.org/lorainelab/protannot/pull-requests/12/igbf-937-fix-interproscan-and-properties/diff
            Prof. [~aloraine], could you please merge it into the master?

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - PR submitted for the same. https://bitbucket.org/lorainelab/protannot/pull-requests/12/igbf-937-fix-interproscan-and-properties/diff Prof. [~aloraine] , could you please merge it into the master?
            prutha Prutha Kulkarni (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged and ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - Merged and ready for testing.
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Prutha Kulkarni [ prutha ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Tested this ticket. Working as expected. Moving to closed.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Tested this ticket. Working as expected. Moving to closed.
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ] Prutha Kulkarni [ prutha ]

              People

              • Assignee:
                prutha Prutha Kulkarni (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: