Skip to content

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

Merged
guitavano merged 1 commit into
guitavano/ab-test-results-screenfrom
guitavano/ab-test-funnel-visitors
Jul 8, 2026
Merged

Show visitors row in A/B funnel tables#24
guitavano merged 1 commit into
guitavano/ab-test-results-screenfrom
guitavano/ab-test-funnel-visitors

Conversation

@guitavano

@guitavano guitavano commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

The Funnel and By-Goal tables were filtering 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 flatten the other goals' bars.

Before → after: the Funnel table now shows the visitors row (e.g. 3 / 100% vs 1 / 100%), consistent with the old screen.

Base

Stacked on guitavano/ab-test-results-screen (#23), which introduces the tool. GitHub will retarget this to main once #23 merges.

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, matching the admin view and user selection. The goal bar chart still hides visitors since it’s always 100% and would flatten other bars.

Written for commit e7444f3. 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 e7444f3 Commit Preview URL

Branch Preview URL
Jul 08 2026, 03:13 AM

@guitavano
guitavano merged commit 220c462 into guitavano/ab-test-results-screen Jul 8, 2026
2 of 4 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