Skip to content

fix(web): drop trailing slash from the navbar Dashboard link - #119

Open
qveensi wants to merge 1 commit into
ProxySQL:masterfrom
qveensi:fix/webui-dashboard-trailing-slash
Open

fix(web): drop trailing slash from the navbar Dashboard link#119
qveensi wants to merge 1 commit into
ProxySQL:masterfrom
qveensi:fix/webui-dashboard-trailing-slash

Conversation

@qveensi

@qveensi qveensi commented Aug 3, 2026

Copy link
Copy Markdown

The router registers /web/clusters without a trailing slash and does not redirect, so the Clusters ▸ Dashboard navbar entry returns HTTP 404. Every other link in the same dropdown already omits the slash.

Part of #118 (residual BS3→BS5 migration leftovers); this is the trivial one.

Summary by CodeRabbit

  • Bug Fixes
    • Updated the Clusters “Dashboard” navigation link to use the correct URL format without a trailing slash.

The router registers /web/clusters without a trailing slash and does
not redirect, so the Dashboard entry in the Clusters navbar dropdown
returns HTTP 404. Every other link in the dropdown already omits the
slash.
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b3f29e59-f87c-417f-b3db-93f2e403ed7c

📥 Commits

Reviewing files that changed from the base of the PR and between ae6ad0a and 3f1eb80.

📒 Files selected for processing (1)
  • resources/templates/layout.tmpl

📝 Walkthrough

Walkthrough

The Clusters Dashboard navigation link now points to /web/clusters without a trailing slash.

Changes

Clusters Dashboard URL

Layer / File(s) Summary
Update Dashboard navigation link
resources/templates/layout.tmpl
The Clusters Dashboard link changes from /web/clusters/ to /web/clusters.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A rabbit hops through paths so neat,
No trailing slash beneath its feet.
The Dashboard link now lands just right,
Clean and crisp in every byte.
“Hop!” says Bun, and ends the night.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: removing the trailing slash from the web navbar Dashboard link.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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