Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-516

Allow users to designate folders with properties in QL

    Details

      Description

      I am assigning this to HV initially. Please re-assign or not as you see fit.

      Currently, if a QL data provider wants to group data sets into folders, she has to use the "slash-hack."

      That is, she has to use strings like the following to get IGB to organize data sets into folders.

      For example, to get the data set "foo" to appear in folder "bar," the annots.xml has to look like this:

      <file name="bar/foo"/>

      This is awkward and also makes it impossible to associate "i" buttons and other other attributes to the folder.

      I would like to propose that we modify the annots.xml format to allow "folder" tags, that would look like this:

      <folder name="bar" url="http://www.example.com" description="Data files you might like">
      <file name="foo" url="http://www.example.com/foo" description="A really great data set"/>
      </folder>

      Moreover, folder tags would be able to contain other folders as well as files.

      Last but not least, the order the folders and files appear in the annots.xml file should dictate the order they appear in the IGB Data Access Panel's Data Source and Data Sets window.

        Attachments

          Issue Links

            Activity

            Hide
            imnick Nick Ren (Inactive) added a comment -

            <root>

            <folder name="">

            <file name="", title="", description="", url="",....../>

            </folder>

            <file name="" ...... />

            ......

            ......

            <folder name="">

            <file ...... />

            </folder>

            <root>

            The above is the basic structure of the new XML format.

            Previously, if QL data providers wants to group data sets into folders, they have to use the "slash-hack".

            For example, to get the data set "foo" to appear in folder "bar," We need to specify title attribute value to "bar/foo".

            Now, for the new format, no need to bind 'folder path' to title value. The example above with the new format will set title value to "foo" instead of "bar/foo".

            For a demo, I set up a quickload site: http://www.zren.me/quickload/.

            For the new xml format, check this link: http://www.zren.me/quickload/A_thaliana_Jun_2009/annots.xml

            Show
            imnick Nick Ren (Inactive) added a comment - <root> <folder name=""> <file name="", title="", description="", url="",....../> </folder> <file name="" ...... /> ...... ...... <folder name=""> <file ...... /> </folder> <root> The above is the basic structure of the new XML format. Previously, if QL data providers wants to group data sets into folders, they have to use the "slash-hack". For example, to get the data set "foo" to appear in folder "bar," We need to specify title attribute value to "bar/foo". Now, for the new format, no need to bind 'folder path' to title value. The example above with the new format will set title value to "foo" instead of "bar/foo". For a demo, I set up a quickload site: http://www.zren.me/quickload/ . For the new xml format, check this link: http://www.zren.me/quickload/A_thaliana_Jun_2009/annots.xml
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Please note - ultimately, we'd like to have a search box next to the data sets file tree that would allow users to search for data sets based on their attributes. The UI that would present the search results might be something very different from a file tree. Just keep this in mind as you design the feature implementation.

            Show
            ann.loraine Ann Loraine added a comment - - edited Please note - ultimately, we'd like to have a search box next to the data sets file tree that would allow users to search for data sets based on their attributes. The UI that would present the search results might be something very different from a file tree. Just keep this in mind as you design the feature implementation.
            Hide
            alyssa Alyssa Gulledge (Inactive) added a comment -

            Hiral, could you make up another QL with a URL in it - Nick's site no longer has the QL on it.

            Show
            alyssa Alyssa Gulledge (Inactive) added a comment - Hiral, could you make up another QL with a URL in it - Nick's site no longer has the QL on it.
            Show
            hiralv Hiral Vora (Inactive) added a comment - It does have it. Check http://www.zren.me/quickload/A_thaliana_Jun_2009/annots.xml

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 4 days
                  4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified