A user, resakdo22, is experiencing issues editing a theme in their local Discourse instance after forking a repository from their employer. Despite submitting changes, they receive an error message prompting them to submit a change on the repository.
awesomerobot explained that since the theme was installed from a fork, changes need to be made to that fork on GitHub to update the Discourse theme. If the original theme was installed and then forked, the forked version needs to be re-installed.
Additionally, pfaffman suggested using the Discourse Theme CLI console app for testing and development, allowing admins to work on a theme copy without affecting the live site.
resakdo22 expressed gratitude for the live support and helpful responses.
I forked a theme repository from my employer in my local Discourse instance, and I’m getting this message saying that I need to submit a change in order to edit the theme.
I submitted various small changes and updated but still I’m getting the error message.
I’m running the local instance through Ubuntu 22.04.
Should I authenticate my git account in the Ubuntu CLI in order for Discourse to recognize the repo as my own fork?
Or maybe there is a way to authenticate git in the Discourse instance itself (localhost:4200)?
Also, if what you want to do is testing/development of the theme to later submit changes to github, you should check out Install the Discourse Theme CLI console app to help you build themes and work on a copy of the theme there on the production site that only you or other admins can see.