Open Fs00 opened 2 years ago
Hello,
Since this doesn't seem to be happening anytime soon, would it be possible for OctoDroid, at least, to redirect users to the browser when trying to create an issue on a repo than uses forms, preventing them to create empty ones, and then getting rejected, or worse, judged for using a third-party client ?
Thanks
@maniac103 :pray:
This is thoroughly needed. Contributing to projects you're not accustomed with through Octodroid curently make it seem like they don't use templates, so when you are required to use ones on these repositories, you can get turned down for not using them. Not mentioning the maintainers themselves having to deal with contributors not using templates, while having the best intentions.
At least a warning saying this features isn't yet implementel would be useful ! i just fell for it and an issue i opened through Octodroid got closed due to not following template guidelines.
Recently, GitHub introduced a new type of issue templates called "issue forms" that are being increasingly used by repo maintainers. Those templates are YAML files (instead of traditional Markdown files) that are used to generate a form that the user fills when creating a new issue. Currently, the app ignores this kind of templates.
Implementing them in the app seems a pretty challenging task. We would probably need to parse the YAML file in order to generate the UI for the form and then, upon send, convert the filled form into a Markdown issue body that can be submitted via API. Obviously it would be easier if GitHub exposed some dedicated APIs for issue forms, I haven't investigated yet.