Our current contribution workflow has a few problems:
It requires contributors to clone the primer/octicons repo to their local machine.
It requires familiarity with Git.
It requires familiarity with SVG.
There are a lot of unnecessary steps.
Here's a flowchart of the current contribution workflow:
Solution
Let's build a Figma plugin to allow contributors to open pull requests and commit to the primer/octicons repo directly from Figma. Here's a wireframe of what the plugin could look like:
The interface is modeled after the GitHub's web UI editor. Here's how I'm imagining the user flow would work:
Select the icon frames you want to add or update
Open the Figma plugin
Write a commit message (We could probably auto-populate a default commit message)
Click "Open pull request"
Plugin exports and optimizes the selected SVGs and creates a new branch.
Plugin redirects you to github.com to open a pull request with the new branch.
Write a detailed pull request description
Create pull request
Here's a flowchart showing how this plugin could simplify the contribution workflow:
Problem
Our current contribution workflow has a few problems:
Here's a flowchart of the current contribution workflow:
Solution
Let's build a Figma plugin to allow contributors to open pull requests and commit to the primer/octicons repo directly from Figma. Here's a wireframe of what the plugin could look like:
The interface is modeled after the GitHub's web UI editor. Here's how I'm imagining the user flow would work:
Here's a flowchart showing how this plugin could simplify the contribution workflow: