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

TRE UI does not update when an action on a VM completes #3724

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

marrobi
Copy link
Member

@marrobi marrobi commented Sep 22, 2023

Fixes #3353

How is this addressed

  • Retrieve scope_id and pass to API call
  • Return from components dependant on workspace context when the workspace is not set. Think there is a bigger issue around dependancies, the workspace context workspace property is initialised as '{}' meaning dependancies do not work correctly.

@marrobi marrobi enabled auto-merge (squash) September 22, 2023 15:08
@github-actions
Copy link

github-actions bot commented Sep 22, 2023

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit f0355ee.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@jjgriff93 jjgriff93 left a comment

Choose a reason for hiding this comment

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

Nice! David's more familiar with this than me so worth him checking too

ui/app/src/components/workspaces/WorkspaceServiceItem.tsx Outdated Show resolved Hide resolved
ui/app/src/components/workspaces/WorkspaceLeftNav.tsx Outdated Show resolved Hide resolved
ui/app/package.json Show resolved Hide resolved
Copy link
Member

@damoodamoo damoodamoo left a comment

Choose a reason for hiding this comment

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

Pretty happy with this - so the core issue was that the TRE Researcher couldn't get the workspace details without the scope id. Remember this - and is why we added that /scopeid endpoint, to deal with this elsewhere, so makes sense to use it here too. Cheers, great bug to squash!

@marrobi
Copy link
Member Author

marrobi commented Sep 25, 2023

/test-force-approve

UI only.

@github-actions
Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit f0355ee)

(in response to this comment from @marrobi)

@marrobi marrobi merged commit 2c15da6 into microsoft:main Sep 25, 2023
10 checks passed
@marrobi marrobi deleted the marrobi/issue3353 branch September 25, 2023 11:04
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.

TRE UI does not update when an action on a VM completes
4 participants