Skip to content

Can attached files be viewed in a separate browser window instead of just downloading? #280

Open

Description

@cmbarton

Minor usability issue but one that can make life better for people behind firewalls or with slow internet. Currently, files attached to documents (e.g., standards workflow schematic attached to Standards WG text) simply download. Am I missing a markdown code to get them to open in a new browser window instead?

Activity

  1. added
    OMF site enhancement
    OMF site infrastructure
    OMF site web interface
    on May 31, 2021
  2. alee commented on May 31, 2021

    @alee
    Member

    With respect to download speeds it doesn't really matter if you're downloading the file or viewing it directly in your browser but I agree the usability aspect of being able to see it in the browser does make it easier to view. How were these files uploaded in the first place though? I see them in

    https://openmodelingfoundation.github.io/governance/working-groups/ -> https://github.com/openmodelingfoundation/openmodelingfoundation.github.io/files/6481459/standards_workflow.pdf

    and

    https://openmodelingfoundation.github.io/governance/charter/ -> https://github.com/openmodelingfoundation/openmodelingfoundation.github.io/files/6462528/OMF_org.pdf

    but don't see where / how they were added to the repository...

    https://webapps.stackexchange.com/questions/48061/can-i-trick-github-into-displaying-the-pdf-in-the-browser-instead-of-downloading

  3. chrstngyn commented on Nov 16, 2021

    @chrstngyn

    I added some commits that open the diagram pdf files to a google docs preview in a new tab in the most recent commits

    https://openmodelingfoundation.github.io/governance/charter/
    https://openmodelingfoundation.github.io/governance/working-groups/

  4. cmbarton commented on Nov 16, 2021

    @cmbarton
    ContributorAuthor

    That's really nice. It will make it easier for people to see

  5. sgfost commented on Feb 20, 2023

    @sgfost
    Contributor

    Those mysterious floating files should probably be tracked. Default behavior for static files in hugo should be to open in a new tab e.g. https://www.openmodelingfoundation.org/about/history/#planning-workshops so we'd be able to get rid of the google redirect

    Also with some relevance to #431, we should decide on where to keep static files (static/<section> vs. in with content/<section>)

  6. moved this from Todo to Done in OMF Project Managementon Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OMF site enhancementOMF site infrastructureOMF site web interface

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions