Skip to content

Create Reusable Dashboard Widget Component Library #711

Description

@arii
  • Status: OPEN (Linked to PR Create Reusable Dashboard Widget Component Library #700)
    • Priority: Medium
    • Context:
      Dashboard development is slowing down because every data tile (Heart Rate, Timer, Spotify) is custom-coded. This results in inconsistent padding, font sizes, and shadow effects across the application.
    • Technical Analysis:
      • Current Gap: The components/ directory contains specific implementations like HrTile.tsx and TimerDisplay.tsx but lacks a shared "Shell" or "Wrapper" component.
      • Required Change:
        1. Generic Wrapper: Create components/widgets/DashboardWidget.tsx to handle layout, background gradients, and standard Material-UI Card properties.
        2. Data Specialized Widget: Create components/widgets/DataWidget.tsx for standard key-value pairings (e.g., Label: "Active Players", Value: "4").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions