Skip to content

Commit

Permalink
Set empty default for dropdown selection (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcalixte authored Jun 14, 2024
1 parent 8615e42 commit 84fad64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ body:
default: 0
label: Desklet name and maintainer
options:
- ''
- [email protected] @cobinja
- battery@schorschii @schorschii
- [email protected] @tipichris
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/02_feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ body:
default: 0
label: Desklet name and maintainer
options:
- ''
- [email protected] @cobinja
- battery@schorschii @schorschii
- [email protected] @tipichris
Expand Down
1 change: 1 addition & 0 deletions .github/bug_report_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def main():

xlets_and_authors.append(f'{name}{author}')
finally:
xlets_and_authors.append('')
dropdown_list = sorted(sorted(xlets_and_authors), key=str.casefold)
with open(os.path.join(repo_folder, '.github', 'ISSUE_TEMPLATE',
'01_bug_report.yml'), 'w',
Expand Down
1 change: 1 addition & 0 deletions .github/feature_request_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def main():

xlets_and_authors.append(f'{name}{author}')
finally:
xlets_and_authors.append('')
dropdown_list = sorted(sorted(xlets_and_authors), key=str.casefold)
with open(os.path.join(repo_folder, '.github', 'ISSUE_TEMPLATE',
'02_feature_request.yml'), 'w',
Expand Down

0 comments on commit 84fad64

Please sign in to comment.