From 208a65c8df2b8d581f35ff2eb03b8a25aa668371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Wed, 15 Jul 2026 18:52:04 +0200 Subject: [PATCH] :sparkles: Split graph console in two columns; add file tree and fullscreen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Graph view moves to its own sticky right column (overrides .widget max-width). New /dbg/actions/graph-files endpoint lists teams -> projects -> files for the profile; the console renders it as a collapsible tree where clicking a file loads it. Maximize button fullscreens the graph panel and resizes G6 on fullscreenchange. Signed-off-by: Álvaro Tejero Cantero --- .../app/templates/graph-console.tmpl | 156 ++++++++++++++++-- backend/src/app/http/debug.clj | 44 +++++ 2 files changed, 185 insertions(+), 15 deletions(-) diff --git a/backend/resources/app/templates/graph-console.tmpl b/backend/resources/app/templates/graph-console.tmpl index 60fbbd5f1f..327fe3457c 100644 --- a/backend/resources/app/templates/graph-console.tmpl +++ b/backend/resources/app/templates/graph-console.tmpl @@ -11,16 +11,19 @@ Graph Console
-
+

← Back to debug

+
+
+
Load graph in memory Projects the Penpot file into an in-memory Ladybug database for this admin session. Loading a new file replaces the previous one. -
+
+
+ Files + Teams → projects → files. Click a file to load it. +
Loading…
+
+ {% if session %}
Loaded session @@ -88,19 +97,6 @@ Graph Console
-
- Graph view - - Renders the in-memory Ladybug graph with AntV G6 (CDN). Node color - and glyph encode the node table; edges are IsChildOf - (arrow points to parent). Redraws automatically after live changes. - -
-
-
-
-
Cypher query @@ -146,9 +142,111 @@ Graph Console {% endif %}
{% endif %} + +
+ + {% if session %} +
+
+ Graph view + + + + Renders the in-memory Ladybug graph with AntV G6 (CDN). Node color + and glyph encode the node table; edges are IsChildOf + (arrow points to parent). Redraws automatically after live changes. + +
+
+
+
+
+ {% endif %} + +
+ + + + {% if session %}