Bug Description
Providing a file:// URL results in a blank block.
Steps to Reproduce
In a runbook:
- click the plus button
- choose "Image"
- In the URL field enter a "file://" path # this path does not need to resolve to a file.
Expected Behavior
I expect the image block to either render the image or show a white question more on a blue background, indicating a broken link.
Actual Behavior
The file name is displayed in the upper left corner of the block. This is true regardless of the path being valid or not.
Environment
- OS: OpenSUSE Tumbleweed
- Atuin Desktop Version: 0.2.20
- Atuin CLI Version: N/A
- Shell: fish
- Terminal: N/A
Screenshots/Logs
foo.png:
There are no logs
Additional Context
Workaround
The workaround is to have a separate document with the embedded images.
Bug Description
Providing a
file://URL results in a blank block.Steps to Reproduce
In a runbook:
Expected Behavior
I expect the image block to either render the image or show a white question more on a blue background, indicating a broken link.
Actual Behavior
The file name is displayed in the upper left corner of the block. This is true regardless of the path being valid or not.
Environment
Screenshots/Logs
foo.png:
There are no logs
Additional Context
Workaround
The workaround is to have a separate document with the embedded images.