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: fix job details refresh when executing job #104981

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

gtr
Copy link
Contributor

@gtr gtr commented Jun 15, 2023

Fixes: #103206

Previously, when a job was still executing, the job details page for that job would keep refreshing and the loading animation would interrupt the page, causing flickers. This commit fixes this bug to only show the loading animation when the jobRequest does not have data to show.

Loom: https://www.loom.com/share/498f5cfd236e4bb6aeaf9f27e9e5409b.

Release note (ui change): fix bug where the job details page would flicker between the job details and a loading animation when a job is still executing.

@gtr gtr requested review from xinhaoz and a team June 15, 2023 16:08
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@gtr gtr added backport-22.1.x backport-23.1.x Flags PRs that need to be backported to 23.1 and removed backport-22.1.x labels Jun 15, 2023
Fixes: cockroachdb#103206

Previously, when a job was still executing, the job details page for
that job would keep refreshing and the loading animation would interrupt
the page, causing flickers. This commit fixes this bug to only show the
loading animation when the `jobRequest` does not have data to show.

Release note (ui change): fix bug where the job details page would
flicker between the job details and a loading animation when a job is
still executing.
@gtr gtr force-pushed the job-details-refresh-bug branch from c013bd4 to feca697 Compare June 15, 2023 18:18
@gtr
Copy link
Contributor Author

gtr commented Jun 15, 2023

Looks like that TestLint test is failing for everyone at the moment. Going to merge, TFTR!
bors r+

@craig
Copy link
Contributor

craig bot commented Jun 15, 2023

Build succeeded:

@craig craig bot merged commit 26fdd4e into cockroachdb:master Jun 15, 2023
6 of 7 checks passed
@blathers-crl
Copy link

blathers-crl bot commented Jun 15, 2023

Encountered an error creating backports. Some common things that can go wrong:

  1. The backport branch might have already existed.
  2. There was a merge conflict.
  3. The backport branch contained merge commits.

You might need to create your backport manually using the backport tool.


error creating merge commit from feca697 to blathers/backport-release-22.2-104981: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch 22.2.x failed. See errors above.


error creating merge commit from feca697 to blathers/backport-release-23.1-104981: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch 23.1.x failed. See errors above.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained


-- commits line 11 at r1:
nit: this is not a ui change, this category should be a "bug fix"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jobs details refreshing with executing job
4 participants