Skip to content

Add clickable rows in Device Inventory to navigate to Device360#23

Open
joshuagriffin9467 wants to merge 1 commit intoadukes40:mainfrom
joshuagriffin9467:feature/clickable-device-inventory-rows
Open

Add clickable rows in Device Inventory to navigate to Device360#23
joshuagriffin9467 wants to merge 1 commit intoadukes40:mainfrom
joshuagriffin9467:feature/clickable-device-inventory-rows

Conversation

@joshuagriffin9467
Copy link
Copy Markdown

@joshuagriffin9467 joshuagriffin9467 commented Jan 16, 2026

Summary

  • Add onRowClick prop to ReportTable component for reusable row click handling
  • Modify Device360 to accept URL query params (?serial=) and auto-search on load
  • Update DeviceInventory to navigate to Device360 when a row is clicked

Changes

  • ReportTable.jsx: Added onRowClick prop that triggers when a row is clicked, with cursor styling
  • Device360.jsx: Added useSearchParams hook to read serial query param and auto-search on mount
  • DeviceInventory.jsx: Added useNavigate and row click handler to navigate to Device360

Test plan

  • Navigate to Reports > Device Inventory
  • Click on any device row
  • Verify it navigates to Device360 and automatically loads the device info
  • Verify manual search in Device360 still works as before

🤖 Generated with Claude Code

- Add onRowClick prop to ReportTable component for reusable row click handling
- Modify Device360 to accept URL query params (?serial=) and auto-search on load
- Update DeviceInventory to navigate to Device360 when a row is clicked

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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