Skip to content

Show visitors row in A/B funnel tables - #25

Merged
guitavano merged 1 commit into
mainfrom
guitavano/fix-funnel-visitors-row
Jul 8, 2026
Merged

Show visitors row in A/B funnel tables#25
guitavano merged 1 commit into
mainfrom
guitavano/fix-funnel-visitors-row

Conversation

@guitavano

@guitavano guitavano commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

Follow-up to #23. The Funnel and By-Goal tables filtered out the visitors baseline goal, so it never appeared even when selected — unlike the admin screen, where visitors is the first funnel row.

Fix

sortedGoals (which feeds both tables) now includes every goal, visitors included — matching the admin. The goal bar chart still excludes visitors, since its conversion is always 100% and would otherwise flatten the other goals' bars.

The Funnel table now shows the visitors row (e.g. 3 / 100% Default vs 1 / 100% Variant), consistent with the old screen.

Test plan

  • bun run build:web
  • Lint clean on changed file

🤖 Generated with Claude Code


Summary by cubic

Show the visitors baseline row in the Funnel and By-Goal tables to match the admin view. Fixes the missing visitors row so default vs variant comparisons are accurate.

  • Bug Fixes
    • sortedGoals now includes all goals, including visitors, for both tables.
    • Goal bar chart still excludes visitors to avoid flattening other bars.

Written for commit 9bc5f2c. Summary will update on new commits.

Review in cubic

The Funnel and By-Goal tables filtered out the "visitors" baseline, so it
never showed even when selected — unlike the admin screen. Include every
goal (visitors included) in the tables, matching the admin. The goal bar
chart still excludes visitors, whose conversion is always 100% and would
flatten the other goals.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
admin-mcp 9bc5f2c Commit Preview URL

Branch Preview URL
Jul 08 2026, 03:17 AM

@guitavano
guitavano merged commit f6dccf6 into main Jul 8, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant