RestyaPlatform / board

Trello like kanban board. Based on Restya platform.
http://restya.com/board/
Open Software License 3.0
2.04k stars 382 forks source link

[Bug] Special File Types cause issues - placeholders are needed #4283

Open manakill opened 3 years ago

manakill commented 3 years ago

We have a lot of different file types getting posted on our Restyaboard. Certain file types will cause issues and should be handled differently.

My Restyaboard is currently being restored from backup due to some unknown issue causing it to stop working, so I cannot share many details at the moment, but thought I'd post it while I was thinking of it.

Type .psd Photoshop Document causes a big lag in response as the system tries to open/display it. Type .pdf tries to render it and displays an error or something. I can't remember if .ai Adobe Illustrator or .eps Vector files do something odd or not..

I think the default should be - display simple .jpg/.png/.gif/.bmp and other simple files like .txt or .html - AND ALL OTHER FILES should have a default placeholder, and bypass parsing. That will stop the issues and make odd files more uniform in how Restya handles them and displays them to the User

sridhar391 commented 3 years ago

@manakill If the files have the large size and if the system memory is low, it will take time to load the attachment details and we are showing the preview for .jpg/.png/.gif/.bmp/.pdf and show placeholder for all other file types

manakill commented 3 years ago

That makes sense. .psd Photoshop Documents are usually large files and what cause the most issue that I've seen.

Ideally the system would know it's a .psd and not try to parse/render it at all

sridhar391 commented 3 years ago

@manakill Thanks for the suggestion