Private github enterprise
Our org uses a private Github Enterprise instance. The code checks look like they fall through to the final statement:
Unsupported remote URL
https://github.com/figma/code-connect/blob/cfed2bf6f63c5d61d9d358556d3a7117ba9c59ba/cli/src/connect/project.ts#L507-L527
To quiet the message, I modified my config to only include figma.tsx files.
"include": ["src/components/**/*.figma.{tsx,jsx}"],
This at least makes the files publish but now I'm getting warnings about resolving the component.
Import for Button could not be resolved, make sure that your `include` globs in `figma.config.json` matches the component source file (in addition to the Code Connect file). If you're using path aliases, make sure to include the same aliases in `figma.config.json` with the `paths` option.
😕 Confused about what the correct setup is for this situation.
We are suffering from the same issue. is there a reason its trying to connect to github to begin with?
Hey all! Thanks for the report and for digging into the error! For context we use the source field to be able to show clickable links the UI (screenshot below). We don't have any means today of supporting this for custom domains but are looking into our options.
Hey! We've added a fallback that should work for GH enterprise instances in 1.3.2 that we just released. Feel free to re-open this if you're still having this issue after upgrading.
@karlpetersson I don't know what magic you did, but it's working properly now! 🎊
I think text next to the icon is missing? Maybe something on the rendering Dev Mode side? Clicking the company logo brings me to the proper code file in Github.
Hey @cgatian, yeah it looks like we missed something here. Will let you know when this is fixed!