Repository navigation
[docs] Document browser-stored dashboard tags, order and metric pins - #2074
Merged
Sébastien Ros (sebastienros) merged 6 commits intoNov 13, 2026
Merged
Sébastien Ros (sebastienros) merged 6 commits into
Sébastien Ros (sebastienros) merged 6 commits into
Conversation
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
David Pine (IEvangelist)
requested a review
from Sébastien Ros (sebastienros)
November 13, 2026 14:54
David Pine (IEvangelist)
marked this pull request as ready for review
November 13, 2026 14:54
David Pine (IEvangelist)
requested a review
from James Newton-King (JamesNK)
as a code owner
November 13, 2026 14:54
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation mischaracterizes AppHost-declared tags and display orders as browser preferences and overstates backup recovery guarantees without documenting read-failure and existing-backup limitations.
2 open issues
What changed in this PR
This PR updates the dashboard persistence guide to describe browser-local settings following microsoft/aspire#21840.
Changes:
- Adds storage keys for resource tags, resource and group order, and pinned metrics.
- Explains browser and origin boundaries, unprotected storage, multi-tab merging, and unreadable-value backups.
| File | Description |
|---|---|
src/frontend/src/content/docs/dashboard/data-persistence.mdx |
Adds a “Browser-stored settings” section alongside the existing disk-persistence guidance. |
Review effort: Balanced
|
|
||
| ## Browser-stored settings | ||
|
|
||
| Resource tags, resource and group order, and pinned metrics aren't stored in the data directory. The dashboard saves them in the browser's local storage, like its other preferences, under keys scoped to the application name: |
| - `Aspire_Resources_Order_<app>` | ||
| - `Aspire_Metrics_Pins_<app>` | ||
|
|
||
| Because these settings live in the browser, they aren't shared between browsers or users, and they're tied to the browser origin, including the port. If the dashboard is served on a different port, its tags, order, and pins don't carry over. Settings are stored unprotected, so don't put secrets in resource tags. If several tabs are open, each tab merges its changes with the saved value rather than overwriting changes from other tabs. If a stored value can't be read, the dashboard copies it to a `<key>_Unreadable` entry before replacing it. |
Sébastien Ros (sebastienros)
enabled auto-merge (squash)
November 13, 2026 22:49
The unknown-arguments example ran 'aspire destroy --force' in a bash block, which the pipeline command options unit test flags as an undocumented option. Describe the invalid option in prose and keep the error output.
Sébastien Ros (sebastienros)
requested a review
from Mitch Denny (mitchdenny)
as a code owner
November 13, 2026 23:28
Sébastien Ros (sebastienros)
deleted the
docs/pr-21840-42173829757-1-ebdd45ff98c1b360
branch
November 13, 2026 23:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Documents changes from microsoft/aspire#21840
Author:
@davidfowl-unknownTargeting
release/17.0, the latest release branch onmicrosoft/aspire.dev. The source PR milestone17.1has no matching branch there (latest_release_fallback).Why: The source PR moves resource tags, resource and group order, and pinned metrics from the SQLite settings database to browser local storage. The dashboard docs didn't describe where these settings live.
Changes (updated page):
src/frontend/src/content/docs/dashboard/data-persistence.mdx: added a "Browser-stored settings" section covering the storage keys, per-browser and per-origin scope, unprotected storage, multi-tab merging, and the_Unreadablebackup.Triggered signals:
dashboard_user_facing_page_changedandnew_public_type.