Closed reZach closed 5 years ago
Can I ask how you created the new directory? Did you use your file explorer or did you do it in VS Code?
I created the new directory in the file explorer.
Is what you did any different from this video? If so, which part?
Ah, I see now. When I was adding a developer to the story, I just typed in my email and not
FirstName LastName Email
.
I assume because I only added an email, your pattern matching was unable to pull what it needs and that is why the Add Comment button bugs out.
Edit I am also on OSX here, not sure if that has anything to do with it. Let me try on my Windows side tomorrow to see if I'm able to repro
Hmmm... even with just an email it worked on my machine. Can you try with your full name and email and see if that makes a difference?
It looks like everything is working as expected in Chrome, but I am unable to add a comment in my Safari browser. Upon a bit of searching it appears you just need to update your selector in this statement to include the closing ]
bracket. All other browsers handle this gracefully except Safari.
Change
document.querySelectorAll("[class*=beginSelectedCode-")
to
document.querySelectorAll("[class*=beginSelectedCode-]")
I would also look globally and add other instances of where this could be the case likewise.
Created a pull request with these changes, see below.
I updated the extension. Can you start up VS Code and accept the update and verify that all is good! Thanks again.
Comments are now added in safari, thanks for merging in the pull request!
v. 0.0.8
Steps to reproduce: