Skip to content

[3299 by Claude Opus 5.5] Fix Ultrafix Settings documentation link to the existing command guide - #3300

Merged
integry merged 1 commit into
mainfrom
3299/claude-opus-5-5-fix-ultrafix-settings-doc-20261020-1832-snd
Oct 20, 2026
Merged

integry merged 1 commit into
mainfrom
3299/claude-opus-5-5-fix-ultrafix-settings-doc-20261020-1832-snd

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3299

Branch: 3299/claude-opus-5-5-fix-ultrafix-settings-doc-20261020-1832-snd
Commits: ✅ Changes committed (f826fd3)


AI Processing Completed

Execution Details:

Summary:
I've fixed the Ultrafix docs link in Settings, and added a test that checks the link as it actually renders. The link now goes to https://docs.propr.dev/docs/features/pr-commands#ultrafix (UltrafixSettingsSection.tsx:44), the same place the Settings category guide already points.

Regression coverage

  • I moved the docs-route check out of settingsCategoryGuides.test.ts into a shared helper, expectExistingDocsRoute(), in docsRoutes.testUtils.ts. It checks that the page exists under docs/docs/ and that the anchor matches a heading on that page. The category guide tests now call this helper.
  • A new test in WorkflowSettingsSection.test.tsx renders UltrafixSettingsSection, takes the href from the "Ultrafix docs" link and checks it with the helper. It reads the URL from the screen rather than repeating a hardcoded one.
  • A second new test confirms the helper throws for the old pr-ultrafix-commands route and for a missing heading.
  • To prove the test catches the original bug, I briefly put the old href back. The new test failed with docs/docs/features/pr-ultrafix-commands.md is missing; I then restored the fix.

What I ran (all passed first time, no retries, skips or timeout changes)

  • npx vitest run src/pages/SettingsPage: 25 files, 218 tests passed. That includes 7 in WorkflowSettingsSection.test.tsx and the category-guide suite.
  • npm run typecheck (tsc --noEmit): clean.
  • npx eslint --max-warnings 0 src/pages/SettingsPage: clean.
  • I didn't run the full UI test suite or the Playwright tests.

Live site: the new docs page returns 200 and its HTML has the id=ultrafix heading. The old URL still returns 404.

Nothing else changed: no Settings text, layout or behavior, no other links, no docs edits and no redirect. The only visible difference is where the link goes, so I didn't make preview images.

Detailed Logs:

  • Conversation: 35 messages
  • Session: 3dff0fda-a48e-43c2-bee7-0a0164de44ff

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3299-2026-10-20T18-35-57-449Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3299-2026-10-20T18-35-57-449Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: I've fixed the Ultrafix docs link in Settings, and added a test that checks the link as it actually renders. The link now goes to `https://docs.propr.dev/docs/features/pr-commands#ultrafix` (`Ultrafix...


This PR was created automatically by ProPR after processing issue #3299.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…checks the link as it actually renders. The link now goes to `https://docs.propr.dev/docs/features/pr-commands#ultrafix` (`UltrafixSettingsSection.tsx:44`), the same place the Settings category guide already points.

Regression coverage
- I moved the docs-route check out of `settingsCategoryGuides.test.ts` into a shared helper, `expectExistingDocsRoute()`, in `docsRoutes.testUtils.ts`. It checks that the page exists under `docs/docs/` and that the anchor matches a heading on that page. The category guide tests now call this helper.
- A new test in `WorkflowSettingsSection.test.tsx` renders `UltrafixSettingsSection`, takes the `href` from the "Ultrafix docs" link and checks it with the helper. It reads the URL from the screen rather than repeating a hardcoded one.
- A second new test confirms the helper throws for the old `pr-ultrafix-commands` route and for a missing heading.
- To prove the test catches the original bug, I briefly put the old href back. The new test failed with `docs/docs/features/pr-ultrafix-commands.md is missing`; I then restored the fix.

What I ran (all passed first time, no retries, skips or timeout changes)
- `npx vitest run src/pages/SettingsPage`: 25 files, 218 tests passed. That includes 7 in `WorkflowSettingsSection.test.tsx` and the category-guide suite.
- `npm run typecheck` (`tsc --noEmit`): clean.
- `npx eslint --max-warnings 0 src/pages/SettingsPage`: clean.
- I didn't run the full UI test suite or the Playwright tests.

Live site: the new docs page returns 200 and its HTML has the `id=ultrafix` heading. The old URL still returns 404.

Nothing else changed: no Settings text, layout or behavior, no other links, no docs edits and no redirect. The only visible difference is where the link goes, so I didn't make preview images.
@integry

integry commented Oct 20, 2026

Copy link
Copy Markdown
Owner

/review gpt-6-astra

@propr-dev

propr-dev Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — gpt-6-astra

Overall Evaluation

Ready to merge within the visible scope, conditional on pending checks completing successfully.

✅ Correct destination — UltrafixSettingsSection.tsx:44 now points to the existing PR commands guide’s Ultrafix section, matching the category guide and supplied documentation heading.

✅ Rendered-link coverage — The new component test validates the rendered link against the documentation tree. Extracting the existing validator preserves category-guide coverage, and negative tests check rejection of missing pages and headings.

This was a static review of the complete supplied diff and context; no commands were run. The issue description is truncated, so requirements beyond its visible text could not be assessed. Current checks show no failures and six pending.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Assert the intended destination

In propr-ui/src/pages/SettingsPage/WorkflowSettingsSection.test.tsx:64, optionally assert the exact expected href alongside route validation. The current test catches missing pages and headings but would accept an unrelated existing documentation page. This would strengthen regression coverage; the implemented destination is already correct, so it is not required for merge.

Score

The focused fix satisfies the visible objective and adds relevant regression coverage without an identified regression. Pending checks remain the final validation step.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 15s
  • Tokens: 30,349 (29,992 in / 357 out)
  • Cost: $0.30

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@integry
integry merged commit cfeb7d3 into main Oct 20, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Ultrafix Settings documentation link to the existing command guide

1 participant