# UI Fixes and Enhancements Requirements

## Introduction

This spec addresses multiple UI/UX issues across the music app including queue management, download indicators, visual styling bugs, and context menu functionality on mobile devices.

## Requirements

### Requirement 1: Queue Management Enhancement

**User Story:** As a user, I want to easily reorder songs in the queue and access context menu options without conflicts

#### Acceptance Criteria

1. WHEN viewing the queue THEN each track SHALL have a dedicated drag handle on the right side
2. WHEN I drag the handle THEN the track SHALL reorder in the queue without triggering other actions
3. WHEN I long-press on a track THEN the context menu SHALL appear with options including "Move to Top"
4. WHEN I select "Move to Top" THEN the track SHALL move to the next position after the currently playing track
5. WHEN dragging THEN visual feedback SHALL indicate drop zones and dragging state

### Requirement 2: Download Progress and History

**User Story:** As a user, I want clear download progress indicators and the ability to view download history

#### Acceptance Criteria

1. WHEN a download starts THEN a user-friendly progress indicator SHALL appear
2. WHEN downloads are in progress THEN I SHALL see readable status messages (not code jargon)
3. WHEN downloads complete THEN I SHALL be able to view download history
4. WHEN viewing downloaded tracks THEN they SHALL have clear visual indicators showing they are cached
5. WHEN accessing the Downloads page THEN I SHALL see both active downloads and download history

### Requirement 3: Visual Styling Fixes

**User Story:** As a user, I want consistent visual styling without unwanted borders or boxes

#### Acceptance Criteria

1. WHEN viewing sidebar icons THEN they SHALL NOT have white border boxes
2. WHEN viewing any UI elements THEN styling SHALL be consistent across all pages
3. WHEN switching between light/dark modes THEN all elements SHALL maintain proper theming

### Requirement 4: Mobile Context Menu Functionality

**User Story:** As a mobile user, I want consistent context menu access across all pages

#### Acceptance Criteria

1. WHEN long-pressing on tracks on any page THEN the context menu SHALL appear
2. WHEN using iPad THEN context menus SHALL be accessible and visible
3. WHEN on mobile devices THEN all menu options SHALL be reachable and functional
4. WHEN context menus appear THEN they SHALL be properly positioned and sized for the device

### Requirement 5: Queue Display Enhancement

**User Story:** As a user, I want to see more upcoming tracks in the queue for better planning

#### Acceptance Criteria

1. WHEN viewing the queue THEN I SHALL see up to 50 upcoming tracks instead of 10
2. WHEN there are more tracks THEN a clear indicator SHALL show the remaining count
3. WHEN scrolling through the queue THEN performance SHALL remain smooth
4. WHEN tracks are reordered THEN the display SHALL update immediately