Skip to content

Improve explore tab UI#6276

Merged
zoldar merged 15 commits intomasterfrom
sanne-explore-ui
Apr 30, 2026
Merged

Improve explore tab UI#6276
zoldar merged 15 commits intomasterfrom
sanne-explore-ui

Conversation

@sanne-san
Copy link
Copy Markdown
Contributor

Changes

  • Keep showing the full candidate list when a step is selected
  • Show conversion rate for each step
  • Update title
  • Add total conversion rate and dropoff rate
  • Add refresh button
  • Add path connectors
  • Change starting/end point toggle into an inline dropdown
  • Add color coding for pageviews vs custom events
  • Remove "Visit" prefix from pageview steps
  • Update columns and steps visually

Tests

  • Automated tests have been added
  • This PR does not require tests

Changelog

  • Entry has been added to changelog
  • This PR does not make a user-facing change

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

@github-actions
Copy link
Copy Markdown

Preview environment👷🏼‍♀️🏗️
PR-6276

- Keep showing the full candidate list when a step is selected
- Show conversion rate for each step
- Update title
- Add total conversion rate and dropoff rate
- Add refresh button
- Add path connectors
- Change starting/end point toggle into an inline dropdown
- Add color coding for pageviews vs custom events
- Remove "Visit" prefix from pageview steps
- Update columns and steps visually
sanne-san and others added 8 commits April 27, 2026 12:54
- Remove drop-off rate
- De-emphasize dimmed items and emphasized selected items
- Remove color coding for custom events and add cursor icon instead
- Update aggregated subpath styling to `/page > all (N)`
- Fix: remove PathConnectors SVG width attribute that prevented scroll container from shrinking
- Improved dark mode
- Add Suggest journey button when nothing is selected
@sanne-san sanne-san requested review from aerosol and zoldar April 28, 2026 08:49
sanne-san and others added 4 commits April 28, 2026 11:44
- Update header DOM structure to accomodate mobile layout
- Improve scroll behavior when adding/removing steps: it now always scrolls to the next step, also on mobile
- Improve empty states copy and styling
- Remove `Suggest journey` button on second thought
- Show only an empty column 2 when nothing is selected rather than two empty columns (2 and 3) with a duplicate empty state. In order to do so we switched to a grid layout to avoid layout shifts. Only for > sm screens.
- Hide search input when nothing is selected.
@aerosol
Copy link
Copy Markdown
Member

aerosol commented Apr 29, 2026

The visitor counts are being dragged from one step to another before ending up with final value.

record-2026-04-29-11-39-48-skim.tanh.flax.mp4


journeyVersionRef.current++
setDirection(nextDirection)
setSteps(steps.toReversed())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this deliberate to start over instead of reversing the journey?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is deliberate, I think it's better UX to start with a clean slate when switching direction.

const journeyVersion = journeyVersionRef.current
preloadedSteps.forEach((_, idx) => {
const prefix = preloadedSteps.slice(0, idx)
fetchNextWithFunnel(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zoldar this is making essentially N+1 calls to next-with-funnel

Image

@aerosol
Copy link
Copy Markdown
Member

aerosol commented Apr 29, 2026

The paths go bonkers if you change e.g. query range on an already selected journey

image


const observer = new ResizeObserver(recalculate)
observer.observe(container)
window.addEventListener('resize', recalculate)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this even here? makes no difference

…nclude step candidates considered) (#6291)

* Simplify path connectors

* tmp

* simplify path connectors triggering

* Slightly refactor connectors logic and work around dashboardState dependency

* Fetch interesting funnel along with candidates in one go

* Move Exploration alias behind `on_ee`

---------

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
Copy link
Copy Markdown
Contributor

@zoldar zoldar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have fixed the more nagging issues, some of them with no too pretty workarounds, but the UI is functional. There's still a bit errant behavior on date range change where the suggestions are not properly cleared. We will address this later on. The component logic will undergo a major revamp when moving to Typescript anyway.

@zoldar zoldar added this pull request to the merge queue Apr 30, 2026
Merged via the queue into master with commit 0bf625c Apr 30, 2026
23 checks passed
@zoldar zoldar deleted the sanne-explore-ui branch April 30, 2026 08:23
@sanne-san
Copy link
Copy Markdown
Contributor Author

We have fixed the more nagging issues, some of them with no too pretty workarounds, but the UI is functional. There's still a bit errant behavior on date range change where the suggestions are not properly cleared. We will address this later on. The component logic will undergo a major revamp when moving to Typescript anyway.

Sounds good, thanks @aerosol @zoldar for getting this over the line 🙏

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