From 1702fccbcc7f55ca3b299e7f726b9186914c97a0 Mon Sep 17 00:00:00 2001 From: David Young Date: Tue, 24 Nov 2026 06:43:05 -0700 Subject: [PATCH] Overview and sidebar: no phase badges; modules open on their main page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Overview's module cards drop their "Phase 1"–"Phase 5" badges. The Content module opens on Posts and the SEO module on the Morning check, from the sidebar and from the Overview. Co-Authored-By: Claude Opus 5.5 --- internal/web/server.go | 4 ++-- internal/web/templates/dashboard.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/web/server.go b/internal/web/server.go index b01566a..ee2c0bc 100644 --- a/internal/web/server.go +++ b/internal/web/server.go @@ -463,9 +463,9 @@ type module struct { } var modules = []module{ - {"content", "Content", "Phase 1", "Draft posts from partner and competitor news and your own products; review and publish to X, LinkedIn and Reddit.", "/content"}, + {"content", "Content", "Phase 1", "Draft posts from partner and competitor news and your own products; review and publish to X, LinkedIn and Reddit.", "/posts"}, {"prospects", "Prospects", "Phase 2", "Test buying signals through the whole funnel, from finding prospects to payment; add the people you approve to EspoCRM through Hermes.", "/signals"}, - {"seo", "SEO", "Phase 3", "Run the weekly SEO loop from Search Console: what ranks, what moved, and the changes waiting for your yes, opened as pull requests on your Hugo repositories.", "/seo"}, + {"seo", "SEO", "Phase 3", "Run the weekly SEO loop from Search Console: what ranks, what moved, and the changes waiting for your yes, opened as pull requests on your Hugo repositories.", "/seo/check"}, {"metrics", "Metrics", "Phase 4", "MRR, NRR, CAC and CLV from Stripe, with pipeline influence from EspoCRM.", "/metrics"}, {"sites", "Sites", "Phase 5", "Build pages from your website's own sections, preview them, and publish them as pull requests on Gitea.", "/sites"}, } diff --git a/internal/web/templates/dashboard.html b/internal/web/templates/dashboard.html index 6d42808..01e40bc 100644 --- a/internal/web/templates/dashboard.html +++ b/internal/web/templates/dashboard.html @@ -9,13 +9,13 @@ {{range .Modules}} {{if .Link}} -

{{template "icon" .ID}}{{.Name}} {{.Phase}}

+

{{template "icon" .ID}}{{.Name}}

{{.Body}}

{{if eq .ID "content"}}{{if $inbox}}{{$inbox}} waiting in Posts{{else}}No posts waiting{{end}}{{with $.Data.Scheduled}} · {{.}} scheduled{{end}}{{end}}
{{else}}
-

{{template "icon" .ID}}{{.Name}} {{.Phase}}

+

{{template "icon" .ID}}{{.Name}}

{{.Body}}

{{end}}