feat(cms): Add CMS table with delete and edit functionality

- Implement CMS table with row listing and pagination
- Add delete functionality for CMS entries with confirmation modal
- Introduce edit button to navigate to edit page for specific CMS entry
- Update page type form to include new 'key' field for CMS entries
- Modify CMS service and types to support new data structure
- Enhance table presenter with additional actions and state management
Resolves data management and user interaction improvements for CMS module
This commit is contained in:
AmirReza Jamali
2025-11-11 10:12:21 +03:30
parent 2b9eaa0495
commit b444f6a08f
7 changed files with 178 additions and 11 deletions
+4 -1
View File
@@ -3,6 +3,7 @@ import EmptyListWrapper from "@/components/HOC/EmptyListWrapper";
import {
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
@@ -36,7 +37,9 @@ const ContactUsTable = () => {
columns={columns}
emptyMessage="No contact us is submitted"
>
Contact us table will be initialized here
<TableRow>
<TableCell><div>hjgfjhg</div></TableCell>
</TableRow>
</EmptyListWrapper>
</TableBody>
</Table>