Skip to content

fix: restore Add button for File Path Mappings - #76

Open
Aaron Mark (amarkdotdev) wants to merge 2 commits into
microsoft:mainfrom
amarkdotdev:fix/add-file-path-mapping-button
Open

Aaron Mark (amarkdotdev) wants to merge 2 commits into
microsoft:mainfrom
amarkdotdev:fix/add-file-path-mapping-button

Conversation

@amarkdotdev

Copy link
Copy Markdown

Summary

  • Add the missing +Add button to the File Path Mappings options panel
  • Prompt for original and local mapped paths (same pattern as other option panels)

Fixes #7

Test plan

  • Open Source File options → File Path Mappings
  • Click Add, enter original + local paths, confirm mapping appears
  • Remove / Clear still work

The File Path Mappings options panel had Remove/Clear but no Add control.
Mirror the Excluded Paths Add button and prompt for original/local paths.

Fixes microsoft#7

Signed-off-by: Aaron Mark <[email protected]>
@amarkdotdev
Aaron Mark (amarkdotdev) marked this pull request as ready for review August 18, 2026 19:08
Copilot AI lite review requested due to automatic review settings August 18, 2026 19:08

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

Note

Copilot was unable to run its full agentic suite in this review.

Adds UI support for creating source file path mappings directly from the Source File options panel.

Changes:

  • Added an “Add” button to the mapped paths UI.
  • Implemented AddMappedPath_Click to prompt for original/mapped paths and persist the mapping.
  • Reloaded the mappings list after adding a new entry.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/ProfileExplorerUI/OptionsPanels/SourceFileOptionsPanel.xaml.cs Adds the click handler to collect two path inputs and update SourceMappings.
src/ProfileExplorerUI/OptionsPanels/SourceFileOptionsPanel.xaml Adds the “Add” button wired to the new click handler.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@amarkdotdev

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@amarkdotdev

Copy link
Copy Markdown
Author

Soft maintainer nudge on this one whenever convenient.

@amarkdotdev

Copy link
Copy Markdown
Author

Hi, quick check in. If you need a rebase, more tests, or extra context from me, just say the word.

This branch has not been deployed

No deployments
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.

Mapping code gap?

2 participants