Make file embeds display like compact Plutonium gift embeds layout (icon + filename & Download button)

(#4926) Feature Open: Under consideration embeds ui

Current problem

Currently when a file embed is uploaded it always displays like a gridview instead of file embed cards which doesn't look very compact for people who like to e.g. disable profile pictures and use compact program layouts. Also the gridview for uploaded attachments is large and it gets larger the more files get uploaded.

Proposed change

The file embeds could have improved display by showing them like a compact version of how a Plutonium gift embed looks like; with a filetype / mimetype icon depending on known extensions (e.g. zip/rar/7z = compressed box icon, mp3/m4a/wav = ringtone icon instead of the Fluxer gift icon). Then you would have the filename (with the format "filename[...].ext" incase its too long) and the filesize below, with a large 'Download' button below similar to the Plutonium gift embed's 'Claim Gift' button. I would also like that we be able to choose to always display file embeds as 'card embed attachment's as descripted above in the Fluxer client settings, for each mimetype like a page with checkboxes:
  • Audio
  • Video
  • Picture
  • Document
  • Archive
  • Other
(It could also be possible to have a small square thumbnail for picture & video files but while still following the 'card-embed attachment display' layout instead of gridview.)

Additional information

It seems that there's already a Fluxer card-embed attachment layout for files that can't be previewed yet such as PDF files, but unfortunately it's only for files that can't be previewed; that means once Fluxer will be able to preview PDF files for example, then they will stop displaying as the desired card-embed upload layout (similar to Plutonium gift embeds). Also my original comment before I made this suggestion post here (incase I didn't explain properly):
I would love it if file embeds for arbitrary filetypes (non-text / non-media) like RAR, ZIP, 7z etc could display as attachment embeds exactly like Fluxer Plutonium gift embeds with a download button below, and the gift icon would be replaced by the filetype's closest appropriate icon such as a compressed package icon for archive files

Comments

Sign in with Fluxer to comment and vote.

No comments yet.