Skip to content

feat(figma): add Figma actions - #8572

Open
BillLeoutsakosvl346 wants to merge 2 commits into
stagingfrom
feat/figma-actions
Open

BillLeoutsakosvl346 wants to merge 2 commits into
stagingfrom
feat/figma-actions

Conversation

@BillLeoutsakosvl346

@BillLeoutsakosvl346 BillLeoutsakosvl346 commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add an 11-action Figma block for file metadata/content/nodes, exports, image fills, comments, versions, and published library inventories.
  • Add delegated Figma OAuth, reusable-token refresh support, deployment/setup registration, the supplied icon, and fully generated documentation.
  • Keep provider requests bounded and cancellable, preserve native string IDs and null node/render entries, and use standard workflow failure handling.

Type of Change

  • New feature

Testing

  • 48 focused Figma/OAuth behavior tests and 11 real PostgreSQL/Redis workflow cases passed; related selector/OAuth/tool coverage passed.
  • Actual local application/browser validation passed for all 11 operations, credential connection, nested outputs, persisted executions, and light/dark rendering.
  • Live delegated OAuth and all 11 actions passed against a disposable design file, including version pagination, comment/reply creation and cleanup, PNG download verification, and genuine token refresh.
  • Populated published-library live validation is blocked by the Starter plan; populated responses are covered by fixtures. Public OAuth app approval remains a deployment follow-up.
  • Root tests passed all 19 tasks (34,644 Sim tests). Affected type checks, lint, canvas/icon checks, generator drift checks, block-registry validation, all 58 audits, docs-manifest validation, and whitespace checks passed.
  • Regression checks demonstrated failure before fixes. JSON/HTTP reports and redacted browser evidence are retained privately outside Git.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 2, 2026 5:17pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 47 files

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/tools/figma/export-nodes.ts Outdated
Comment thread apps/sim/tools/figma/get-file-nodes.ts Outdated
Comment thread apps/sim/tools/figma/list-file-components.ts Outdated
Comment thread apps/sim/tools/figma/list-comments.ts
@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds Figma integration with OAuth and API tools.

The PR appears safe to merge based on the changes reviewed.

Summary

The PR adds an 11-action Figma workflow integration, delegated OAuth and token refresh, deployment registration, icons, generated metadata, documentation, and tests.

  • Changes since the previous review align nullable output declarations with normalized responses and add /site/ and /deck/ locator coverage.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Figma workflow block] --> B[Selected Figma tool]
  B --> C[Delegated OAuth credential]
  C --> D[Figma API]
  D --> E[Normalized structured output]
Loading

Reviews (2) · Last reviewed commit: "fix(figma): correct URL and nullable out..."

Comment thread apps/sim/tools/figma/utils.ts Outdated
@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

@greptile

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 47 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

This branch was previously deployed

1 inactive deployment
Preview — a3218527 Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant