Skip to content

205 socket connection review - #219

Open
betigirma wants to merge 7 commits into
release-02from
205-socket-connection-review
Open

betigirma wants to merge 7 commits into
release-02from
205-socket-connection-review

Conversation

@betigirma

Copy link
Copy Markdown
Collaborator

Screenshot 2025-04-10 151028
Screenshot 2025-04-10 151056

Screenshot 2025-04-10 151124

Screenshot 2025-04-10 151223
as you see it here the connection is stable even if i go to another page, it only say disconnected if i logout. you can see it in the console so now it have Persistent Connection and Better Reconnection Logic plus Cleaner Architecture.

@betigirma betigirma added the bug Something isn't working label Apr 10, 2025
@betigirma
betigirma requested a review from misudesu April 10, 2025 18:30
@betigirma betigirma self-assigned this Apr 10, 2025
@betigirma betigirma linked an issue Apr 10, 2025 that may be closed by this pull request
@betigirma

Copy link
Copy Markdown
Collaborator Author

By moving the SockectProvider to a higher-level layout, it persists across route changes while still being accessible to the mentor chat components.

Comment thread app/layout.tsx Outdated
disableTransitionOnChange
>
{children}
<SocketProvider>{children}</SocketProvider>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not right place , this is top layout , this socket will connect for all user after AUTH, it is better we pass in to base mentor layout .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

socket connection review

3 participants