Repository navigation
Bugfix/make-brands-perfect - #137
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis update introduces new onboarding and error screens, enhances chat functionality with real-time unread message tracking and notifications, and refactors brand and chat context providers to expose loading and unread count states. UI components are updated for badge display, input validation, and centralized confirmation modals. Subproject references and app metadata are also updated. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LetsStartScreen
participant Router
participant WrongAppScreen
participant ExternalBrowser
User->>LetsStartScreen: Loads onboarding screen
LetsStartScreen->>User: Shows options (Brand/Agency or Influencer)
User->>LetsStartScreen: Tap "Join as Brand / Agency"
LetsStartScreen->>Router: Navigate to /pre-signin
User->>LetsStartScreen: Tap "Join as Influencer"
alt Platform is Web
LetsStartScreen->>ExternalBrowser: Open influencer web URL
else Non-Web
LetsStartScreen->>Router: Navigate to /wrong-app
end
sequenceDiagram
participant App
participant ChatContext
participant StreamClient
participant UI
App->>ChatContext: Initialize
ChatContext->>StreamClient: Connect user
StreamClient-->>ChatContext: Connection success
ChatContext->>StreamClient: Listen for message events
StreamClient-->>ChatContext: New message / read event
ChatContext->>UI: Update unreadCount
UI->>User: Show unread badge in tab/drawer
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (18)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Chores
Refactor