refactor: rework setup.sh for better UX and terminal compatibility

- Replace all Unicode symbols (─, █, ░, ●, ✓, ✗, ➜, braille spinners)
  with ASCII-safe equivalents that render correctly when piped via
  curl | bash
- Add contextual TIP/NOTE hints to every input field explaining what
  each setting does and showing examples
- Redesign progress bar to show labeled step names
  (Server > Auth > Security > Logging > Branding > Deploy > Confirm)
  with color-coded completion state
- Replace BG_BLUE block header with ASCII box() function
- Add section headers with subtitles to each step
- Add deployment method recommendations and requirement notes
- Add "Next steps" checklist to completion screen
- Show existing .env.local detection notice on welcome screen
- Use dotted-line separators in summary for cleaner alignment
- Fix shell injection vulnerability: replace eval with printf -v
  in prompt_value and prompt_yesno helpers
This commit is contained in:
Linus Rath
2026-03-13 01:08:47 +01:00
parent 5e2329b55f
commit 18485951c7
+416 -331
View File
File diff suppressed because it is too large Load Diff