Skip to content

Fix dashboard running without resource server#2199

Merged
JamesNK merged 2 commits intomainfrom
jamesnk/dashboard-standalone
Feb 13, 2024
Merged

Fix dashboard running without resource server#2199
JamesNK merged 2 commits intomainfrom
jamesnk/dashboard-standalone

Conversation

@JamesNK
Copy link
Copy Markdown
Member

@JamesNK JamesNK commented Feb 13, 2024

Fixes #1556

  • ApplicationName control no longer waits for connection if client is not enabled
  • Adds bUnit test project called Aspire.Dashboard.Components.Tests and test. I follows guidance from https://learn.microsoft.com/en-us/aspnet/core/blazor/test for setting up Blazor unit testing. This particular test could have been written by moving logic into a view model and then testing the view model, but that's overkill for a simple control.
Microsoft Reviewers: Open in CodeFlow

Copy link
Copy Markdown
Member

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

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

We should verify that CI is running these tests before merge.

@JamesNK JamesNK force-pushed the jamesnk/dashboard-standalone branch from f0fcfa0 to ce8b1a9 Compare February 13, 2024 02:15
@JamesNK
Copy link
Copy Markdown
Member Author

JamesNK commented Feb 13, 2024

image

@JamesNK JamesNK enabled auto-merge (squash) February 13, 2024 03:04
@JamesNK JamesNK merged commit c28709a into main Feb 13, 2024
@JamesNK JamesNK deleted the jamesnk/dashboard-standalone branch February 13, 2024 03:37
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support dashboard running without server

2 participants