From d4dfee52a67d2e2b9a52f7e7b18b3b3cc185fac4 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 12 Oct 2026 15:56:07 -0300 Subject: 9web: integrate sites and services into the file browser views Replace the standalone dark dashboard with Files, Sites and Services navigation in the existing application shell. Reuse the shared stylesheet, tables and controls; open site files and logs in the normal file browser and send build commands through the existing HTTP-to-9P mapping. Support direct tab URLs, browser history, preserved unsaved edits and focused controls, and pause catalogue polling in hidden views. Keep catalogue tabs hidden for ordinary upstream gateways. Remove the standalone page, script and log dialog. Document the integrated views and add a real Chromium regression suite with desktop/mobile screenshots. Validation: catalogue and HTTP filesystem suites, integrated UI suite, and all 32 original browser E2E scenarios. --- web/catalog.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/catalog.zig') diff --git a/web/catalog.zig b/web/catalog.zig index 5e75555..53bab19 100644 --- a/web/catalog.zig +++ b/web/catalog.zig @@ -349,7 +349,7 @@ pub const Catalog = struct { return result; } fn content(cat: *Catalog, a: std.mem.Allocator, path: []const u8) ![]const u8 { - if (std.mem.eql(u8, path, "index.html")) return @embedFile("static/catalog.html"); + if (std.mem.eql(u8, path, "index.html")) return @embedFile("static/index.html"); if (std.mem.eql(u8, path, "listeners/index.json")) return cat.listeners; if (std.mem.eql(u8, path, "services/index.json")) { const parsed = try std.json.parseFromSlice([]std.json.Value, a, cat.listeners, .{}); -- cgit v1.3