Commit graph

4 commits

Author SHA1 Message Date
Vadym Samoilenko
7e6d8517b0 feat: move deploy buttons into service cards, fix siteMonitor URLs
- Create src/widgets/deploy/component.jsx — service-card widget variant
  that receives { service } prop (not { options }) for use in services.yaml
- Register deploy in src/widgets/components.js
- Move deploy widgets from config/widgets.yaml into each service card
  via widget: type: deploy — buttons now live inline under each app
- Fix Deploy API siteMonitor URL to use Apache-proxied path
- Reduce Widgets layout columns to 2 (only resources + datetime remain)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 13:12:46 +01:00
Vadym Samoilenko
370ea5dae9 Config: overhaul dashboard design and layout
- zinc color, fullWidth, useEqualHeights, cardBlur md, statusStyle dot
- siteMonitor (HTTP + response time) instead of ping for all web services
- showStats: true — live CPU/RAM per Docker container on each card
- Add DB/cache info cards to Infrastructure section
- Clean up bookmarks, add OliVAS repo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 13:06:26 +01:00
Vadym Samoilenko
81fb160eb5 Config: improve dashboard layout, add healthchecks and bookmarks
- settings.yaml: cardBlur, hideVersion, target _blank, clean layout
- services.yaml: add ping healthcheck URLs for all services + Deploy API card
- bookmarks.yaml: Bitbucket repos and server shortcuts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:56:25 +01:00
Vadym Samoilenko
d71fbe6c75 Fix: prepend basePath to all client-side API calls + add server config
API path fixes:
- _app.jsx: SWR middleware prefixes all useSWR keys with NEXT_PUBLIC_BASE_PATH
- index.jsx: update fallback keys, raw fetch() calls, and Script src
- _document.jsx: update custom.css link hrefs
- revalidate.jsx, search.jsx, api-helpers.js: update raw fetch/proxy calls

Initial dashboard config (force-added, config/ is gitignored by default):
- settings.yaml: dark slate theme, English, two-row layout
- services.yaml: all 5 server apps with Docker container health links
- widgets.yaml: CPU/RAM/disk resources widget + datetime
- docker.yaml: local Docker socket for auto-discovery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:43:03 +01:00