Skip to content

Selection count

Michael Le requested to merge selection-count into master

Using PluginSelection to pass the current selection in Figma from the UI to the plugin code

  • Changed the signature of PluginSelection from string[] to FrameNode[] and ComponentNode[] respectively
  • Using the getters in Vuex to get the values of the selected frames and components in the store
  • Adding back mock-local-storage because without it gitlab/ui doesn't work. It looks like gitlab/ui tries to do something with localstorage on startup but since Figma doesn't have local storage it crashes and nothing appears in the UI.

Error image

Screen_Shot_2020-05-21_at_4.11.20_pm

Merge request reports