[Bug]: Can't open attachments
What happened?
I uploaded a .eml (email thread) file to a note but can't see a way to open this. I don't know if this is a bug or just not available. Same behavior with a .mp4 (video) file.
Distribution version
Windows x64
App Version
0.22.2
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
- [ ] Yes
Self-hosting Version
No response
Relevant log output
Anything else?
I am assuming it's the same for a lot more extensions
Issue Status: 🆕 *Untriaged
*🆕 Untriaged
The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md
This is an automatic reply by the bot.
@deepu2
Send a screenshot or a video if possible showing the issue. Much appreciated.
Sorry, here you go. I found out the mp4 files have an embed view option where I can preview the video files. I have uploaded a test.eml file onto the page, when I click on it I thought it would open the file or show a windows dialog to open this file with different applications but nothing happens. Tried single click, double click, Ctrl+Click, Shift+Click etc.
@deepu2
Understood.
Seems that .eml files currently do not have any viewable support.
You mean inside of Affine? Why can't we have the OS handle it? .eml is a standard email file type and I have Outlook, Thunderbird that can open them. Appflowy does this for every extension apart from the obvious media files (images and videos)
@deepu2
I do mean inside of AFFINE. By "OS", what specifically are you referring to? The Desktop app? I can make a PR to add this feature.
@NorkzYT
I am using the desktop app on Windows so I mean the "Select an app to open .* file" dialog attached below. The flow would be: click on the attachment, this dialog will be opened if there are multiple apps or it will be opened with my default app. This will depend on the OS but there is a similar dialog on Linux as well. The browser can just download the file and then can be opened like any other file.
PS: I also noticed you worked on my other request, thank you so much for that :)
@deepu2
This explanation helped me understand. I appreciate it and no problem.