Skip to main content
The NCI Community Hub will be retired as of June 2024. Stay tuned for information in the coming month.
close

Wish List - Wish List: Wish #271

<Member picture

0 Like 0 Dislike

Ishwar Chandramouliswaran

Alternate view of resources

Request to consider alternate resource layout requested by a certain group. Per our discussion please let me know options to consider enabling this as opposed to the standard resource/publication view.

Current view https://nciphub.org/resources/1026 

Comments (8)

  1. Anonymous

    Attaching a sample design

    Reply Report abuse

    Please login to comment.

  2. Shawn Rice

    The more I think about this, the more troublesome it becomes. A resource page is composed of multiple views: the overall layout and the individual layouts under each tab. That is, each tab/plugin has its own layout. To have an alternate view, there would need to be associated alternate views for all the plugins too.

    resource / view
    resource / view_b
    resource / about / view
    resource / about / view_b
    resource / questions / view
    resource / questions / view_b

    It’s doable but … potentially messy. Since the layouts for reviews, questions, and a few others are fairly specific to their content, they may not need alternate layouts. That would allow us to keep the scope to a smaller number of plugins.

    resource / view
    resource / view_b
    resource / about / view
    resource / about / view_b

    I’ll try working through some experiments (namely, try producing the example layout you posted).

    Reply Report abuse

    Please login to comment.

  3. Ishwar Chandramouliswaran

    The request was to in fact have a simple version without tabs - so that should make it easier.

    Reply Report abuse

    Please login to comment.

  4. Ishwar Chandramouliswaran

    maybe just a resource/view_b : user adds desired content/text to this.

    Reply Report abuse

    Please login to comment.

  5. Shawn Rice

    Screenshot 1.

    In this example, I preserved the tabs for items that largely need their own interfaces (reviews, questions). Mother other items, including the tabs for “versions” and “supporting documents” can be merged in to the main display.

    NOTE: Screenshot was taken by putting the NCIP template onto my dev machine. Example data is from a dump of nanohub’s resources.

    Screen_Shot_2016-03-04_at_11.29.24_AM.png

    Reply Report abuse

    Please login to comment.

  6. Shawn Rice

    Screenshot 2.

    In this example, I removed the tabs entirely and tried to streamline it even more.

    NOTE: Screenshot was taken by putting the NCIP template onto my dev machine. Example data is from a dump of nanohub’s resources.

    Screen_Shot_2016-03-04_at_11.28.50_AM.png

    Reply Report abuse

    Please login to comment.

  7. Mervi Heiskanen

    These screenshots look good, I like the screen shot 2 better as it is more simple. Although the look is good for the ITCR we would still like to have the same data fields as in the mock-up. Also, instead of an abstract we would like to have a short description linking to the abstract.

    Reply Report abuse

    Please login to comment.

    1. Shawn Rice

      "... we would still like to have the same data fields as in the mock-up."

      Specific data fields can created. The choice of inputs can be set up per resource type by the site administrator. What I mean, is each resource type "Presentation", "Database", etc. can have a custom set of fields asking for user input when they go to build and submit a resource. All of that is to say "should not be a problem".

      "... instead of an abstract we would like to have a short description linking to the abstract."

      To where? That is, where would it be linking to? There needs to be a destination view. This is largely why I had left the tabs in the first screen I posted. The mock-up you sent had, for example, a link to write a review. But, without the tabs, there would be no way of seeing those reviews afterwards. Due to that and some limitations with the structure of the code, I had to go with a design closer to the first screen. I made a number of small tweaks and have staged the code on NCIP's development machine for further testing with NCIP's data. So far, it all looks and works fairly well.

      Reply Report abuse

      Please login to comment.

  8. Ishwar Chandramouliswaran

    Shawn - I tested it out on the dev site although I did not see a choice to select either display views - did I miss it? Attached is the result I got.

    Screen_Shot_2016-05-20_at_1.01.00_PM.png

    Reply Report abuse

    Please login to comment.