[docs] Add browser logs documentation covering WithBrowserLogs and BrowserUserDataMode#753
Conversation
…ataMode Documents the browser logs AppHost feature introduced in microsoft/aspire#16310 and enhanced with BrowserUserDataMode in microsoft/aspire#16457. - New page: app-host/browser-logs.mdx - Explains WithBrowserLogs and the child browser logs resource - Documents Shared vs Isolated BrowserUserDataMode - Covers browser selection (msedge, chrome, explicit path) - Shows configuration via Aspire:Hosting:BrowserLogs settings - Includes both C# and TypeScript AppHost code examples - Adds sidebar entry under AppHost > Resource types Co-authored-by: Copilot <[email protected]>
77dc9e6 to
1e1bfa5
Compare
|
Hey @copilot, I see that we already have a browser-logs.mdx under dev tools/integrations. With that said, we either need to make this one a lot lighter and then point to the other one, de-dup/cleanup, or close this PR. |
|
Do we just close this? |
Agent-Logs-Url: https://github.com/microsoft/aspire.dev/sessions/a60d1601-41bb-406f-a29b-e4872353aa29 Co-authored-by: IEvangelist <[email protected]>
The duplicate |
Documents changes from microsoft/aspire#16457 (@davidfowl)
Targeting
main—release/13.3does not exist onmicrosoft/aspire.dev, so falling back tomain.Why this PR is needed
PR microsoft/aspire#16457 added
BrowserUserDataMode(a new publicenum) and updatedWithBrowserLogswith auserDataModeparameter. There is currently no documentation for theWithBrowserLogsfeature (first introduced in microsoft/aspire#16310) onaspire.dev. This PR fills that gap.Key user-facing changes that need documenting:
BrowserUserDataModeenum withShared(default) andIsolatedvaluesWithBrowserLogs(browser, profile, userDataMode)signatureSharedmodeAspire:Hosting:BrowserLogs[:{ResourceName}]:UserDataModeChanges made
New file
src/frontend/src/content/docs/app-host/browser-logs.mdx— New page documenting:WithBrowserLogsusage with both C# and TypeScript AppHost examplesBrowserUserDataMode.SharedvsBrowserUserDataMode.Isolatedbehaviormsedge,chrome, explicit path)appsettings.jsonASPIREBROWSERLOGS001)Modified file
src/frontend/config/sidebar/docs.topics.ts— Added "Browser logs" entry under AppHost > Resource typesNotes for reviewers
[Experimental("ASPIREBROWSERLOGS001")]), so the page includes a caution callout.withBrowserLogs) per the ATS code-generation conventions shown in the PR.profile+Isolatedrestriction is documented.Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: