OfflineHQ / marketplace

https://offline.live/
GNU General Public License v3.0
0 stars 0 forks source link

DCA-4: Develop the DataTable for Managing Content Spaces #240

Closed sebpalluel closed 10 months ago

sebpalluel commented 10 months ago

DCA-4: Develop the DataTable for Managing Content Spaces

Description

Develop a DataTable in the back-office app for managing Content Spaces. This table should display key details of each content space and provide functionalities for filtering, viewing EventPasses, and editing content spaces.

Tasks

  1. DataTable Implementation:
    • Implement a DataTable with columns for name, slug, status, and a list of linked EventPasses.
    • Ensure the list of EventPasses is clickable and provides a detailed view on interaction.
  2. Filtering Capability:
    • Add functionality to filter content spaces by EventPass.
  3. Editing Feature:
    • Include an edit action in each row to modify the respective content space.
  4. Backend Integration:
    • Ensure the DataTable is integrated with the backend for real-time data fetching and updating.
  5. Storybook and Testing:
    • Create stories in Storybook for the DataTable.
    • Write tests to validate the functionality and appearance of the UI components.

Acceptance Criteria

  1. Functionality: The DataTable correctly displays content spaces with all specified columns and features.
  2. Filtering and Search: Filtering by EventPass is functional and user-friendly.
  3. Edit Feature: The edit action in each row allows for seamless modification of content spaces.
  4. Backend Integration: The DataTable is properly integrated with the backend, ensuring accurate and dynamic data display.
  5. Storybook and Testing: All components related to the DataTable are thoroughly tested in Storybook.