fix(automation): add Position Estimation to the Automation section nav#3359
fix(automation): add Position Estimation to the Automation section nav#3359Yeraze wants to merge 1 commit into
Conversation
The Position Estimation settings section (issue #3271/#3349) was rendered in the Automation tab as <div id="position-estimation"> but was never added to the SectionNav quick-links list, which jumped straight from "Auto Delete by Distance" to "Ignored Nodes". The section was therefore only discoverable by scrolling, and users reported being unable to find the feature's settings. Add the missing nav entry (in render order) and a static-source invariant test asserting every Automation nav item has a matching section anchor and that Position Estimation is listed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude finished @Yeraze's task —— View job PR Review CompleteTodo List:
Code Review FeedbackThis PR is well-executed and addresses a clear UX gap. Here's my assessment: ✅ PositivesProblem Well-Defined: The issue description clearly identifies the problem - Position Estimation settings were missing from the navigation quick-links, making them hard to discover. Minimal, Focused Change: The fix is surgical - just one line added to Excellent Test Coverage: The new
Follows Patterns: The navigation item follows the established pattern with proper i18n key structure. 📝 Code Quality AssessmentImplementation Quality: ⭐⭐⭐⭐⭐
Test Quality: ⭐⭐⭐⭐⭐
🔍 Security & PerformanceSecurity: ✅ No concerns
Performance: ✅ No concerns
🎯 Potential ConsiderationsMinor: The test does static string parsing which could theoretically be brittle if App.tsx formatting changes significantly, but this is a reasonable tradeoff given App.tsx's size and the test's focused scope. Note: I cannot run the test suite or linter to verify the reported passing tests, but the implementation looks solid. 🏆 Overall AssessmentThis is a high-quality fix that:
Recommendation: Approve and merge - this is exactly the type of focused, well-tested fix that improves UX without risk. |
|
Superseded: rather than just adding a quick-link, Position Estimation is being relocated out of the per-source Automation tab into the global Settings UI. It's a global feature (single set of |
Problem
The Position Estimation settings section (from #3271 / #3349) is rendered in the Automation tab as
<div id="position-estimation">(App.tsx:5191), but it was never added to the tab'sSectionNavquick-links list — which jumped straight from Auto Delete by Distance to Ignored Nodes. As a result the section had no quick-link and was only discoverable by scrolling, so users couldn't find where to configure the estimator (enable, frequency, lookback, "Recalculate now").Fix
{ id: 'position-estimation', label: t('automation.position_estimation.title', 'Position Estimation') }entry to the AutomationSectionNav, in render order (after Auto Delete by Distance, before Ignored Nodes).AutomationSectionNav.test.ts— a static-source invariant guard (App.tsx is too large to render in jsdom) asserting:position-estimation, and<div id="...">section anchor (catches drift in either direction).Testing
tsc --noEmitclean.🤖 Generated with Claude Code