Skip to content

Make resources page inaccessible in standalone mode#2201

Merged
JamesNK merged 6 commits intomainfrom
jamesnk/dashboard-standalone-redirect
Feb 14, 2024
Merged

Make resources page inaccessible in standalone mode#2201
JamesNK merged 6 commits intomainfrom
jamesnk/dashboard-standalone-redirect

Conversation

@JamesNK
Copy link
Copy Markdown
Member

@JamesNK JamesNK commented Feb 13, 2024

Fixes #1556

Standard alone dashboard displayed an empty resources page. This PR updates the app to take the user directly to the structured logs page. It becomes the new default page.

  • Server redirects browser directly to structured logs.
  • Prevent Blazor app from navigating to resources page in browser.
Microsoft Reviewers: Open in CodeFlow

@JamesNK JamesNK changed the title Fix dashboard running without resource server Make resources page inaccessible in standalone mode Feb 13, 2024
Base automatically changed from jamesnk/dashboard-standalone to main February 13, 2024 03:37
@JamesNK JamesNK force-pushed the jamesnk/dashboard-standalone-redirect branch from 1aa0a57 to 66e6fc3 Compare February 13, 2024 03:38
@JamesNK
Copy link
Copy Markdown
Member Author

JamesNK commented Feb 13, 2024

cc @davidfowl I noticed the resource page was still available when testing out #2199. Simple fix is to redirect access to it to a telemetry page.

@JamesNK JamesNK enabled auto-merge (squash) February 14, 2024 01:24
@JamesNK JamesNK merged commit 517b313 into main Feb 14, 2024
@JamesNK JamesNK deleted the jamesnk/dashboard-standalone-redirect branch February 14, 2024 01:56
radical pushed a commit to radical/aspire that referenced this pull request Feb 14, 2024
@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