Added bodies to the list view and graph view#203
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a third level of hierarchy ('Bodies') under departments in the organization view. It adds mock data, a query hook, and new UI components (HierarchyConnector, HierarchyEntry, and BodyTab) to display bodies, while updating MinistryCardGrid, DepartmentTab, GraphComponent, and Drawer to support navigation, breadcrumbs, and interactive graph nodes for bodies. The review feedback highlights several critical improvements: fixing a back-navigation bug in GraphComponent where the 'ministry' URL parameter is unconditionally deleted, properly cleaning up the abort signal listener in getBodiesByDepartment to prevent memory leaks, adding safe fallbacks for selectedPresident in BodyTab to avoid potential crashes, correcting an invalid CSS value ('none') in MinistryCardGrid, and ensuring consistent capitalization of the 'Poppins' font family.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
b222a63 to
0d81c63
Compare
This closes #174
Summary
Test plan