ci: improves bug report and feature request templates

This commit is contained in:
Lemmy
2026-07-29 16:22:39 -04:00
parent cad149e4a8
commit 859b9061b4
3 changed files with 168 additions and 179 deletions
+83 -84
View File
@@ -23,113 +23,112 @@ body:
label: Plugin
description: The plugin id.
options:
- mini-docker
- battery-graph
- sharednd
- anilist
- arch-updater
- todo
- audio-switcher
- prismlauncher-instances
- daily-wallpaper
- imagemagick-clock
- cat
- game-launcher
- wl-screen-mirror
- eyecare
- battery-graph
- battery-threshold
- audio-switcher
- keybind-cheatsheet
- noctwhspr
- ssh-launcher
- web-launcher
- tmux-provider
- nextboot-selector
- lyrics
- bookmarks
- keymap
- godot-provider
- hypr-screen-mirror
- color_picker
- portctl
- topgrade-wrapper
- calculator
- drive-health
- hotspot
- mangowm-keymode
- special-workspaces
- zed-provider
- pass
- ideapad-conservation-mode
- upbeat
- proton-pass
- hypr-submap
- file-search
- shelly
- cat
- claude-companion
- ds4-color
- color_picker
- um5606_fan_state
- daily-wallpaper
- w-engine
- nix-monitor
- anilist
- lid-guard
- pomodoro
- drive-health
- dropwall
- iio_lock
- ds4-color
- mawaqit
- eyecare
- file-search
- game-launcher
- godot-provider
- hassio
default: 0
- hotspot
- hypr-screen-mirror
- hypr-submap
- ideapad-conservation-mode
- iio_lock
- imagemagick-clock
- keybind-cheatsheet
- keymap
- lid-guard
- lyrics
- mangowm-keymode
- mawaqit
- mini-docker
- nextboot-selector
- nix-monitor
- noctwhspr
- pass
- pomodoro
- portctl
- prismlauncher-instances
- proton-pass
- sharednd
- shelly
- special-workspaces
- ssh-launcher
- tmux-provider
- todo
- topgrade-wrapper
- um5606_fan_state
- upbeat
- w-engine
- web-launcher
- wl-screen-mirror
- zed-provider
validations:
required: true
+83 -84
View File
@@ -23,113 +23,112 @@ body:
label: Plugin
description: The plugin id.
options:
- mini-docker
- battery-graph
- sharednd
- anilist
- arch-updater
- todo
- audio-switcher
- prismlauncher-instances
- daily-wallpaper
- imagemagick-clock
- cat
- game-launcher
- wl-screen-mirror
- eyecare
- battery-graph
- battery-threshold
- audio-switcher
- keybind-cheatsheet
- noctwhspr
- ssh-launcher
- web-launcher
- tmux-provider
- nextboot-selector
- lyrics
- bookmarks
- keymap
- godot-provider
- hypr-screen-mirror
- color_picker
- portctl
- topgrade-wrapper
- calculator
- drive-health
- hotspot
- mangowm-keymode
- special-workspaces
- zed-provider
- pass
- ideapad-conservation-mode
- upbeat
- proton-pass
- hypr-submap
- file-search
- shelly
- cat
- claude-companion
- ds4-color
- color_picker
- um5606_fan_state
- daily-wallpaper
- w-engine
- nix-monitor
- anilist
- lid-guard
- pomodoro
- drive-health
- dropwall
- iio_lock
- ds4-color
- mawaqit
- eyecare
- file-search
- game-launcher
- godot-provider
- hassio
default: 0
- hotspot
- hypr-screen-mirror
- hypr-submap
- ideapad-conservation-mode
- iio_lock
- imagemagick-clock
- keybind-cheatsheet
- keymap
- lid-guard
- lyrics
- mangowm-keymode
- mawaqit
- mini-docker
- nextboot-selector
- nix-monitor
- noctwhspr
- pass
- pomodoro
- portctl
- prismlauncher-instances
- proton-pass
- sharednd
- shelly
- special-workspaces
- ssh-launcher
- tmux-provider
- todo
- topgrade-wrapper
- um5606_fan_state
- upbeat
- w-engine
- web-launcher
- wl-screen-mirror
- zed-provider
validations:
required: true
+2 -11
View File
@@ -1,15 +1,7 @@
def get_plugins() -> list[str]:
import os
from pathlib import Path
subdirectories = [item for item in os.listdir('.') if os.path.isdir(item)]
plugins = []
for dir in subdirectories:
# Remove all hidden folders that aren't plugins.
if not dir.startswith('.'):
plugins.append(dir)
return plugins
return sorted(manifest.parent.name for manifest in Path(".").glob("*/plugin.toml"))
def build_dropdown_component(plugins: list[str]) -> str:
@@ -25,7 +17,6 @@ def build_dropdown_component(plugins: list[str]) -> str:
- {plugin}
""" for plugin in plugins])
}
default: 0
validations:
required: true
"""