Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(layouts): enhance app layouts (#205)
This pull request includes multiple changes aimed at enhancing the functionality and performance of the application. The most significant changes include adding Sentry for error tracking, creating a new `InventoryController`, and updating the `AdminLayout` for improved user experience. ### Enhancements and New Features: * **Error Tracking:** * Added Sentry integration to `app/composer.json` and `app/src/app/Core/Logger.php` for better error tracking and monitoring. [[1]](diffhunk://#diff-5fd35cf0f24edf28811f71444391a8225d3119b288b7e24d472a55b5257cd582L21-R25) [[2]](diffhunk://#diff-a43bacf687d5d68eb954b53c410dff7e94341cc4f7d5d5062938e27a9ace367fR5-R19) * **New Controller:** * Created `InventoryController` to manage inventory-related data and render the inventory dashboard. ### Codebase Improvements: * **Filtering Enhancements:** * Updated `BaseModel::findAll` to handle `NOT NULL` and `NULL` conditions in filters, improving query flexibility. [[1]](diffhunk://#diff-57d475838e6428c42c3b9d5c460bea147ffb64f834e6ff8e980d351bf00c5c77R174-R185) [[2]](diffhunk://#diff-57d475838e6428c42c3b9d5c460bea147ffb64f834e6ff8e980d351bf00c5c77R194-R196) * **Controller Updates:** * Modified `ElementController` and `ZoneController` to use the enhanced `findAll` method with `NOT NULL` filters for better data retrieval. [[1]](diffhunk://#diff-4113b23acf98ce62237f7ff18ae75cb40145e02322c9ffd8eae88aecfab5497cL29-R29) [[2]](diffhunk://#diff-fd10cb96d7a272cc324000714e2404eec3ecde85f18109d020bea475e22e5d8cL7-R12) [[3]](diffhunk://#diff-fd10cb96d7a272cc324000714e2404eec3ecde85f18109d020bea475e22e5d8cL34-R33) ### User Interface Improvements: * **Admin Layout:** * Significant updates to `AdminLayout.php` to include a responsive navigation bar, user info dropdown, and improved submenu for better user experience. [[1]](diffhunk://#diff-e43b091c2e5f4ff0f2b90b03cfee557777f5d3df706873e74b366fa34d9aa051R1-L127) [[2]](diffhunk://#diff-e43b091c2e5f4ff0f2b90b03cfee557777f5d3df706873e74b366fa34d9aa051R203-R213) * **Title Formatting:** * Simplified title formatting in `CustomerLayout.php` for consistency.
- Loading branch information