Inventory is now the Market
Everything the user sees says Market: the sidebar, titles, breadcrumbs, help text, messages, suggestions and the agent tool's description; the export downloads as supermarket-market.yaml. Its pages live under /market, and the old /inventory addresses redirect there (308, so a form's POST stays a POST). The YAML format (inventory:), the database and the code's names are unchanged, so exported files still import. A breadcrumb no longer repeats the page's own title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -198,7 +198,7 @@ func (s *Server) seoLinksAction(w http.ResponseWriter, r *http.Request) {
|
||||
id, _ := strconv.ParseInt(r.PostFormValue("competitor"), 10, 64)
|
||||
e, err := inventory.Get(s.DB, id)
|
||||
if err != nil || e.Relationship != inventory.Competitor {
|
||||
s.renderLinks(w, r, "Choose a competitor from the Inventory.")
|
||||
s.renderLinks(w, r, "Choose a competitor from the Market.")
|
||||
return
|
||||
}
|
||||
rs, err := s.researcher()
|
||||
|
||||
Reference in New Issue
Block a user