Skip to content

fix(serve): replace all href="#" with actual paths#46

Merged
avrabe merged 1 commit intomainfrom
fix/href-hash-navigation
Mar 19, 2026
Merged

fix(serve): replace all href="#" with actual paths#46
avrabe merged 1 commit intomainfrom
fix/href-hash-navigation

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 19, 2026

Summary

  • Every <a> tag with hx-get now has a matching href so browser fallback works
  • 65 occurrences fixed across views.rs and components.rs
  • Positional {} format args converted to named args where needed
  • Fixes the /# navigation bug when clicking links in the dashboard

Test plan

  • cargo test --all — all tests pass
  • cargo +stable clippy -- -D warnings — clean
  • grep 'href="#"' on both files returns 0 matches
  • Playwright E2E (CI)

🤖 Generated with Claude Code

…n bug

Every <a> tag with hx-get now has a matching href so that:
- Right-click → Open in new tab works
- Browser fallback without JavaScript works
- No more /#  URL on click

65 occurrences fixed across views.rs and components.rs. Positional
format args converted to named args where needed to avoid index shifts.

Fixes: FEAT-001
Refs: SSC-4

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@avrabe avrabe merged commit 0a62be5 into main Mar 19, 2026
12 checks passed
@avrabe avrabe deleted the fix/href-hash-navigation branch March 19, 2026 19:55
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 181a7ab Previous: 0a62be5 Ratio
store_insert/10000 56272450 ns/iter (± 1897423) 37737085 ns/iter (± 1054399) 1.49
store_lookup/100 2190 ns/iter (± 10) 1695 ns/iter (± 18) 1.29
store_lookup/1000 26049 ns/iter (± 54) 19452 ns/iter (± 313) 1.34
traceability_matrix/1000 58910 ns/iter (± 359) 40264 ns/iter (± 83) 1.46
query/100 776 ns/iter (± 2) 598 ns/iter (± 2) 1.30
query/1000 7128 ns/iter (± 27) 5051 ns/iter (± 10) 1.41

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant