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

react-base: Improve BuildView 'Rebuild' topbar action #7597

Merged

Conversation

tdesveaux
Copy link
Contributor

Provide better feedback to user with the following changes:

  • Caption is now one of 'Rebuilt' (finished rebuild), 'Rebuilding' (rebuild in progress), 'Rebuild pending' (rebuild requested but not started).
  • Button now redirect to the Buildrequest for the rebuild, which, in turn, will redirect to the Build if it started.
  • If multiple rebuild were issued, redirection is done to the newest one (can be changed to the one closest to the Build viewed, see NOTE in code).
  • When 'Rebuild' button is clicked but new Buildrequest wasn't found yet, caption is 'Rebuilding' as before, but button is a noop.

Closes #7450

Contributor Checklist:

  • [n/a] I have updated the unit tests
  • I have created a file in the newsfragments directory (and read the README.txt in that directory)
  • [n/a] I have updated the appropriate documentation

Provide better feedback to user with the following changes:
- Caption is now one of 'Rebuilt' (finished rebuild), 'Rebuilding' (rebuild in progress), 'Rebuild pending' (rebuild requested but not started).
- Button now redirect to the Buildrequest for the rebuild, which will redirect to the Build if it started.
- If multiple rebuild were issued, redirection is done to the newest one (can be changed to the one closest to the Build viewed, see NOTE in code).
- When 'Rebuild' button is clicked but new Buildrequest wasn't found yet, caption is 'Rebuilding' as before, but button is a noop.
@p12tic p12tic force-pushed the react-base/improve-build-rebuild-ui branch from 802c037 to c8486bb Compare May 12, 2024 19:05
@p12tic
Copy link
Member

p12tic commented May 12, 2024

Rebased.

@p12tic p12tic merged commit 9992fb0 into buildbot:master May 13, 2024
35 checks passed
@tdesveaux tdesveaux deleted the react-base/improve-build-rebuild-ui branch May 13, 2024 12:18
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.

Rebuild UI unclear
2 participants