Remove (currently) broken Balsamiq Preview feature
GitLab supposedly supports previewing Balsamiq files like this one: https://gitlab.com/gitlab-org/gitlab-test/-/blob/add-balsamiq-file/files/images/balsamiq.bmpr
Note that this feature seems to be broken on GitLab.com (and probably on-prem as well, might have to do with our production JavaScript build): #285525 (closed). It works locally in development.
Anyhow, the balsamiq support has been a little pain and it's use is questionable, in my opinion.
- It ships a rather large dependency, a complete compiled version of sqlite. The version we use is outdated and would likely need be updated. The newer version ships a service worker in WASM which doesn't make matters easier.
- We never supported it in MR views
- Balsamiq doesn't seem to be used that much anymore and since then we have build our Designs feature in issues / Figma integrations
- The preview "just" shows the thumbnails and there is no interactivity. You have no way to see the whole file, unlike e.g. pdfs.
- The file essentially being a database and loading data-urls from that database with sqlite might be a potential security issue, that if the feature were to work someone could inject JS. Parsing file formats on the Frontend is scary at times.
- It seems like the feature is broken since at least November and was just discovered to be broken because we migrated it's test from Karma -> Jest: #285525 (closed) Nobody apart from @winniehell who has migrated the tests has filed a bug.
Edited by Lukas 'ai-pi' Eipert