Hermes Agent
a38f7188ee
feat: dock buttons stretch window to zone (edge/corner) + reposition; center keeps size
2026-09-09 18:44:30 +02:00
Hermes Agent
5984df1692
fix: account for 38px plugin header in gapB/center.y and vertical dock
2026-09-09 18:33:16 +02:00
Hermes Agent
b57cda16ec
feat: normalized window position relX/relY relative to viewport (no infinite-canvas coords)
2026-09-09 18:22:29 +02:00
Hermes Agent
d29654b8d5
feat: 9-position dock grid (4 corners + 4 edges + center)
2026-09-09 17:54:53 +02:00
Hermes Agent
0d61580acb
fix: measure real window size via iframe innerWidth, not requested lastSize (fix gap tautology)
2026-09-09 16:23:12 +02:00
Hermes Agent
b2ae4c44d6
feat: maximize window to full viewport (maxViewport = bounds*zoom), clamp drag
2026-09-09 16:05:50 +02:00
Hermes Agent
4228357a35
fix: convert window px size to canvas-units (w/zoom) for dock + gap/center math
2026-09-09 15:50:34 +02:00
Hermes Agent
9f9349efb6
fix: keep docked window pinned to edge across zoom/pan via viewport poll
2026-09-09 15:13:05 +02:00
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