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