-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(footer): connected indicator added under chatbar (AP-356) #1330
Conversation
No it should not I'll fix that
…On Fri, Feb 4, 2022 at 2:28 PM Phill Wisniewski ***@***.***> wrote:
Should indicator appear if user has no friends added?
[image: Screen Shot 2022-02-04 at 2 26 59 PM]
<https://user-images.githubusercontent.com/93608357/152591082-305d466c-d81f-43ba-af78-d71dbdb622bb.png>
—
Reply to this email directly, view it on GitHub
<#1330 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQYRRHM3ZFHVU4C4XSXKP5DUZQSHPANCNFSM5NQYAQLQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you:
- Split footer into a template, less, and vue file
- Create a is-connected component
- Add english to locales (in this repo, not the standalone repo)
/rebase |
e73c302
to
746e1b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gravacao.do.ecra.2022-02-08.as.18.56.30.mov
says hogan is not connected on hogan's chat
change chat
still says hogan is not connected until page fully loads
components/views/chat/chatbar/footer/is-connected/Connected.html
Outdated
Show resolved
Hide resolved
✔️ Yeeeehaw, deploy preview is ready! 🔨 Explore the source changes: 6d0362d 🔍 Inspect the deploy log: https://app.netlify.com/sites/adoring-edison-dbcef8/deploys/620821253aa16d0007edb28a 😎 Browse the preview: https://deploy-preview-1330--adoring-edison-dbcef8.netlify.app |
I tested again, I got same error as @stavares843 after attempting to message user B after they disconnected, the only thing that was different on mine was when I reloaded page it still said User B was not connected |
3 machines, 3 different results, ain't I lucky gal 😂 |
Did you pull down the changes I made? |
I did 🔨 |
@jpanay The error is here: typingNotifyHandler in the chatbar.vue file.
In lieue of digging into getPeer in the webrtc library, for now, please: In the chatbar.vue file wrap the getPeer call in a try catch, |
@jpanay I can reproduce the error on my end |
Yea I really don't know why I wasn't able to if all three of you can |
looks good |
i have 2 users, they were both connected, I deactivated internet, and even now both have internet, still says one of them is not connected full flow was
|
/rebase |
5e3e0e7
to
e6cbe65
Compare
the ticket which this tickets is expected to implement says the following: ''Show an indication under the chat input if the peer is connected/disconnected, might require checking/watching for events that don't exist?'' so, one of those events, would be a disconnected event as well, such as without internet is not outside the scope, because the PR should include that doesn't matter if is or not a webrtc issue but let me know cc @WanderingHogan |
I think that this is a problem with devtools in chrome - i dont think all connection types are getting closed when you disable the connection. This acts differently when you are on two different devices. Eventually the webrtc connection times out and shows both users are offline. I think that there are problems managing the webrtc connection that should be included in future tickets but we need to debug some things first. If this ticket works otherwise and doesn't cause any crashes i think it can go in. |
What this PR does 📖
Shows if peer is connected or disconnected under chatbar
Which issue(s) this PR fixes 🔨
AP-356
Special notes for reviewers 🗒️
Additional comments 🎤