Open computron opened 1 year ago
I think the current split is based on media vs non-media exports. The export icon only shows readable export formats.
I'm not sure this separation is helpful. I think we could throw it all together into a single "Export" dropdown.
This would need to be changed in https://github.com/materialsproject/mp-react-components.
The distinction perhaps makes more sense for the developer than from the user: bitmap or 3D graphics exports are handled client-side by Three.js, whereas the file exports are handled serverside via pymatgen.
They call completely different code paths. Combining them into a single dropdown is therefore a little trickier, because it would require hard-coding some things in JavaScript that are currently defined dynamically via Python (the pymatgen output formats).
The export 3D format option is currently under the snapshot sidebar and not under the Export sidebar. It makes it difficult to find or discover that the crystal can be exported to 3D formats. Suggest moving it to the export button. The snapshot icon to me means more like copying image to clipboard.