Commit Graph

90 Commits

Author SHA1 Message Date
7f170c8079 fix(logs): add immediate loading state clearing and append timestamps to database log tails 2026-06-14 15:03:20 -07:00
26b4c53633 feat(logs): reverse log order so the newest logs always display at the top 2026-06-14 15:00:03 -07:00
e0354d969e feat(logs): add Database logs and Build logs to the Server Logs dashboard page 2026-06-14 14:58:02 -07:00
f8cc4b32b0 feat(logs): add Dev Previews to server logs page 2026-06-14 14:52:16 -07:00
d3b3bc11d9 fix(logs): remove redundant top page header to maximize vertical terminal space 2026-06-14 14:48:51 -07:00
6e0620ea7d fix(dashboard): align server logs page to workspace layout and flatten database link in sidebar 2026-06-14 14:42:46 -07:00
8564442e67 fix(databases): remove dropdown chevron from database header 2026-06-14 14:21:54 -07:00
2b4f0d9a5f fix(databases): align database header with table row list in sidebar tree 2026-06-14 14:20:12 -07:00
7a8d13d7e2 fix(dashboard): fix double borders and corner masking issue on databases page 2026-06-14 14:07:46 -07:00
9bca5d9850 fix(dashboard): remove top PageHeader from Databases page to maximize vertical space 2026-06-14 14:05:32 -07:00
a55a226ed0 fix(dashboard): apply workspace layout sizing and independent scroll to databases page 2026-06-14 14:02:57 -07:00
968d3477c2 fix(codebase): fix background color cutting off outer card border radius in file tree header 2026-06-14 13:58:40 -07:00
6057fb91c1 fix(codebase): perfectly align left file tree header and right preview header 2026-06-14 13:56:33 -07:00
a695f74132 fix(codebase): clean up initial loading state UI 2026-06-14 13:53:29 -07:00
93e08e5c8e feat(codebase): auto-select the best entry point file on load so preview isn't empty 2026-06-14 13:47:08 -07:00
dc9347c01c fix(codebase): freeze header name on scroll and remove count pill 2026-06-14 13:42:09 -07:00
e73efc24ba fix(codebase): fix left column padding and justification to align header with file tree 2026-06-14 13:41:07 -07:00
44bed63c28 fix(codebase): constrain right column height to prevent window scrolling 2026-06-14 13:37:20 -07:00
c649cb06c9 fix(preview): align background color and padding with new dashboard theme 2026-06-14 13:35:06 -07:00
86ebf542b9 fix(codebase): constrain height correctly to flex container 2026-06-14 13:34:20 -07:00
e06ad16aab fix(codebase): optimize layout paddings for code editor feel 2026-06-14 13:32:25 -07:00
3a884fe28d fix(codebase): constrain layout to 100vh so left and right panes scroll internally instead of the window 2026-06-14 13:29:21 -07:00
db7814782c fix(dashboard): align rail group titles, headers, and count pills with reference design 2026-06-14 13:27:42 -07:00
c56a39d763 fix(codebase): optimize layout for editor view
- Removes top PageHeader to maximize vertical space.

- Sets layout padding tighter.

- Dynamically replaces 'Code files' header with the repository name (if single repo).

- Hides redundant nested tile header when there's only one codebase.
2026-06-14 13:25:35 -07:00
9766990e70 fix(codebase): connect the code tree container and preview container like in reference image 2026-06-14 13:23:33 -07:00
824fe0c6f1 fix(codebase): remove subtitle from Codebase page header 2026-06-14 13:22:27 -07:00
d738842069 fix(codebase): remove legacy single-codebase hint description from api endpoints 2026-06-14 13:20:49 -07:00
adc60690c8 fix(codebase): remove duplicate THEME definition causing build failure 2026-06-14 13:19:21 -07:00
01d9c07e24 fix(codebase): migrate codebase layout wrappers to dashboard-ui cards 2026-06-14 13:18:14 -07:00
52f8c26ace fix(dashboard): align heading styles across legacy pages to match dashboard-ui 2026-06-14 12:52:53 -07:00
77b24f1a6b fix(logs): resolve object-child crash and align terminal colors to light theme 2026-06-14 12:46:26 -07:00
4c0754de33 fix(logs): fix terminal layout 2026-06-14 12:44:19 -07:00
7e67e480bb fix(logs): fix terminal colors and payload rendering 2026-06-14 12:43:09 -07:00
95f54260c1 feat(dashboard): integrate MagicUI Terminal and BorderBeam 2026-06-14 12:41:11 -07:00
691fc73ed1 fix(overview): add missing StatusDot import 2026-06-14 12:25:47 -07:00
ebc84dbdc5 fix(overview): restore missing useAnatomy import 2026-06-13 11:39:56 -07:00
8f5853e684 fix(dashboard): apply PageHeaders to correspond with new sidebar names 2026-06-13 11:30:30 -07:00
0bc9e288f1 feat(dashboard): reword and reorder sidebar for non-technical founders
Rewords dev-jargon into approachable business concepts and reorders them by priority (Product > Data/Infra > Ops).
- Plan & Specs -> AI Blueprint
- Code -> Codebase
- Auth / Users -> Users
- Data -> Databases
- Storage -> File Storage
- Services -> Live Servers
- Domains -> Custom Domains
- Logs -> Server Logs
2026-06-13 11:17:36 -07:00
9092b9e549 fix(dashboard): remove Analytics, Marketing, Security, Integrations + fix build
- Deleted unused/stub routes: Security, Analytics, Marketing (+SEO/Social), Integrations
- Removed these routes from the Dashboard Sidebar menu
- Fixed Next.js build errors caused by duplicate component declarations (SectionHeader, KvRow) in overview, hosting, services, and infrastructure by relying fully on the unified dashboard-ui kit.
2026-06-13 11:13:37 -07:00
eb198e2d4d ship: project dashboard pages + sidebar/chat overhaul + log tooling
Ships accumulated WIP that was sitting uncommitted:
- New (home) dashboard route pages: overview, code, data/tables, hosting,
  infrastructure, services, domains, integrations, agents, analytics, api,
  automations, billing, logs, market, marketing(+seo/social), product, security,
  storage, users, settings(app/auth).
