Add support for binary files

Currently, binary files are not supported when creating an adhoc workspace. This limits our ability to create examples that include images (raster) or audio files via the IDX newAdhocWorkspace API.

A real world example is on angular.dev where there are tutorials that require the use of raster images and those images cannot be included in the new workspace creating friction for users.

Hi @marktechson - thanks for sharing this! We’ll look into what it takes to support this.

Hey Mark, can you share an example that I can use to repro this issue with open-in-idx? Also what error are you seeing?

One more, Mark! — there are some size limits on how big adhoc workspaces can be. Can you share some example file sizes you’re working with? We can possibly update the API to support images, but if you’re dealing with files more than a couple KB big, we may run into other issues.