Skip to content

## Issue 1: Add Music Streaming Activity Type #1

@Eshaan-byte

Description

@Eshaan-byte

Feature Description

Add a new activity type for music streaming (Spotify, Apple Music, etc.)

Tasks

  • Add music_streaming to activity types in src/types/index.ts
  • Add CO2 factor (8g per hour) in src/constants/co2Factors.ts
  • Add form field in src/components/forms/ActivityForm.tsx
  • Add icon and styling

Acceptance Criteria

  • Music streaming appears as a new activity option
  • CO2 calculations work correctly
  • Form UI is consistent with existing fields
  • Changes are properly typed

Problem Statement

Currently, the app only tracks general streaming activities but doesn't distinguish between different types of media consumption. Music streaming has a different carbon footprint compared to video streaming and should be tracked separately for more accurate carbon calculations and personalized recommendations.

Proposed Solution

Add music streaming as a distinct activity type with its own CO2 emission factor (8g per hour). This will allow users to track their music consumption separately from video streaming, providing more granular insights into their digital carbon footprint and enabling targeted reduction strategies.

Complexity Level

Beginner (good first issue)

Checklist

  • I have searched existing issues to ensure this isn't a duplicate
  • I'm willing to work on this feature myself

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions