Kaui 5.27#82
Open
tungleduyxyz wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Kaui analytics dashboard UI to improve report name presentation and modernize chart interactions (legend + tooltip), while refining the Advanced Controls layout and labeling.
Changes:
- Display the report pretty name as a horizontal chart heading and pass it to chart JS via
data-report-name. - Rework timeline chart legend and tooltip formatting/positioning (series label cleanup, date formatting, cursor-follow tooltip).
- Redesign Advanced Controls layout (flex/grid styling) and persist collapse open/closed state via
localStorage.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| config/locales/en.bootstrap.yml | Renames “Source Name” label to “Remote Database Name” in form/table translations. |
| app/views/kanaui/reports/_form.html.erb | Changes field-help tooltip behavior from click to hover. |
| app/views/kanaui/dashboard/index.html.erb | Adds chart heading using reportPrettyName, adds data-report-name, persists Advanced Controls collapse state. |
| app/assets/stylesheets/kanaui/kanaui.css | Updates dashboard styling (advanced controls grid, pill links, chart title styling, query card styling). |
| app/assets/javascripts/kanaui/kiddo/settings.js | Exposes reportName from the DOM into Kiddo settings. |
| app/assets/javascripts/kanaui/kiddo/helper.js | Adds compact value formatting, series label formatting, and date formatting helpers. |
| app/assets/javascripts/kanaui/kiddo/charts/utils/mouse_over.js | Updates tooltip sizing, formatting, date display, and makes tooltip follow cursor. |
| app/assets/javascripts/kanaui/kiddo/charts/line_chart.js | Moves legend to a right-side vertical column and updates legend label/value formatting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+117
to
+123
| /* Smoothing option links (Weekly/Monthly average/sum) render as inline pills */ | ||
| .kenui-analytics-dashboard-index .well > ul > li:not(.advanced-controls):not(:has(.query-label)) { | ||
| display: inline-flex; | ||
| } | ||
|
|
||
| .kenui-analytics-dashboard-index .well > ul > li:not(.advanced-controls):not(:has(.query-label)) > a { | ||
| display: inline-flex; |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes summarize:
Report Name Display
Graph Legend (right-side column)
Graph Tooltip
Advanced Controls layout