home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.96k stars 2.68k forks source link

pdf files are not opened when clicking a link #18179

Open maweki opened 11 months ago

maweki commented 11 months ago

Checklist

Describe the issue you are experiencing

I wanted to create a collection of manuals for the devices in our home and get rid of all the paper manuals. I've created a dashboard with links to the pdf files (stored in the local www folder).

When I click the link to the pdf, I am redirected to the home dashboard. But when opening the link in a new tab, the pdf is opened correctly.

Bildschirmaufzeichnung vom 2023-10-10, 09-44-57.webm

Describe the behavior you expected

Steps to reproduce the issue

  1. create markdown or entities card with weblink to a pdf file
  2. click the link

What version of Home Assistant Core has the issue?

2023.10.

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Firefox 112.0.1, Chrome 112.0.5615.165

Which operating system are you using to run this browser?

Fedora 38

State of relevant entities

No response

Problem-relevant frontend configuration

cards:
      - type: markdown
        content: >-
          * [OKP K2 Robot Vacuum
          Cleaner](http://192.168.1.4:8123/local/manuals/OKP_K2.pdf)
        title: Kleingeräte
      - type: entities
        entities:
          - type: weblink
            url: /local/manuals/OKP_K2.pdf
            name: OKP K2 Robot Vacuum Cleaner

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

github-actions[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

maweki commented 8 months ago

Still an issue. Nobody has even commented on it.

github-actions[bot] commented 5 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

maweki commented 5 months ago

Still an issue

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

maweki commented 2 months ago

Still an issue