Skip to content

Fix: room code UI#101

Merged
destucr merged 3 commits intodevelopmentfrom
fix/room-code-ui
Dec 1, 2025
Merged

Fix: room code UI#101
destucr merged 3 commits intodevelopmentfrom
fix/room-code-ui

Conversation

@destucr
Copy link
Contributor

@destucr destucr commented Nov 30, 2025

🎯 Summary

Enhanced the RoomCodeDisplayView with a modern frosted glass design, theme-based background glow effect, and improved copy-to-clipboard user experience. Also added color support to BackgroundTheme and cleaned up unused localization strings.

✨ Features/Changes

  • Added circular glow effect to background using selected theme color
  • Redesigned room code display with frosted glass capsule background
  • Replaced default icon with custom image for better visual consistency
  • Simplified copy-to-clipboard interaction with integrated button logic
  • Added color computed property to BackgroundTheme enum for theme-specific colors
  • Enhanced SwiftUI previews with mock services and dark mode support
  • Removed unused localization strings ("Copied!" and "Copy Code")

📁 Files Changed

  • Tiny/Features/Listen/Views/RoomCodeDisplayView.swift - Updated UI with frosted glass effect, theme-based glow, simplified copy button, and enhanced animations
  • Tiny/Models/BackgroundTheme.swift - Added color computed property returning theme-specific colors
  • Tiny/Resources/Localizable.xcstrings - Removed unused "Copied!" and "Copy Code" localization entries

🔧 Usage Examples (if applicable)

// BackgroundTheme now provides color property
let themeColor = themeManager.selectedBackground.color

// Frosted glass capsule with theme glow
ZStack {
    // Glow effect
    Circle()
        .fill(themeManager.selectedBackground.color)
        .blur(radius: 60)
    
    // Frosted glass container
    HStack {
        Text(roomCode)
        Image("customIcon")
    }
    .glassEffect(.clear)
}

@destucr destucr merged commit df96514 into development Dec 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant