-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Update circle.js #309
base: main
Are you sure you want to change the base?
Update circle.js #309
Conversation
added set interval checking based off zoom.js code which appears to be working in tests
Thank you for this pull request. I'm not entirely sure this is needed. the last Message variable doesn't exist either, so it doesn't appear to be doing anything. I took a look and the circle.js script already is looking for page loads and checks at an interval already, so I'd imagine it should be working.
Looking at the manifest code, the code will only inject if one of the following pages is loaded: It won't load the script if you "soft navigate" to one of those pages though, so perhaps keep an eye out there. |
You're the expert and I will absolutely defer to you, but all I know from
limited testing is adding in that code and going live allowed me to get
comments for the first time without having to reset.
I ran three tests to confirm it.
One with myself from my mobile device but then realize since maybe I was a
host in two locations that might have changed something?
And 2 with my wife as a viewer and for the first time comments came up on
the first try.
One error in the console log:
[image: Screenshot 2024-11-01 at 12.26.56 PM.png]
And we had one instance where a comment showed in the chat but did not show
in the Social Stream monitor window.
We experience that maybe 1 out of every 15-20 comments during our live
broadcasts and not sure what might be the cause of that.
Put yourself FIRST with First In Nutrition!
Jonathan - Co Founder of First In
Check out First In Nutrition on YouTube for tips, tricks, and tactics to
start putting yourself FIRST at ***@***.***!
…On Fri, Nov 1, 2024 at 4:00 PM Steve Seguin ***@***.***> wrote:
Thank you for this pull request.
I'm not entirely sure this is needed. the last Message variable doesn't
exist either, so it doesn't appear to be doing anything.
I took a look and the circle.js script already is looking for page loads
and checks at an interval already, so I'd imagine it should be working.
window.addEventListener('popstate', checkUrlAndRunScript);
setInterval(function(){
try {
if (!checkUrlAndRunScript()){return;}
if (document.querySelector('#message-scroll-view')){
Looking at the manifest code, the code will only inject if one of the
following pages is loaded:
image.png (view on web)
<https://github.com/user-attachments/assets/dceb1cb8-eefe-44d6-af84-e4ab56ac6622>
It won't load the script if you "soft navigate" to one of those pages
though, so perhaps keep an eye out there.
—
Reply to this email directly, view it on GitHub
<#309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLCVOEJL72IJMSESYQV2HADZ6PMXFAVCNFSM6AAAAABRASWMNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSGUYDQMJRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@@ -1,4 +1,8 @@ | |||
(function () { | |||
|
|||
setInterval(() => { |
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.
why do we stray away from matching indent depth here?
added set interval checking based off zoom.js code which appears to be working in tests