Skip to content

Mock policy server: Add onboarding page - #331720

Merged
joshspicer merged 7 commits into
microsoft:mainfrom
joshspicer:joshspicer/mock-policy-server-onboarding
Aug 20, 2026
Merged

Mock policy server: Add onboarding page#331720
joshspicer merged 7 commits into
microsoft:mainfrom
joshspicer:joshspicer/mock-policy-server-onboarding

Conversation

@joshspicer

Copy link
Copy Markdown
Member

Summary

  • add dedicated Setup and Policies pages to the mock policy server
  • guide users through the recommended system proxy workflow and the Code OSS override alternative
  • automatically detect the active connection method and show its status globally
  • add exact VS Code Command Palette guidance, cache recovery steps, and responsive accessible styling

Validation

  • npm run eslint -- scripts/mock-policy-server/server.ts scripts/mock-policy-server/public/app.ts
  • npm run stylelint -- scripts/mock-policy-server/public/style.css
  • git diff --check
  • verified the proxy marker response and probe isolation from Live Requests
  • browser-tested Setup and Policies in dark/light themes and desktop/narrow layouts
  • verified Code OSS override apply/restore preserves the original file

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 19, 2026 22:13
joshspicer and others added 3 commits August 19, 2026 15:16
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds onboarding and connection detection to the mock policy server.

Changes:

  • Introduces Setup and Policies pages with responsive, accessible styling.
  • Detects system-proxy and Code OSS override connections.
  • Expands setup, command, and cache-recovery guidance.
Show a summary per file
File Description
server.ts Adds proxy-probe responses and marker headers.
README.md Documents onboarding and connection workflows.
style.css Styles the new responsive UI.
index.html Adds Setup/Policies page structure.
app.ts Implements navigation and connection detection.

Review details

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 5/5 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread scripts/mock-policy-server/public/app.ts
Comment thread scripts/mock-policy-server/public/app.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
roblourens
roblourens previously approved these changes Aug 19, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@joshspicer
joshspicer enabled auto-merge (squash) August 19, 2026 22:31
@joshspicer
joshspicer merged commit 7013704 into microsoft:main Aug 20, 2026
44 of 45 checks passed
@vs-code-engineering vs-code-engineering Bot added this to the 1.135.0 milestone Aug 20, 2026
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.

4 participants