Commit Graph

7 Commits

Author SHA1 Message Date
mlogclub 0611fb0bb6 feat: allow deleteConfirm to be set to false for conditional delete confirmation in DashboardCrudPage 2026-05-28 10:08:24 +08:00
mlogclub 2cb834efa3 feat: enhance dashboard CRUD functionality with support for boolean and multi-select fields; update related types and utilities 2026-05-28 09:45:24 +08:00
mlogclub 0ca0332a5f refactor: streamline DashboardCrudPage by integrating useDashboardPagedList and removing redundant state management 2026-05-28 09:40:52 +08:00
mlogclub d64b0c36f3 refactor: replace DashboardPage and DashboardTableShell with DashboardListPage for notifications and permissions
- Updated DashboardNotificationsPage to utilize DashboardListPage for improved structure and functionality.
- Simplified state management and data fetching in DashboardNotificationsPage.
- Refactored DashboardPermissionsPage to use DashboardListPage, enhancing filter and pagination handling.
- Introduced DashboardListPage component to standardize list rendering with filters and pagination.
- Added utility functions for managing filters and pagination in the new DashboardListPage component.
- Improved code readability and maintainability by consolidating common logic into reusable components.
2026-05-28 09:36:48 +08:00
mlogclub b944c3221f feat: implement dashboard CRUD status column and toggle actions; refactor related components for improved functionality 2026-05-28 09:08:38 +08:00
mlogclub e8d7565caf refactor: replace EditDialog with DashboardCrudFormDialog for companies and quick replies
- Removed the EditDialog component from companies and quick replies.
- Integrated DashboardCrudFormDialog to handle form submissions and editing for both entities.
- Updated the CompanyPicker to utilize the new form dialog for creating companies.
- Introduced DashboardCrudFieldControl for rendering form fields dynamically.
- Added utility functions for building form values and normalizing submit values.
- Updated tests to cover new form utilities and ensure correct behavior for form submissions.
2026-05-28 08:45:15 +08:00
mlogclub fe480ff131 feat: refactor quick replies page to use DashboardCrudPage component
- Removed redundant state management and effects from DashboardQuickRepliesPage.
- Integrated DashboardCrudPage for handling CRUD operations and filtering.
- Created a new DashboardCrudPage component to encapsulate common CRUD logic.
- Added utility functions for building and normalizing dashboard CRUD queries.
- Implemented tests for the new utility functions to ensure correctness.
2026-05-28 08:39:14 +08:00