ord icon indicating copy to clipboard operation
ord copied to clipboard

Make supported but un-previewable content types nicer

Open casey opened this issue 2 years ago • 2 comments

I opened #1492 to support STL files, which is a 3D model file format. I wanted to add it, to encourage people to experiment with making STL inscriptions. But, since it isn't a native browser format, the ord block explorer cannot easily render a good preview. Because of this, inscriptions with content type model/stl get Media::Unknown, which has a blank preview.

It would be nice to be able to add formats like STL quickly, without needing to add a custom renderer, but still have something other than a blank image.

I'm thinking a preview which renders the whole thing as a square of hex. We could then give STL Media::Blob or whatever.

casey avatar Feb 03 '23 20:02 casey

Not inclined to bump it off the main feed? ie. filter unsupported content types, could be to another page.

I guess there's advantage in people seeing the experiment and exploring the raw content though.

More broadly, quite many requests for various types of filters from the people. Presented without comment.

batcavekid avatar Feb 03 '23 23:02 batcavekid

The main feed doesn't do db reads for any inscriptions, which would be required to see what to bump.

casey avatar Feb 08 '23 00:02 casey