fidget icon indicating copy to clipboard operation
fidget copied to clipboard

issue report about Figma export ability

Open kobi2187 opened this issue 3 years ago • 3 comments

In a few words: it's mostly working. some failures I noticed:

  • missing keywords: vector, ellipsis are unrecognized.
  • layoutAlign laInherit does not exist.
  • sometimes getting the javascript "undefined" in font weight and font name from the TS export script. (I think it is better to have a default such as font weight 200, and "defaultFont", or good error messages so dev knows something is wrong)
  • unknown fonts - Perhaps there should be a way for the user of the library to define a default font. for now, I workaround with loadFont("themissingfont", "Noto Sans... some font that I have in my system")
  • devs don't initially know about the data folder holding all the assets. (a note in Readme should be enough to fix that)
  • can be nice for TS script to output a list of assets: the fonts, images, etc.
  • maybe validate existence of files in data before running?

This approach of using Figma for gui widgets is really strong. I appreciate all the time saved by that. I am pointing out initial issues I ran into. Mainly small things. Thanks for the good work.

kobi2187 avatar Oct 04 '21 07:10 kobi2187

Thank you! I am aware of some these issues. I think Figma2 will work a little differently. Time will tell.

treeform avatar Oct 04 '21 21:10 treeform

today I fixed the debugger issues in my vscode installation, so an error that came up about floatoverflow, was detected to be in bumpy lib. I opened a tiny pull request. https://github.com/treeform/bumpy/pull/13

kobi2187 avatar Oct 06 '21 12:10 kobi2187

add

  • boolean_operation

to the list of unsupported figma features

aMOPel avatar Jul 19 '22 12:07 aMOPel