Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Summary
Introduced a comprehensive theme customization system with
ThemeManager, refactored the onboarding and authentication flow for better separation of concerns, expanded orb and background styles, and improved code clarity throughout the app.✨ Features/Changes
ThemeManageras anEnvironmentObjectfor dynamic UI theming across the appOrbStyleswith five new color variants (yellow, pink, purple, blue, green) and corresponding bokeh colorsBackgroundThemeenum with four selectable background optionsContentViewnow delegates toRootViewfor cleaner sign-in, onboarding, and main app transitionsdbtodatabaseinAuthenticationServicefor consistencyAppDelegateand movedFirebaseApp.configure()toTinyAppinitializer📁 Files Changed
Tiny/App/TinyApp.swift- RemovedAppDelegate, moved Firebase configuration to init, addedThemeManageras environment objectTiny/Features/Root/Views/ContentView.swift- Refactored to delegate navigation toRootViewbased on auth stateTiny/Features/Root/Views/RootView.swift- New view handling sign-in, onboarding, and main app transitionsTiny/Services/AuthenticationService.swift- Renameddbtodatabasethroughout for consistencyTiny/Features/LiveListen/Views/Components/BokehEffectView.swift- Updated to useThemeManagerfor dynamic bokeh colorsTiny/Features/LiveListen/Views/Components/AnimatedOrbView.swift- Integrated theme-based orb stylingTiny/Features/SplashScreen/Views/SplashScreenView.swift- Added support for dynamic background themesTiny/Models/OrbStyles.swift- Expanded with new color variants andbokehColorpropertyTiny/Models/BackgroundTheme.swift- New enum for selectable background themesTiny/Managers/ThemeManager.swift- New manager class for centralized theme stateTiny.xcodeproj/project.pbxproj- Added camera and photo library usage descriptions🔧 Usage Examples (if applicable)
🧪 Testing Scenarios
Theme System:
Authentication Flow:
Permissions: