Phase 1a — Gradient Removal: - Replaced all gradient-button/gradient-card with glass-button/path-option-card - Removed banned gradient CSS classes Phase 1b — Security Hardening: - SecretsManager: AES-256-GCM encryption (core/security) - electrs_status: credentials from env vars instead of hardcoded - port_manager: RwLock proper error handling (no unwrap) - Pinned all 11 :latest manifest images to specific versions - parmanode converter: pinned inferred image versions Phase 1c — Code Quality: - Split rpc.rs (1795 lines) into 6 handler modules (auth, node, container, package, peers) - Removed sideload code (UI, store, RPC client, 3 doc files) - Fixed body background flash on logout/refresh - Replaced 30 TypeScript `any` types with proper types - Deleted HelloWorld.vue, removed TODO comments - Added set -euo pipefail to all shell scripts - Made deploy script verbose with timestamps and elapsed time Also adds: - CLAUDE.md project guide - docs/three-mode-ui-design.md — design spec for Easy/Pro/Chat UI modes - OnlineStatusPill component Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
1003 B
Bash
Executable File
32 lines
1003 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
# Check what's actually in the deployed frontend
|
|
|
|
TARGET_HOST="${ARCHIPELAGO_TARGET:-archipelago@192.168.1.228}"
|
|
|
|
echo "Checking deployed frontend content..."
|
|
echo ""
|
|
|
|
echo "1. Search for 'bundledApps' variable in JS:"
|
|
ssh "$TARGET_HOST" "grep -o 'bundledApps' /opt/archipelago/web-ui/assets/*.js | wc -l"
|
|
|
|
echo ""
|
|
echo "2. Search for 'Bitcoin Knots' string:"
|
|
ssh "$TARGET_HOST" "grep -o 'Bitcoin Knots' /opt/archipelago/web-ui/assets/*.js | head -1"
|
|
|
|
echo ""
|
|
echo "3. Search for the v-for loop pattern:"
|
|
ssh "$TARGET_HOST" "grep -o 'v-for.*bundled' /opt/archipelago/web-ui/assets/*.js | head -1"
|
|
|
|
echo ""
|
|
echo "4. List all JS assets (to see if they updated):"
|
|
ssh "$TARGET_HOST" "ls -lh /opt/archipelago/web-ui/assets/*.js | head -10"
|
|
|
|
echo ""
|
|
echo "5. Check index.html timestamp:"
|
|
ssh "$TARGET_HOST" "stat /opt/archipelago/web-ui/index.html | grep Modify"
|
|
|
|
echo ""
|
|
echo "6. Try accessing the API from target:"
|
|
ssh "$TARGET_HOST" 'curl -s http://localhost:80/ | head -20'
|