Skip to content

feat(apollo-react): add FunctionProject canvas icon#767

Merged
snuziale merged 1 commit into
mainfrom
feat/function-project-canvas-icon
Jun 2, 2026
Merged

feat(apollo-react): add FunctionProject canvas icon#767
snuziale merged 1 commit into
mainfrom
feat/function-project-canvas-icon

Conversation

@snuziale
Copy link
Copy Markdown
Collaborator

@snuziale snuziale commented Jun 1, 2026

Summary

  • Add the FunctionProject SVG icon to the canvas icon set
  • Export it from canvas/icons/index.ts
  • Register it under the function key in the canvas icon registry (defaulting to 24×24)
image

Test plan

  • Verify the function icon renders on canvas nodes
  • Confirm the icon honors currentColor

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 1, 2026 23:58
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

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

Project Deployment Review Updated (PT)
apollo-design 🟢 Ready Preview, Logs Jun 01, 2026, 05:39:46 PM
apollo-docs 🟢 Ready Preview, Logs Jun 01, 2026, 05:39:46 PM
apollo-landing 🟢 Ready Preview, Logs Jun 01, 2026, 05:39:46 PM
apollo-ui-react 🟢 Ready Preview, Logs Jun 01, 2026, 05:39:46 PM
apollo-vertex 🟢 Ready Preview, Logs Jun 01, 2026, 05:39:46 PM

@github-actions github-actions Bot added the size:M 30-99 changed lines. label Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Dependency License Review

  • 1901 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1671
ISC 89
Apache-2.0 55
BSD-3-Clause 27
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 4
MIT-0 3
CC0-1.0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
Unlicense 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new FunctionProject SVG to the apollo-react canvas icon set and wires it into the canvas icon registry so it can be referenced by the function icon key.

Changes:

  • Added new FunctionProject SVG icon component.
  • Exported FunctionProject from canvas/icons/index.ts.
  • Registered function icon key in canvas/utils/icon-registry.tsx.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/apollo-react/src/canvas/utils/icon-registry.tsx Registers the new function icon key in the canvas icon registry.
packages/apollo-react/src/canvas/icons/index.ts Re-exports FunctionProject from the icons barrel.
packages/apollo-react/src/canvas/icons/FunctionProject.tsx Adds the new SVG icon component implementation.

Comment thread packages/apollo-react/src/canvas/utils/icon-registry.tsx Outdated
Comment thread packages/apollo-react/src/canvas/icons/FunctionProject.tsx
@snuziale snuziale force-pushed the feat/function-project-canvas-icon branch from 8df5bd3 to df6cf97 Compare June 2, 2026 00:33
Add the FunctionProject SVG icon and register it under the `function`
key in the canvas icon registry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 2, 2026 00:34
@snuziale snuziale force-pushed the feat/function-project-canvas-icon branch from df6cf97 to d30d527 Compare June 2, 2026 00:34
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread packages/apollo-react/src/canvas/utils/icon-registry.tsx
Comment thread packages/apollo-react/src/canvas/utils/icon-registry.tsx
@snuziale snuziale merged commit 31e7096 into main Jun 2, 2026
44 checks passed
@snuziale snuziale deleted the feat/function-project-canvas-icon branch June 2, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:apollo-react size:M 30-99 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants