Repository navigation
feat(mcp): render paths query results as a sankey in the mcp ui app #104832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
d7604d3
feat(quill-charts): add SankeyChart and use it for MCP cluster journeys
pauldambra f05b305
fix(quill-charts): sankey hit detection and all-zero flow handling
pauldambra 5068202
test(quill-charts): make the sankey zero-node hit test catch the regr…
pauldambra 9b9f747
refactor(quill-charts): share the sankey value formatter
pauldambra f2666eb
fix(quill-charts): dim inactive sankey links against their resting color
pauldambra 51f28d2
fix(mcp_analytics): fix journey sankey sizing and tooltip shares
pauldambra daaa2cf
fix(mcp_analytics): trim journey tooltip comment to one line
pauldambra 0a26879
fix(quill-charts): align sankey nodes to the right by distance from t…
pauldambra 36b9ea3
feat(quill-charts): sankey tooltip placement and touch taps
pauldambra e32c1dc
fix(quill-charts): fire sankey clicks when tooltips are disabled
pauldambra 48bcbc6
refactor(mcp_analytics): extract journey tooltip
pauldambra f08e6ba
fix(quill-charts): clear stale Sankey hover and separate journey nodes
pauldambra 8ccbe48
perf(quill-charts): skip distant sankey hit checks
pauldambra 6402cbb
fix(quill-charts): harden sankey layout inputs
pauldambra 181c149
fix(quill-charts): reset sankey errors on data changes
pauldambra 0319659
fix(quill-charts): match sankey hit testing to ribbons
pauldambra 93e271e
fix(quill-charts): match the missing sankey node error in its test
pauldambra 9ccc49b
fix(quill-charts): brace the duplicate sankey node id guard
pauldambra da584b6
fix(quill-charts): sample sankey ribbons densely enough to hit thin ones
pauldambra 10c4261
fix(quill-charts): address sankey review feedback
pauldambra 0def4f7
fix(quill-charts): address second sankey review round
pauldambra ac2221f
fix(quill-charts): address sankey triage round
pauldambra f2f95a2
refactor(quill-charts): apply simplify pass
pauldambra ef9fa52
fix(quill-charts): cap sankey node width by column count, not node count
pauldambra 8aee48a
fix(quill-charts): address sankey review round
pauldambra 6415423
fix(quill-charts): clear sankey hover on interactive overlays
pauldambra 5e5acb3
refactor: apply simplify pass
pauldambra 1954930
chore(quill-charts): cover transparent sankey nodes in the hover pass
pauldambra 0c628a0
refactor(quill-charts): share tap tracking between chart interaction …
pauldambra 68d7676
fix(quill-charts): skip zero-valued sankey links, fall back on an emp…
pauldambra 84ee30f
chore(quill-charts): cover zero-valued ribbons in the sankey hover pass
pauldambra a325de2
chore(visual): update storybook baselines
posthog[bot] 3b95dc7
feat(paths): render user paths with the quill SankeyChart behind a flag
pauldambra 591b64b
fix(quill-charts): reset sankey hover dedup key on layout change
pauldambra d18ea89
refactor(paths): memoize chart width and dropoff totals
pauldambra d0441ea
fix(quill-charts): keep sankey hover reports and overlay in step with…
pauldambra 59fd97c
fix(quill-charts): keep emphasized sankey links at least as opaque as…
pauldambra 6290e29
fix(paths): lazy-load the sankey paths chart and address review
pauldambra 2e62824
fix(quill-charts): call emphasisForHit in the sankey draw test
pauldambra ba31e1f
fix(paths): mark the node card popover as a chart overlay
pauldambra 698a1cf
perf(paths): only check nearby cards when placing a hover-only card
pauldambra a24bb44
fix(quill-charts): restore the useRef import and emphasisForHit in sa…
pauldambra 39f6d32
fix(quill-charts): stop emphasized sankey ribbons compounding past th…
pauldambra 0ea40e8
fix(paths): stop drop-off blocks hovering the ribbons beneath them
pauldambra 832f757
refactor(quill-charts): drop the dead overlay check in sankey hit-tes…
pauldambra 7c2ce0f
chore(visual): update storybook baselines
posthog[bot] ddd9708
feat(mcp): render paths query results as a Sankey in the MCP UI app
pauldambra 278208f
fix(quill-charts): guard sankey nodeColumn pins against NaN and docum…
pauldambra 790f0d4
fix(quill-charts): guard sankey collision resolution against empty pi…
pauldambra 975a01e
fix(mcp): keep paths labels distinct, cap the drawn edges, and list t…
pauldambra 976ee8e
fix(mcp): share paths transforms with the insight and address review
pauldambra 4d3ee72
fix(mcp): use the default sankey tooltip in the paths app
pauldambra 7dc99fb
fix(quill-charts): keep sankey labels across the last gap from overla…
pauldambra a7f56a4
fix(mcp): bound paths steps to the chart and count path starts honestly
pauldambra 4f1be5f
fix(quill-charts): count pinned columns when capping sankey node width
pauldambra cb03a25
fix(mcp): cap sankey scroll width and node width at the laid-out colu…
pauldambra 9816cf2
fix(quill-charts): keep sankey headers on the engine's columns and ev…
pauldambra a7ce1e5
refactor(product-analytics): count path origins with the shared helper
pauldambra 1df0fb0
fix(mcp): count paths summary steps on the full result
pauldambra 4297e71
fix(quill-charts): show sankey names in full on hover and in narrow c…
pauldambra 5a6e9b4
fix(quill-charts): size sankey label room from the last column and ke…
pauldambra 8f332c8
fix(quill-charts): reject bad sankey pins before the chart has a size
pauldambra dac8040
fix(quill-charts): keep sankey header room when the top margin is ove…
pauldambra 6733477
chore(mcp-analytics): snapshot the cluster journey chart in storybook
pauldambra ef8f744
fix(quill-charts): keep a sankey plot when outside labels outgrow nar…
pauldambra d7788d9
fix(quill-charts): report the sankey node area as the plot to chart o…
pauldambra 6369f79
fix(mcp): pin path steps only when they fit the visualizer's columns
pauldambra aa0abc9
fix(quill-charts): keep pin types apart in the sankey error reset key
pauldambra b6c4efb
fix(mcp): hide sankey node values when the paths view is truncated
pauldambra 77761bd
Merge remote-tracking branch 'origin/master' into pastori/104591-t179…
pauldambra 7225a88
Merge origin/master into posthog/quill-charts-sankey
pauldambra 1557e2e
Merge posthog/paths-sankey-chart into posthog/mcp-paths-sankey
pauldambra efe6587
Merge posthog/quill-charts-sankey into posthog/paths-sankey-chart
pauldambra 68ccfcf
test(mcp): cover the paths visualizer's truncation, step count and sc…
pauldambra 1be81e4
chore(quill-charts): document the sankey accessor methods
pauldambra e93d4e7
fix(quill-charts): count nodes fed only by zero links as sankey sources
pauldambra 7f9e385
Merge posthog/quill-charts-sankey into posthog/paths-sankey-chart
pauldambra 19f2112
Merge posthog/paths-sankey-chart into posthog/mcp-paths-sankey
pauldambra 0e623e3
fix(quill-charts): keep sankey emphasis linear and alpha-safe
pauldambra 6086604
fix(paths): report errors caught by the sankey chart boundary
pauldambra 3e47b61
Merge posthog/paths-sankey-chart into posthog/mcp-paths-sankey
pauldambra e65cfa9
fix(quill-charts): keep the sankey hover when the theme rereads an eq…
pauldambra 8013175
Merge posthog/quill-charts-sankey into posthog/paths-sankey-chart
pauldambra ecd5011
Merge posthog/paths-sankey-chart into posthog/mcp-paths-sankey
pauldambra 1787dc1
fix(mcp): keep long paths under their step headers and qualify path s…
pauldambra 1326358
chore(visual): update storybook baselines
posthog[bot] 6071cb0
chore(visual): update storybook baselines
posthog[bot] a8c9e2f
Merge posthog/quill-charts-sankey into posthog/paths-sankey-chart
pauldambra 4adc7f9
Merge posthog/paths-sankey-chart into posthog/mcp-paths-sankey
pauldambra 32c9781
chore(mcp): move sankey pinning rules into the docs and drop the vite…
pauldambra 93450e8
chore(visual): update storybook baselines
posthog[bot] 5d858d5
Merge origin/master into posthog/mcp-paths-sankey
pauldambra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.