slapperwan / gh4a

Github client for Android
Apache License 2.0
1.7k stars 221 forks source link

Missing support for issue form templates #1159

Open Fs00 opened 2 years ago

Fs00 commented 2 years ago

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.

KaKi87 commented 1 year 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

KaKi87 commented 1 year ago

@maniac103 :pray:

Cwpute commented 3 months ago

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.

Cwpute commented 1 month ago

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.