Repository navigation
Report: show the solution path relative to where report runs - #10
Merged
Merged
Conversation
The header printed the solution's absolute path from the map, so a committed report carried the machine it was built on (C:\KKTest\..., then /home/user/...). A solution under the working directory now shows relative to it with forward slashes (samples/SampleShop/SampleShop.sln); one outside it keeps the recorded path. The sample report is rebuilt from the same index, so only its header line changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013F6VMUcDtZmJX3ZibLuzXg
4 of 10 tasks
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.
Summary
The report header printed the solution's absolute path from the map, so a committed report showed the machine it was built on. The sample report showed
C:\KKTest\repos\test\…, and after #9 it showed/home/user/TestAtlas/….Now
testatlas reportpasses its working directory toHtmlReportBuilder.Build:samples/SampleShop/SampleShop.sln, in both the text and thetitletooltip.docs/sample-report.htmlis rebuilt from the same index as #9, so only its header line changes. The spec's report section describes the new behaviour.Related issue
None.
Type of change
Checklist
dotnet buildpassesdotnet testpasses (265/265, 7 new)Notes for reviewers
Build(MapDocument doc, string? baseDirectory = null). The new parameter is optional, so existing callers and tests are unchanged. The MCP server doesn't render the report.reportis run, as well as on the map. The same map, run from the same directory, still gives byte-identical output.DisplayPathcovers a path under the base, a base with a trailing slash, a path outside the base, a folder literally named..x(still inside), a non-path placeholder, and no base. A builder-level test checks the header markup with and without a base.🤖 Generated with Claude Code
https://claude.ai/code/session_013F6VMUcDtZmJX3ZibLuzXg
Generated by Claude Code