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

ui: Debug Page Flashes #23428

Merged
merged 1 commit into from
Mar 5, 2018
Merged

Conversation

mrtracy
Copy link
Contributor

@mrtracy mrtracy commented Mar 5, 2018

Two debug pages (Localities and Raft Ranges) were flashing content while
refreshing data; this is because they were using the wrong criteria for
determing whether to display a "loading..." message instead of content.

Fixes #23411
Fixes #21700

Release note: None

Two debug pages (Localities and Raft Ranges) were flashing content while
refreshing data; this is because they were using the wrong criteria for
determing whether to display a "loading..." message instead of content.

Fixes cockroachdb#23411
Fixes cockroachdb#21700

Release note: None
@mrtracy mrtracy requested review from vilterp, couchand and a team March 5, 2018 21:58
@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.

This is a good short-term fix. Looking forward to more discussion around #18741 about this general pattern.

Copy link
Contributor

@couchand couchand left a comment

Choose a reason for hiding this comment

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

Looks fine, though it's worth noting that @a-robinson had suggested that the raft ranges page not auto-refresh at all.

Probably cherry-pick?

@mrtracy mrtracy merged commit 4b46fd2 into cockroachdb:master Mar 5, 2018
@mrtracy mrtracy deleted the mtracy/debug_page_flashes branch March 5, 2018 23:57
@a-robinson
Copy link
Contributor

I don't particularly care whether it auto-refreshes, I just didn't want it to bump me up to the top of the page every time it did.

Thanks @mrtracy!

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.

5 participants