Skip to content

Enhanced the refresh functionality in targets route #2889

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

Merged
merged 3 commits into from
Jun 23, 2025

Conversation

sohail-hashicorp
Copy link
Collaborator

@sohail-hashicorp sohail-hashicorp commented Jun 16, 2025

Description

This PR enhances the user experience of the refresh loading state in the target screen.

Previously, the refresh button would indicate completion while the global linear loader continued, creating user confusion.

With the current solution all refresh operations are awaited in the target route
ensuring the parent and child route refreshes complete before ending loading state.

🎟️ Jira ticket

Screenshots (if appropriate)

Issue

loading_issue.mov

In the above video, the linear loader on the header is still visible but the circular loader in the button is completed. This is due to internal loading in progress in the target route.

Fix

loading_issue_fixed.mov

How to Test

Login to the boundary and navigate to the target screen and click on refresh button.

Checklist

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@sohail-hashicorp sohail-hashicorp requested a review from a team as a code owner June 16, 2025 05:32
Copy link

vercel bot commented Jun 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2025 6:17pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2025 6:17pm

calcaide
calcaide previously approved these changes Jun 17, 2025
Copy link
Collaborator

@calcaide calcaide left a comment

Choose a reason for hiding this comment

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

Tested manually and works as expected!!
Thanks for the catch & work!! 🙌 💪

ZedLi
ZedLi previously approved these changes Jun 17, 2025
Copy link
Collaborator

@ZedLi ZedLi left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Collaborator

@priya-patel04 priya-patel04 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@sohail-hashicorp sohail-hashicorp merged commit 96ff0dd into main Jun 23, 2025
21 checks passed
@sohail-hashicorp sohail-hashicorp deleted the ICU-16235/improving-refresh-ux branch June 23, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants