Skip to content
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

release-2.1: ui: design updates to the Statements pages #30115

Merged
merged 29 commits into from
Sep 12, 2018

Conversation

couchand
Copy link
Contributor

Backport 29/29 commits from #29204.

/cc @cockroachdb/release


Included are a variety of updates to the Statements list and details pages, working to make these pages as immediately useful as possible.

List page, before:
screen shot 2018-08-28 at 3 03 46 pm

List page, after:
screen shot 2018-09-05 at 5 05 15 pm

Details page, before:
screen shot 2018-08-28 at 3 03 35 pm

Details page, after:
screen shot 2018-09-05 at 5 05 32 pm

couchand and others added 29 commits September 12, 2018 10:13
This allows very short tooltips to take up less space.

Release note (admin ui change): Make short tooltips take up less space.
Previously, the hover area for tooltips would only expand to
the content of the tooltip, which is problematic in some cases.

Release note (admin ui change): Make some tooltips easier to access.
Release note: none
Release note (admin ui change): Simplify the appearance of the Statements
pages.
To highlight the critical metric of statement retries, we split them
out into a distinct column on the Statements page.  Also, adjust
the table layout a bit to make space for the new column.

Release note (admin ui change): Add statement retries to Statements table.
Release note (admin ui change): Right align all numeric stats on Statements
page.
Release note (admin ui change): Improve the tooltips on the Statements
list and details pages by adding a legend detailing the parts of the
bar chart.
Release note: None
Add a bar to the total execution count, and root the max retries
bar at zero.

Release note: None
To make clear which rows summarize the other rows.

Release note (admin ui change): Highlight summary rows in
Statement Details tables.
Release note (admin ui change): Improve the headers for the Statement
Details tables.
Release note (admin ui change): Adds a few explanatory tooltips to
Statement Details tables.
Release note (admin ui change): Reorder the Statement Details
tables to highlight the most useful data.
Release note (admin ui change): Widen Statement Details bar charts.
Release note: None
Release note (admin ui change): Summarize SET statements in Statements table.
Release note (admin ui change): Clean up the layout of the Statements page.
The arrow on the sortable table column headers was previously
quite small.  This increases the size to match the heaeder
text size.

Release note: None
Release note (admin ui change): Add a clarifying tooltip to the
Statement Details page By Gateway Node table.
Contributes to: cockroachdb#29676
Release note (admin ui change): When a statement fingerprint has sometimes
failed, used the optimizer, or been distributed (but not always), show the
number of executions that match.
Our built-in app names sometimes contain spaces, which then
look awfully weird with line breaks inside.

Release note: None
I will readily admit that this is a moderately hacky solution.
I have already filed cockroachdb#29640 to come back and clean this up.

Release note: None
@couchand couchand requested a review from a team September 12, 2018 14:15
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@vilterp vilterp left a comment

Choose a reason for hiding this comment

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

Not sure what the build failure is. Hit re-run in TC for you in case it's a flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants