You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/docs/content/usage
6543 77e29e0c39
Extend issue template yaml engine (#29274)
Add new option:

`visible`: witch can hide a specific field of the form or the created
content afterwards

It is a string array witch can contain `form` and `content`. If only
`form` is present, it wont show up in the created issue afterwards and
the other way around. By default it sets both except for markdown

As they are optional and github don't have any similar thing, it is non
breaking and also do not conflict with it.

With this you can:
- define "post issue creation" elements like a TODO list to track an
issue state
- make sure to have a checkbox that reminds the user to check for a
thing but dont have it in the created issue afterwards
- define markdown for the created issue (was the downside of using yaml
instead of md in the past)
 - ...

## Demo

```yaml
name: New Contribution
description: External Contributor creating a pull

body:
- type: checkboxes
  id: extern-todo
  visible: [form]
  attributes:
    label: Contribution Guidelines
    options:
      - label: I checked there exist no similar feature to be extended
        required: true
      - label: I did read the CONTRIBUTION.MD 
        required: true
- type: checkboxes
  id: intern-todo
  visible: [content]
  attributes:
    label: Maintainer Check-List
    options:
      - label: Does this pull follow the KISS principe
      - label: Checked if internal bord was notifyed  
# ....
```
[Demo
Video](https://cloud.obermui.de/s/tm34fSAbJp9qw9z/download/vid-20240220-152751.mkv)


---
*Sponsored by Kithara Software GmbH*

---------

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
11 months ago
..
actions Update docs about `DEFAULT_ACTIONS_URL` (#29442) 11 months ago
packages Docker Tag Information in Docs (#29047) 12 months ago
_index.en-us.md Docusaurus-ify (#26051) 2 years ago
_index.zh-cn.md Docusaurus-ify (#26051) 2 years ago
agit-support.en-us.md Update agit-support.en-us.md (#27652) 1 year ago
agit-support.zh-cn.md Change the default branch in the agit docs (#27621) 1 year ago
authentication.en-us.md Revert "Support SAML authentication (#25165)" (#29358) 11 months ago
authentication.zh-cn.md Fix some incorrect links in docs (#28191) 1 year ago
badge.en-us.md Implement actions badge svgs (#28102) 11 months ago
blame.en-us.md Support `.git-blame-ignore-revs` file (#26395) 1 year ago
clone-filter.en-us.md Docusaurus-ify (#26051) 2 years ago
clone-filter.zh-cn.md Docusaurus-ify (#26051) 2 years ago
code-owners.en-us.md Docusaurus-ify (#26051) 2 years ago
incoming-email.en-us.md Docusaurus-ify (#26051) 2 years ago
incoming-email.zh-cn.md Docusaurus-ify (#26051) 2 years ago
issue-pull-request-templates.en-us.md Extend issue template yaml engine (#29274) 11 months ago
issue-pull-request-templates.zh-cn.md Docusaurus-ify (#26051) 2 years ago
labels.en-us.md Docusaurus-ify (#26051) 2 years ago
labels.zh-cn.md Update documents to fix some links (#26885) 1 year ago
linked-references.en-us.md Update documents to fix some links (#26885) 1 year ago
linked-references.zh-cn.md Fix incorrect Chinese translation of linked-references.zh-cn.md (#27382) 1 year ago
merge-message-templates.en-us.md Docusaurus-ify (#26051) 2 years ago
merge-message-templates.zh-cn.md Docusaurus-ify (#26051) 2 years ago
multi-factor-authentication.en-us.md Update documents to fix some links (#26885) 1 year ago
permissions.en-us.md Docusaurus-ify (#26051) 2 years ago
permissions.zh-cn.md Update zh-cn documentation (#26406) 1 year ago
profile-readme.en-us.md Fix doc img path in profile readme (#28994) 1 year ago
profile-readme.zh-cn.md Update some translations and fix markdown formatting (#29099) 12 months ago
protected-tags.en-us.md Docusaurus-ify (#26051) 2 years ago
protected-tags.zh-cn.md Docusaurus-ify (#26051) 2 years ago
pull-request.en-us.md Update documents to fix some links (#26885) 1 year ago
pull-request.zh-cn.md Update documents to fix some links (#26885) 1 year ago
push.en-us.md Docusaurus-ify (#26051) 2 years ago
push.zh-cn.md Docusaurus-ify (#26051) 2 years ago
repo-mirror.en-us.md Update repo-mirror.en-us.md (#28612) 1 year ago
repo-mirror.zh-cn.md Update zh-cn documentation (#26406) 1 year ago
secrets.en-us.md Docusaurus-ify (#26051) 2 years ago
secrets.zh-cn.md Docusaurus-ify (#26051) 2 years ago
template-repositories.en-us.md Rephrase template documentation to be more clear about .gitea/template (#27450) 1 year ago
template-repositories.zh-cn.md Update zh-cn documentation (#26406) 1 year ago
webhooks.en-us.md Docusaurus-ify (#26051) 2 years ago
webhooks.zh-cn.md Docusaurus-ify (#26051) 2 years ago