Phase 2 part 3: buying signals, the funnel and the scorecard
Schema 7 adds signals (hypothesis, how to spot it, angle, status, utm slug), funnel_events (stage, channel, subject, campaign, source, deduped by external ID) and outside_campaigns. Prospects -> Signals is the scorecard: each signal's funnel from found to paid, people once per stage, with revenue and outside spend, by period and channel. Each signal's page shows its funnel by channel, its campaigns and its latest steps. Prospects carry a signal (filter, change, "found" recorded) and outcomes can be recorded by hand. Settings -> Lead sources holds origami.chat and explee.com API keys. Every 6 hours (or Import now) Supermarket reads their campaigns, numbers and spend, contacted people, replies and hot leads, read-only: interested people and repliers become prospects, unsubscribes are suppressed, and each campaign is assigned to a signal. The explee.com client follows its OpenAPI schema; origami.chat's responses are undocumented, so its client reads fields loosely and its Test shows the real response. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -380,3 +380,41 @@ form.inline { display: inline-block; margin: 0 0 0.75rem; }
|
||||
.prospect .why { margin: 0.6rem 0 0.3rem; }
|
||||
.prospect .people { margin: 0.9rem 0 0.5rem; }
|
||||
.prospect .warnings { margin: 0.5rem 0; }
|
||||
|
||||
/* Signals and the funnel */
|
||||
.filters { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin: 0 0 1rem; }
|
||||
.filters label { margin: 0; }
|
||||
.filters select { width: auto; min-width: 12rem; }
|
||||
.table-wrap { overflow-x: auto; margin-bottom: 0.75rem; }
|
||||
table.list th.num, table.list td.num { text-align: right; white-space: nowrap; }
|
||||
.scorecard td.num { font-variant-numeric: tabular-nums; }
|
||||
table.scorecard th, table.scorecard td { padding: 0.5rem 0.5rem; }
|
||||
table.scorecard th { font-size: 0.66rem; letter-spacing: 0.02em; }
|
||||
table.scorecard td:first-child { min-width: 11rem; }
|
||||
table.scorecard td:first-child .badge { margin-left: 0.25rem; }
|
||||
.rate { display: block; font-size: 0.72rem; color: hsl(var(--muted-foreground)); }
|
||||
.stat { display: inline-block; margin-right: 0.6rem; white-space: nowrap; }
|
||||
.badge.idea { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
|
||||
.badge.testing { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
|
||||
.badge.proven { background: hsl(var(--ok-bg)); color: hsl(var(--ok)); }
|
||||
.badge.retired { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); text-decoration: line-through; }
|
||||
.funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 0.4rem; margin: 0.5rem 0 1rem; }
|
||||
.funnel .step { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.55rem 0.7rem; display: flex; flex-direction: column; gap: 0.1rem; }
|
||||
.funnel .step .label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.04em; }
|
||||
.funnel .step strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
|
||||
.signal-tag { margin: 0.35rem 0 0; }
|
||||
.signal-tag label { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-weight: normal; }
|
||||
.signal-tag select { width: auto; padding-top: 0.15rem; padding-bottom: 0.15rem; font-size: 0.82rem; }
|
||||
.steps-done { list-style: none; padding: 0; margin: 0.45rem 0 0; font-size: 0.82rem; color: hsl(var(--muted-foreground)); }
|
||||
.steps-done li { padding: 0.12rem 0; }
|
||||
.steps-done form.inline { display: inline; margin: 0; }
|
||||
.outcome { margin: 0.4rem 0 0; }
|
||||
.outcome summary { cursor: pointer; color: hsl(var(--primary)); }
|
||||
.row.wrap { flex-wrap: wrap; align-items: flex-end; margin-top: 0.5rem; }
|
||||
.row.wrap label { margin: 0; }
|
||||
.row.wrap select, .row.wrap input { width: auto; }
|
||||
.row.wrap .grow { flex: 1; min-width: 10rem; }
|
||||
.row.wrap .grow input { width: 100%; }
|
||||
button.link { background: none; border: 0; box-shadow: none; padding: 0; color: hsl(var(--primary)); text-decoration: underline; cursor: pointer; font-weight: normal; }
|
||||
.danger-zone { margin-top: 2rem; }
|
||||
pre.sample { max-height: 24rem; overflow: auto; font-size: 0.78rem; }
|
||||
|
||||
Reference in New Issue
Block a user