Skip to content

Improve funnel layout - #6603

Open
sanne-san wants to merge 5 commits into
masterfrom
sanne-funnel-layout
Open

Improve funnel layout#6603
sanne-san wants to merge 5 commits into
masterfrom
sanne-funnel-layout

Conversation

@sanne-san

Copy link
Copy Markdown
Contributor

Changes

  • Rebuild the funnel report as a React component with CSS bars, replacing the old Chart.js canvas and its hover-only tooltip
  • Give every step its own card and bar, labelled with the visitors who continued and the visitors who dropped off
  • Align the funnel header with the Explore header.
  • Add strict or flexible to the funnel header, indicating whether the funnel must be followed in order or not.
  • Scroll longer funnels horizontally, four steps at a time
  • Show step placeholders while loading, and one short message when a funnel cannot be shown
  • Drop the chartjs-plugin-datalabels dependency

Tests

  • Automated tests have been added

Changelog

  • Entry has been added to changelog

Documentation

  • Docs have been updated

Dark mode

  • The UI has been tested both in dark and light mode

- Rebuild the funnel report as a React component with CSS bars, replacing the
  old Chart.js canvas and its hover-only tooltip
- Give every step its own card and bar, labelled with the visitors who
  continued and the visitors who dropped off
- Align the funnel header with the Explore header.
- Add `strict` or `flexible` to the funnel header, indicating whether the funnel
  must be followed in order or not.
- Scroll longer funnels horizontally, four steps at a time
- Show step placeholders while loading, and one short message when a funnel
  cannot be shown
- Drop the chartjs-plugin-datalabels dependency
@github-actions

Copy link
Copy Markdown
Preview environment👷🏼‍♀️🏗️
PR-6603

Comment thread assets/package-lock.json Outdated
Comment thread extra/lib/plausible/stats/funnel.ex
Comment thread assets/js/dashboard/util/number-formatter.ts
Comment thread assets/js/dashboard/extra/funnel/index.tsx Outdated
Comment thread assets/js/dashboard/extra/funnel/index.tsx Outdated
@aerosol

aerosol commented Aug 18, 2026

Copy link
Copy Markdown
Member

Not even a suggestion, just something that made me pause.

Question: should these

image

correspond somehow visually with:

image

Maybe color-wise?

Also, just double checking if we want to present detailed number in two places:

image

As opposed to saying "3K" somewhere for example.

- Remove bordered boxes and replace with a simpler layout
- Draw a gray bar with the height of the previous step behind each step, to visually indicate the dropoff
- Move the step outcomes to a small box in the bottom right corner that grows on hover, focus or
  touch to show the full text and visitor counts
- Replace the manual fetch effect with react-query
- Remove the unused chart.js dependency
- Cover the strict order flag and the outcome box in the tests
- Remove the dropped off rate from the first step
- Fix z-index issues
- Change `→` and `↓` text color to gray
@sanne-san
sanne-san requested review from a team and apata August 24, 2026 12:18
@sanne-san

Copy link
Copy Markdown
Contributor Author

Not even a suggestion, just something that made me pause.

Question: should these

image correspond somehow visually with: image Maybe color-wise?

They are more similar in the current iteration! Not entirely the same though because I think the caps should be reserved for the labels at the top of the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants