Skip to content

fix(view): drop /wheels/* top nav in favor of debug footer#2419

Merged
bpamiri merged 1 commit into
developfrom
claude/modest-knuth-019f97
May 5, 2026
Merged

fix(view): drop /wheels/* top nav in favor of debug footer#2419
bpamiri merged 1 commit into
developfrom
claude/modest-knuth-019f97

Conversation

@bpamiri

@bpamiri bpamiri commented May 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Drop the top-nav include from _header.cfm — duplicates links already in the debug bar emitted at onrequestend (System Info / Routes / API / Guides / Migrator / Packages / Plugins).
  • Opt both _header.cfm and _header_simple.cfm into request.wheels.showDebugInformation = true so the debug bar emits on /wheels/* admin pages and the welcome page. Necessary because Public.cfc handlers <cfinclude> their views directly without going through renderView(), which is what normally flips that flag.

Extends the pattern from #2406 (welcome + error pages) to the rest of the dev-tools admin pages — every view that uses either header layout now has the debug footer as its only chrome.

Why

/wheels/info, /wheels/routes, /wheels/api, etc. were rendering with two parallel navigation surfaces: the top nav from _header.cfm AND the debug bar at the bottom. Both linked to the same destinations. Removing the top nav consolidates dev-tools navigation into a single surface and matches the look established for the welcome page.

Test plan

  • / (welcome page) renders with debug bar at bottom
  • /wheels/info renders without top nav, with debug bar at bottom
  • Debug bar's "Tools" panel still surfaces System Info / Routes / API Docs / Guides / Migrator / Packages / Plugins links (unchanged from debug.cfm)
  • No regressions: home page and /wheels/info both return HTTP 200; framework dev rig boots cleanly
  • CI: full test matrix passes

The top navigation in _header.cfm duplicated links already provided by
the debug bar emitted at onrequestend (System Info / Routes / API /
Guides / Migrator / Packages / Plugins). Drop the nav include to
eliminate the duplicate surface.

Public.cfc handlers <cfinclude> their views directly without going
through renderView, so request.wheels.showDebugInformation never
flipped on /wheels/info, /wheels/routes, etc. — the bar wouldn't
have appeared even after dropping the top nav. Opt into the bar
from both _header.cfm and _header_simple.cfm so any view using
either layout self-arms the debug footer.

Extends the pattern from #2406 (welcome + error pages) to the rest
of the dev-tools admin pages.
@bpamiri
bpamiri merged commit ef70e59 into develop May 5, 2026
3 checks passed
@bpamiri
bpamiri deleted the claude/modest-knuth-019f97 branch May 5, 2026 00:20
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.

1 participant