withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.06k stars 63 forks source link

bug: Script content disappears when adding or removing an icon. #2657

Open kevinderuijter opened 1 year ago

kevinderuijter commented 1 year ago

Checks

Operating system

macOS

Expected behaviour

Adding icons to scripts won't hide the Tags, Input- and Code -cells.

Actual behaviour

It adds an icon and hides my entire script.

  1. Have a working script. image

  2. Add or remove an icon 😥 using the add icon button. image

  3. And gone your script is. image

Steps to reproduce

  1. Open fig dashboard.
  2. Navigate to scripts.
  3. Add an icon to one of your scripts.
  4. Watch as your script code is deleted.

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  - cores: 6
  - mem: 16.00 GB
os-info:
  - macOS 13.4.1 (22F770820d)
environment:
  - shell: /bin/zsh
  - terminal: terminal
  - cwd: /Users/kevin
  - exe-path: /Users/kevin/.fig/bin/fig
  - install-method: unknown
  - env-vars:
    - FIGTERM_SESSION_ID: 9e341343-821c-4b02-b9bf-7d8aa3362a22
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: /Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Applications/Little Snitch.app/Contents/Components:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/kevin/.fig/bin:/Users/kevin/.local/bin:
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.apple.Terminal
    - FIG_PID: 1544
    - FIG_SET_PARENT: 9e341343-821c-4b02-b9bf-7d8aa3362a22
kevinderuijter commented 1 year ago

The current workaround is running fig restart and opening the dashboard again every time you add or remove an icon.