1.9 KiB
1.9 KiB
Plan: Group Labors and Equipment & Tools under Master Data Module
This plan details the reorganization of the sidebar navigation to group the Labors and Equipment & Tools modules under a unified Master Data module.
User Review Required
We need your feedback on the preferred UI/UX pattern for grouping:
Important
Option 1: New Top-Level Group (Recommended)
- A new section header Master Data will be added to the sidebar, positioned below Management or Overview.
- Labors and Equipment & Tools will be moved directly under this new group as distinct top-level items.
Option 2: Collapsible Menu Item
- A new sidebar menu item named Master Data will be added under the Management section.
- Clicking it will expand a submenu showing Labors and Equipment & Tools.
Proposed Changes
Component: Navigation Configuration (resources/js/lib)
[MODIFY] nav-config.ts
- Remove Labors and Equipment & Tools items from the
Managementgroup. - Create a new
NavGroupor nested menu item structure for Master Data containing both items. - Ensure the respective icons (
HammerandTruck), permissions, routes, and layout match existing patterns.
Verification Plan
Automated Tests
- Since client-side routing and sidebar visibility are driven by
nav-config.tsand React components, we will verify compiling the frontend assets using:npm run build
Manual Verification
- Access the web interface.
- Confirm the new Master Data section/item is rendered correctly in the sidebar.
- Verify that clicking Labors redirects to the Labors module.
- Verify that clicking Equipment & Tools redirects to the Equipments module.
- Verify that permissions (e.g., hiding modules if the user lacks access) still work as expected.