refactor(welcome): reorganize service card layout

- move extra info from header to bottom section with credentials
- display links (docs, dashboard, admin, ui) as compact "Link" buttons
- move password toggle button to left of masked value
- add python runner mount/entry info to data generation
- remove redundant postgresus note
- reduce vertical spacing in bottom section
This commit is contained in:
Yury Kossakovsky
2025-12-12 18:00:46 -07:00
parent f3c2754a85
commit 4c153bca58
2 changed files with 116 additions and 58 deletions

View File

@@ -93,9 +93,7 @@ fi
if is_profile_active "postgresus"; then
SERVICES_ARRAY+=(" \"postgresus\": {
\"hostname\": \"$(json_escape "$POSTGRESUS_HOSTNAME")\",
\"credentials\": {
\"note\": \"Uses PostgreSQL credentials from .env\"
},
\"credentials\": {},
\"extra\": {
\"pg_host\": \"postgres\",
\"pg_port\": \"${POSTGRES_PORT:-5432}\",
@@ -414,6 +412,8 @@ if is_profile_active "python-runner"; then
\"note\": \"Internal service only\"
},
\"extra\": {
\"mounted_dir\": \"./python-runner -> /app\",
\"entry_file\": \"/app/main.py\",
\"logs_command\": \"docker compose -p localai logs -f python-runner\"
}
}")