Commit Graph
7 Commits
Author SHA1 Message Date
Hermes Agent dcfb235d06 feat: show derived window data (zoom, viewport, gaps, center)
- main.ts GET_WINDOW_INFO: add zoom, viewport bounds, gaps L/R/T/B, center
  computed from figma.viewport + plugin window geometry
- ui.tsx: render additional readout lines under 🔍 Инфо
2026-09-09 13:18:32 +02:00
Hermes Agent ecbbd5d8c1 feat: show live window x/y/size debug readout inside plugin
- main.ts: track lastSize; GET_WINDOW_INFO handler returns x/y via
  figma.ui.getPosition().canvasSpace (typed as any) + stored width/height
- ui.tsx: WINDOW_INFO listener, '🔍 Инфо' button, render x/y/w/h block
2026-09-09 13:12:17 +02:00
Hermes Agent bc9b2e60e9 feat: window docking buttons (left/center/right) via figma.ui.reposition
- main.ts: add DOCK_WINDOW handler using figma.viewport.bounds + figma.ui.resize/reposition
- ui.tsx: add dock buttons (Left/Center/Right) + keep expand/collapse + drag handle
2026-09-09 13:08:11 +02:00
Hermes Agent f3575e30ee chore: drop size from plugin window title (Figma title bar is not customizable; keep name only) 2026-09-09 13:01:04 +02:00
Hermes Agent 26d391f90a fix: drag works from first attempt + size in window header
- ui.tsx: pass min/max opts to useWindowResize (fixes first-drag bug)
- ui.tsx: move live size to top toolbar (left of expand button)
- main.ts: set figma window title with startup size via showUI({title})
2026-09-09 12:50:35 +02:00
Hermes 6c7be98a82 feat: relaunch button in right panel + drag-resize window
- package.json: add relaunchButtons (runAI) for right-panel shortcut
- main.ts: setRelaunchData + RESIZE_WINDOW handler (figma.ui.resize)
- ui.tsx: useWindowResize native drag handle + expand/collapse toggle
- .gitignore: exclude _reference/ (temp old-plugin copy)
- IDEA.md: commit+push to Gitea is mandatory workflow
2026-09-09 12:38:13 +02:00
Hermes Agent 567ce34285 bootstrap: Hello World Figma plugin skeleton 2026-09-09 11:27:11 +02:00