BuilderIO / BuilderIO/figma-html

Does not import any images, nor canvases behind auth walls

Open
#131 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.7k
Forks
364
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I download a .json file via the Chrome extension from a page behind an auth wall.
When I imported it to Figma all the images and canvas data on the web page is displayed as a grey box.

**Expected behavior**
When the extension detects that images are behind an auth wall, they are integrated into the JSON file (e.g. as base64 data URLs).

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/800467/199248392-6e865ec2-3d4b-4ad8-a383-cfcd8fb959d7.png)
![image](https://user-images.githubusercontent.com/800467/199248425-c4324072-cf64-47f7-93f1-e89118459c4e.png)
(no, the image data isn't available "behind" that upload button)

**Additional context**
I took a look at the JSON.
The image URLs are noted therein, but if they're behind an auth wall, that's obviously not making any sense.
Inline SVGs were imported though.
I wouldn't mind if the plugin wouldn't do any checks, but would just have have an [option](https://developer.chrome.com/docs/extensions/mv3/options/) which includes all images as base64 data URLs without additional network fetches (they're probably not as simple to implement).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.