Skip to content

fix side menu#604

Merged
dbarzin merged 1 commit intomainfrom
dev
Apr 10, 2026
Merged

fix side menu#604
dbarzin merged 1 commit intomainfrom
dev

Conversation

@dbarzin
Copy link
Copy Markdown
Owner

@dbarzin dbarzin commented Apr 10, 2026

Summary by CodeRabbit

  • Bug Fixes
    • Fixed navigation sidebar highlighting for Risks and Exceptions pages to correctly display the active state when viewing those sections.

@dbarzin dbarzin merged commit 701134b into main Apr 10, 2026
1 check was pending
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 10, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fa0d3dd8-c8b4-4d0e-b382-9b3af871b933

📥 Commits

Reviewing files that changed from the base of the PR and between 1dc5540 and 12acefd.

📒 Files selected for processing (1)
  • resources/views/layout.blade.php

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting


Walkthrough

Updated the sidebar navigation's active state conditions in the layout template. The "Risks" menu item now activates on risk* routes instead of action*, and the "Exceptions" item now activates on exceptions* routes instead of action*.

Changes

Cohort / File(s) Summary
Navigation Routing
resources/views/layout.blade.php
Updated active CSS class conditions for sidebar menu items: "Risks" now matches request()->is('risk*') and "Exceptions" matches request()->is('exceptions*') for proper route highlighting.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 The sidebar hops with glee,
Risk and Exception paths now agree,
No more action's tangled thread,
Each link lights up where it's led! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

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 and usage tips.

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