-
Notifications
You must be signed in to change notification settings - Fork 273
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
GitHub Integration: Allow new themes/plugins to be exported in a PR #1334
Comments
Duplicate of #1367 |
Sorry I assumed it was the same root cause so I closed it. It's open now. |
No worries, thank you! |
@mikachan I tested this today and it seems to work for me. Could you please try it again and let me know if it works for you? What I did:
Is this what you would like to do or did I miss something? |
Thanks for testing, @bgrgicak. I think your testing instructions are missing a step to create a new directory for a new theme or plugin within the Playground instance. These are the steps I'm following:
I hope this helps to test this! |
Thank you! I was able to recreate it, but when I click Create PR for a second time it works 😕 I will take another look at it to see why it fails sometimes. |
The only way I was able to recreate this error is by creating a new repository and trying to export to it. Just to double check do you have permissions on that GitHub repository? |
Thanks for testing this, @bgrgicak. I can see your tests worked in the themes repo, however, I'm still seeing the same error (Branch not found).
Yeah, I'm a maintainer on that repo 🙈 I've just tried on a personal repo and it works fine there, so it definitely seems related to the a8c themes repo. @beafialho or @henriqueiamarino, could you please check if you're able to add new themes via Playground now? |
Thank you for your work on this! I just tried to submit a new theme to the themes repo and I believe it worked, here's what I'm seeing: The only comment I have is if I select the option "Create a new PR", which I did, the default description could be "The Shore: add theme" instead of "Update theme the-shore". |
I'm glad you got it working now! I will close this issue as it seems like there isn't anything for us to do.
We can't do that today. We only have the folder name, to get the title we would need to parse it from the theme. I don't think that this is something we will have time to work on in the near future. |
Currently, when trying to create a PR for a theme that doesn't exist in the target GitHub repo, you see this error:
There was an unexpected error (Object does not exist), please try again.
It would be amazing if you could add new themes (and plugins) to a Playground instance in order to export them in a PR like above.
I originally thought this was related to #1296, but I think this is now more of an enhancement rather than a bug 😄
The text was updated successfully, but these errors were encountered: