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:
2026-11-24 12:38:50 -07:00
co-authored by Claude Opus 5.5
parent 98f8788f18
commit a81ced3503
25 changed files with 105 additions and 79 deletions
+3 -3
View File
@@ -88,10 +88,10 @@
<section class="card" id="opportunities">
<h2>Where to win a link</h2>
<p class="small">Pages that list others like you but not you: your Inventory partners' pages of providers and hosts, and lists of alternatives to your competitors. Nothing is sent from here: open the page, ask them (a short, friendly note usually does it), and mark it. When the link shows up (Bing, or a check), it's marked won.</p>
<p class="small">Pages that list others like you but not you: your Market partners' pages of providers and hosts, and lists of alternatives to your competitors. Nothing is sent from here: open the page, ask them (a short, friendly note usually does it), and mark it. When the link shows up (Bing, or a check), it's marked won.</p>
<div class="row">
<form method="post" action="/seo/links/partners?site={{$d.Current.Index}}" data-busy="Reading their pages…"><button type="submit" class="secondary small" {{if not $d.Partners}}disabled{{end}}>Look at the partners' pages</button></form>
<span class="small muted">{{if $d.Partners}}{{$d.Partners}} {{if eq $d.Partners 1}}partner{{else}}partners{{end}} in the Inventory; looked at once a month by itself.{{else}}No partners in the <a href="/inventory">Inventory</a> yet: add the projects and companies you work with, with their websites.{{end}}</span>
<span class="small muted">{{if $d.Partners}}{{$d.Partners}} {{if eq $d.Partners 1}}partner{{else}}partners{{end}} in the Market; looked at once a month by itself.{{else}}No partners in the <a href="/market">Market</a> yet: add the projects and companies you work with, with their websites.{{end}}</span>
</div>
{{with $d.Competitors}}
<form method="post" action="/seo/links/alternatives?site={{$d.Current.Index}}" class="row" data-busy="Searching…">
@@ -100,7 +100,7 @@
<button type="submit" class="secondary small" {{if $d.Research}}disabled{{end}}>Find them (up to 4 web searches)</button>
{{with $d.Research}}<span class="small warn-text">{{.}}</span>{{end}}
</form>
{{else}}<p class="small muted">Add competitors to the <a href="/inventory">Inventory</a> to look for lists of alternatives to them.</p>{{end}}
{{else}}<p class="small muted">Add competitors to the <a href="/market">Market</a> to look for lists of alternatives to them.</p>{{end}}
{{with $d.Opportunities}}
<table class="list">
<thead><tr><th>Page</th><th>Why</th><th>Status</th><th></th></tr></thead>