Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      There is something a bit wonky with the the app store tiles. Sometimes the categories are shown on the tiles themselves, sometimes not.

      To repeat, do the following steps (using Chrome or other browser in incognito window to ensure you are using the latest css, or clear cache first):

      • Go to https://devappstore5.bioviz.org (latest master branch code)
      • Click "Plugin" (under App type)
      • Observe that "Plugin" appears on some but not all the tiles (see 1.png)
      • Now click "Any" (under App type)
      • Observe that now suddenly all the tiles are showing their associated categories (2.png)

        Attachments

        1. 1.png
          1.png
          237 kB
        2. 2.png
          2.png
          284 kB
        3. nav_panel.js.jpg
          nav_panel.js.jpg
          17 kB

          Activity

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Epic Link IGBF-2563 [ 18746 ]
          ann.loraine Ann Loraine made changes -
          Attachment 2.png [ 15065 ]
          Attachment 1.png [ 15066 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Assignee Chirag Chandrahas Shetty [ chirag24 ]
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - Submitted PR. Link: https://bitbucket.org/lorainelab/appstore/pull-requests/249
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Assignee Chirag Chandrahas Shetty [ chirag24 ]
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Merged and deployed to https://devappstore5.bioviz.org. Ready for testing.

          Show
          ann.loraine Ann Loraine added a comment - - edited Merged and deployed to https://devappstore5.bioviz.org . Ready for testing.
          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 ] Ready for Pull Request [ 10304 ]
          ann.loraine Ann Loraine made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          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 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status Post-merge Testing In Progress [ 10003 ] Merged Needs Testing [ 10002 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ann.loraine Ann Loraine made changes -
          Sprint Fall 7 Dec 14 - Dec 23 [ 110 ] Fall 7 Dec 14 - Dec 23, Winter 1 Dec 28 - Jan 8 [ 110, 111 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          I have a Question regarding the changes done in this commit:

          • Triggering the event for radio buttons in unnecessary:
            -
            $(function() { $("input[type=radio]").trigger('change'); }

            );

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited I have a Question regarding the changes done in this commit: https://bitbucket.org/lorainelab/appstore/commits/cf06c5afabfe377757799a06535f5fc1a5db0fa0 Triggering the event for radio buttons in unnecessary: - $(function() { $("input[type=radio]").trigger('change'); } );
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          Recommendation:

          • Make a function which would segregate all the things inside the current checked event
          • call that function when the js loads
          • we can use that function when the checked event is invoked as well as in any other event / refresh

          Three Reasons to do it this way:

          • As we are segregating things in to a function, function name makes it easy for the developer to understand what's going on inside that function
          • Can be called from any other place without code repetition
          • Adding comment above the function is also a good idea to make it extremely clear on what exactly is happening

          P.S. Please refer to the Screenshot of the code attached that does the things I explained.

          Attn: Chirag Chandrahas Shetty [~aloraine]

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited Recommendation: Make a function which would segregate all the things inside the current checked event call that function when the js loads we can use that function when the checked event is invoked as well as in any other event / refresh Three Reasons to do it this way: As we are segregating things in to a function, function name makes it easy for the developer to understand what's going on inside that function Can be called from any other place without code repetition Adding comment above the function is also a good idea to make it extremely clear on what exactly is happening P.S. Please refer to the Screenshot of the code attached that does the things I explained. Attn: Chirag Chandrahas Shetty [~aloraine]
          sameer Sameer Shanbhag (Inactive) made changes -
          Attachment nav_panel.js.jpg [ 15076 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          I am not sure I understand the proposed change, but it sounds like it will make the code easier to understand and maintain. Please make the change as you see fit.

          attn: Sameer Shanbhag

          Show
          ann.loraine Ann Loraine added a comment - I am not sure I understand the proposed change, but it sounds like it will make the code easier to understand and maintain. Please make the change as you see fit. attn: Sameer Shanbhag
          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited Pull Request Submitted: https://bitbucket.org/lorainelab/appstore/pull-requests/256/igbf-2709-improve-code-readability-and C.C. [~aloraine]
          Hide
          ann.loraine Ann Loraine added a comment -

          Merged and deployed to https://devappstore3.bioviz.org

          Show
          ann.loraine Ann Loraine added a comment - Merged and deployed to https://devappstore3.bioviz.org
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Assignee Chirag Chandrahas Shetty [ chirag24 ]
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment -

          Looks Good. Closing the ticket.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - Looks Good. Closing the ticket.
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          chirag24 Chirag Chandrahas Shetty (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

            People

            • Assignee:
              chirag24 Chirag Chandrahas Shetty (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: