Merge pull request #1104 from hipsterusername/remove-selection-ux

UX: Change webapp removal selection icons
This commit is contained in:
David Heinemeier Hansson 2025-08-26 09:12:23 +02:00 committed by GitHub
commit 7bf65360f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ if [ "$#" -eq 0 ]; then
if ((${#WEB_APPS[@]})); then if ((${#WEB_APPS[@]})); then
IFS=$'\n' SORTED_WEB_APPS=($(sort <<<"${WEB_APPS[*]}")) IFS=$'\n' SORTED_WEB_APPS=($(sort <<<"${WEB_APPS[*]}"))
unset IFS unset IFS
APP_NAMES=$(gum choose --no-limit --header "Select web app to remove..." "${SORTED_WEB_APPS[@]}") APP_NAMES=$(gum choose --no-limit --header "Select web app to remove..." --selected-prefix="✗ " --cursor-prefix=" " "${SORTED_WEB_APPS[@]}")
else else
echo "No web apps to remove." echo "No web apps to remove."
exit 1 exit 1