Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for setting title/description when embedding projects #30

Open
delucis opened this issue Feb 18, 2025 · 0 comments
Open

Support for setting title/description when embedding projects #30

delucis opened this issue Feb 18, 2025 · 0 comments

Comments

@delucis
Copy link

delucis commented Feb 18, 2025

When embedding using the SDK, e.g. using sdk.embedGithubProject(...) there is no way to control the title and description for the displayed project.

For projects saved on StackBlitz this can be edited manually, but in cases like GitHub, the title is derived from the file path and there doesn’t appear to be any way to control it. You can theoretically set this with the title and description query parameters on the iframe URL, but setting that as part of the repoPath argument doesn’t work because the internal SDK code then appends ?embed=1 to that, resulting in ?embed=1 being appended to the final query parameter.

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

No branches or pull requests

1 participant