- dashboard-sidebar, project-icon-rail, chat-panel updates; mcp + anatomy route
  changes; package.json/lock dependency bumps.
- Coolify log tooling (scripts/fetch-app-logs.mjs + fetch-app-logs-ssh.mjs) and
  ai-new-thread.md "Fetching Production Logs" section.

Excludes throwaway debug scripts and telemetry audit dumps (the latter contain
live credentials and must not be committed).
2026-06-12 18:09:09 -07:00
514f11e80d fix(preview): self-healing dev server so the preview always loads cleanly
The dominant production failure was a dead dev-server process behind a
'running' DB flag (idle-stop / OOM / crash / host restart), which the UI
trusted and embedded -> permanent 502 until a manual restart.

- dev-container.ts: add isDevServerListening() fast liveness probe; stop the
  container entrypoint from auto-running 'npx next dev --webpack' (it competed
  with the managed server, forced the wrong bundler/cwd, and doubled memory);
  drop the fake state='running' seed row; bump dev container memory 1g -> 2g.
- ensure route: verify a 'running' row is ACTUALLY listening and resurrect it
  if dead, instead of trusting the flag; never bounce a healthy server.
- preview page: call ensure on every mount and on refresh (verify + heal),
  force an immediate anatomy refetch on (re)start so a dead frame swaps to
  'warming up' without the 5s lag.

Backstopped by the partial unique index + startDevServer idempotency, so heals
can never duplicate or thrash a server.
2026-06-12 17:30:27 -07:00
0f90ef6f5c Fix preview pipeline: dedup duplicate previews, race-safe dev server start, honest readiness
- Add partial unique index on (project_id, port) for active dev servers so the
  SELECT-then-INSERT race can no longer create duplicate 'Port 3000' rows.
- Make startDevServer race-safe: on unique violation, adopt the winning row
  instead of duplicating.
- ensure route no longer marks a server 'running' before it binds the port;
  the readiness probe flips starting->running only after the port answers.
  Kills the '502 -> broken CSS -> works' refresh loop.
- Deduplicate previews per-port in sortDevPreviewsFrontendFirst as a defensive
  backstop for the dropdown.
- Revert iframe _refresh query-param hack (was forcing cold recompiles).
2026-06-12 16:57:06 -07:00
87acebfab3 fix(preview): resolve ReferenceError on refreshKey initialization order 2026-06-12 16:50:34 -07:00
aa780492fd fix(preview): add 60-second grace period before marking freshly booted servers as zombies to prevent aggressive 502 teardowns 2026-06-12 16:49:31 -07:00
95253c7707 fix(preview): resolve ReferenceError on isForceStarting initialization order 2026-06-12 16:46:35 -07:00
de950b1fb0 Make dev_server_start idempotent to prevent HMR breakage and 502s 2026-06-12 16:42:26 -07:00
76c0241bd1 Save frontend state (layout, sidebar, chat panel, preview refresh fix) before rollback 2026-06-12 16:35:45 -07:00
28441e75f2 fix(overview): restore lost Dev Previews and Live endpoints lists that were accidentally overwritten during Dashboard migration 2026-06-12 15:57:14 -07:00
960232e525 design(preview): match toggle button sizes to device toggles 2026-06-12 15:00:40 -07:00
81994d4b6c design(dashboard): remove unused routes, rename existing routes to match Base44 menu structure 2026-06-12 12:42:19 -07:00