Title: feat: Add zoom, scroll and hover values to the monitoring charts by patelchaitany · Pull Request #7090 · feast-dev/feast · GitHub
Open Graph Title: feat: Add zoom, scroll and hover values to the monitoring charts by patelchaitany · Pull Request #7090 · feast-dev/feast
X Title: feat: Add zoom, scroll and hover values to the monitoring charts by patelchaitany · Pull Request #7090 · feast-dev/feast
Description: What this PR does / why we need it: The data quality monitoring charts on the feature detail page are hand-drawn SVG with no interaction. You cannot read exact values, zoom into a crowded range, or look at small bars. The time series also draws every row the API returns as one line, so different window lengths (daily, weekly, monthly, quarterly) and the baseline are joined together. That creates spikes and drops that are not in the data. This PR is UI only. The API and the stored metrics are unchanged. Time series Plots one window length at a time: the one picked in View, or daily when View is the baseline. The baseline row (all data, dated today) is no longer drawn as the newest point. Hover shows the date and exact values, with a guide line across all charts. Drag across a chart to zoom in. Zoom in/out/reset buttons; double-click resets. When zoomed in, scroll sideways (trackpad, Shift+wheel or the scrollbar) to move through the rest of the data. The axes stay fixed, all charts on the panel move together, and scrolling stops at the first and last day. Point markers are hidden when more than 45 points are on screen, so long ranges are not crowded. Distribution (numeric histogram) Hover shows the bin range and its count, plus the baseline count when a baseline is drawn. Drag to zoom into a range of bars (snapped to whole bars); the height re-fits to the bars in view, so small tail bars become readable. Same buttons and sideways scrolling as the time series. Leaves room above the plot so the top axis label is no longer cut off. Axis labels sit on bar edges. The zoom, scroll, hover and tooltip code is shared in ui/src/pages/monitoring/components/chartZoom.tsx. Screenshots Demo data: one feature view, hourly data for 20 drivers from 2026-07-01 to 2026-10-29, with daily, weekly and monthly metrics plus the baseline. conv_rate drifts upward and has a null spike on Oct 4–9. Time series, All time Before After Weekly, monthly and quarterly rows mixed into the daily line (spikes near 07-28), and the baseline drawn as the last point (drop at the right edge). Daily windows only. Time series, Last 30 days Before After A 9% null-rate blip on Oct 1 comes from the monthly row for October (daily is 0%). The drop at the end is the baseline row. Only real daily values. Time series: zoom, hover and scroll Drag-zoomed to Sep 30 – Oct 13, hovering Oct 4 Scrolled sideways to Sep 20 – Oct 7 Distribution Before After: hover Top axis label cut off; no way to read a bar's count. Bin range and exact count on hover. After: zoomed into the left tail After: expanded view Height re-fits, so a bar with 9 rows is readable. Top label (7,533) fully visible. Which issue(s) this PR fixes: Part of #7054: fixes case 3 (the time series mixes window lengths) and keeps the baseline off the time-series line. Cases 1, 2 and 4 are not changed here. #7056 and #7057 also edit FeatureMetricsDetail.tsx, so whichever merges second will need a small rebase. Checks I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows conventional commits format Testing Strategy Unit tests Integration tests Manual tests Testing is not required for this change Unit test: ui/src/pages/monitoring/FeatureMetricsDetail.test.tsx checks that only the selected window length is plotted, drag-to-zoom, sideways scrolling, double-click reset, and the hover values on the time series and the distribution. All 21 UI tests, tsc, ESLint and Prettier pass. Manual: built the UI and ran feast ui on the demo repo above; checked every time range, the View dropdown, numeric and categorical features, the expanded histogram, and the feature Monitoring tab. Misc
Open Graph Description: What this PR does / why we need it: The data quality monitoring charts on the feature detail page are hand-drawn SVG with no interaction. You cannot read exact values, zoom into a crowded range, or...
X Description: What this PR does / why we need it: The data quality monitoring charts on the feature detail page are hand-drawn SVG with no interaction. You cannot read exact values, zoom into a crowded range, or...
Opengraph URL: https://github.com/feast-dev/feast/pull/7090
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:771fe468-42b7-81a3-1fe4-f218c55fed7d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A908:DDED5:F76110:152B46F:6AFE98A3 |
| html-safe-nonce | 8360a30ac12e444602d64e5158ad81d5da5c5cba7c83894a6357dc74ab9a57a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTA4OkRERUQ1OkY3NjExMDoxNTJCNDZGOjZBRkU5OEEzIiwidmlzaXRvcl9pZCI6IjU3NDkzNDIxMDI5NTc3NTg2MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cfa5ade94e979c39b2dcdef9cb221d6ca9972d742b64a47b807ad545683f5bbc |
| hovercard-subject-tag | pull_request:5073789486 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/7090/files |
| twitter:image | https://avatars.githubusercontent.com/u/67532224?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/67532224?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: The data quality monitoring charts on the feature detail page are hand-drawn SVG with no interaction. You cannot read exact values, zoom into a crowded range, or... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width