# 02 - Immediate Bugs (Audio Feedback)

**Status: NOT STARTED**

## Summary

Update audio cues in the Arda app (success sounds, error sounds for barcode scanning) with new audio files from Jeff, and add a toggle for users to enable/disable sounds.

## Current State

The app uses audio cues on scan success/failure, but the sounds need replacing and there's no user preference for toggling them.

## Requirements

1. Replace existing audio files with new ones from Jeff
2. Add a sound on/off toggle stored in `localStorage`
3. Toggle must persist across page refreshes
4. Add toggle switch in the shipper navigation or settings area

## Files to Create

| File | Purpose |
|------|---------|
| `webapps/public/audio/success.mp3` | New success audio from Jeff |
| `webapps/public/audio/error.mp3` | New error audio from Jeff |
| `webapps/src/components/common/UserPreferences.jsx` | Component for storing sound preference in localStorage |

## Files to Modify

| File | Change |
|------|--------|
| `webapps/src/components/BigLogistics/BigShipmentFulfillmentQueue.jsx` | Add sound toggle control; currently plays audio on scan success/failure |
| `webapps/src/components/BigLogistics/BigShipment.jsx` | Add sound toggle if scanner audio is used here |

## Implementation Notes

- Audio files are a dependency on Jeff delivering them
- Store preference under a key like `arda_sound_enabled` in localStorage
- Default should be sounds ON (opt-out, not opt-in)
