Skip to content
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

the location of contributors is not shown in firefox and safari #199

Open
3 tasks done
negar-75 opened this issue Oct 13, 2023 · 18 comments
Open
3 tasks done

the location of contributors is not shown in firefox and safari #199

negar-75 opened this issue Oct 13, 2023 · 18 comments
Assignees
Labels
bug Something isn't working

Comments

@negar-75
Copy link
Contributor

negar-75 commented Oct 13, 2023

Description

when I click on each contributors I couldn't see the map of theri location

Screenshots

Screenshot 2023-10-13 102906

Any additional information?

No response

What browser are you seeing the problem on?

No response

Checklist

@negar-75 negar-75 added the bug Something isn't working label Oct 13, 2023
@vrun1208
Copy link
Contributor

Hi @negar-75, I couldn't find any issue in the firefox and all seems to be working fine, can't say about safari right now.

2023-10-14

@XanderRubio
Copy link
Member

HI @negar-75

Hi @negar-75, I couldn't find any issue in the firefox and all seems to be working fine, can't say about safari right now.

2023-10-14

Hi @vrun1208! Thank you for taking the initiative and assisting by taking the time to look into this issue and this is gratefully appreciated to assist with active engagement and participation in the Before I Die Code. Thank you!

@XanderRubio
Copy link
Member

Hi @negar-75, I hope you're doing well and keep going with your travel videos in Lisbon on YouTube. Thank you for taking the time to raise a bug issue I am having a look into viewing in Firefox and Safari 👀

@XanderRubio
Copy link
Member

Currently, I am able to see the location of the contributor in Safari @negar-75
Screenshot 2023-10-13 at 22 37 40

@XanderRubio
Copy link
Member

@negar-75 This is my current view when using Firefox:
Screenshot 2023-10-13 at 22 41 33

@XanderRubio
Copy link
Member

Ahhhhhh, I see what the issue is @negar-75 . I understand that you have shared a screenshot from your local dev server on localhost:3000, but you are currently unable to fetch the GooGle Maps API because you don't have the API key.

As a best practice, the API key has been added to the Vercel deployment and GiitHub project settings as an Environment Variable to avoid any potential security risks. If you need assistance in obtaining an API key to use on your local dev server, I am more than happy to help. This would be useful if you are looking to make improvements to the UI or if you are interested in learning about adding a .env file that can have your own API key that won't be pushed as a file when making a commit. Please let me know if you have any questions or need further assistance.

@XanderRubio
Copy link
Member

For the time being this issue isn't an issue now and I am grateful for your attentiveness and enthusiasm for helping to grow the Before I Die code. Thank you @negar-75. I will await your response before closing this issue in case something changes or I haven't understood correctly.

@negar-75
Copy link
Contributor Author

Hi @negar-75, I couldn't find any issue in the firefox and all seems to be working fine, can't say about safari right now.

2023-10-14

Hi @vrun1208
yea the problem is coming from API key Cuz for me is undefined and I am in local server

@negar-75
Copy link
Contributor Author

Ahhhhhh, I see what the issue is @negar-75 . I understand that you have shared a screenshot from your local dev server on localhost:3000, but you are currently unable to fetch the GooGle Maps API because you don't have the API key.

As a best practice, the API key has been added to the Vercel deployment and GiitHub project settings as an Environment Variable to avoid any potential security risks. If you need assistance in obtaining an API key to use on your local dev server, I am more than happy to help. This would be useful if you are looking to make improvements to the UI or if you are interested in learning about adding a .env file that can have your own API key that won't be pushed as a file when making a commit. Please let me know if you have any questions or need further assistance.

Hi @XanderRubio
yes exactly that is a issue and I was looking for .env file and I did not find something 😂😂
I got it!
you added it as a env variable in vercel !
that is ok👌👌👌👌

@negar-75
Copy link
Contributor Author

the another problem I noticed it firefox that heartbeat song does not play on mouseover for me
@XanderRubio

@negar-75
Copy link
Contributor Author

and I have another suggestion for best performance of website!
as the number of contributors grow, it is better to apply infinite scrolling and lazy loading to render only components in the point of view not all component at the same time
@XanderRubio

@vrun1208
Copy link
Contributor

the another problem I noticed it firefox that heartbeat song does not play on mouseover for me @XanderRubio

@negar-75, yes you're right! I also experiencing the same issue

@XanderRubio
Copy link
Member

Ahhhhhh, I see what the issue is @negar-75 . I understand that you have shared a screenshot from your local dev server on localhost:3000, but you are currently unable to fetch the GooGle Maps API because you don't have the API key.

As a best practice, the API key has been added to the Vercel deployment and GiitHub project settings as an Environment Variable to avoid any potential security risks. If you need assistance in obtaining an API key to use on your local dev server, I am more than happy to help. This would be useful if you are looking to make improvements to the UI or if you are interested in learning about adding a .env file that can have your own API key that won't be pushed as a file when making a commit. Please let me know if you have any questions or need further assistance.

Hi @XanderRubio

yes exactly that is a issue and I was looking for .env file and I did not find something 😂😂

I got it!

you added it as a env variable in vercel !

that is ok👌👌👌👌

Great and I have done the same exact thought before 😇😅 @negar-75

@XanderRubio
Copy link
Member

the another problem I noticed it firefox that heartbeat song does not play on mouseover for me

@XanderRubio

Excellent! I am traveling at the moment and once settled into my next location I will review and respond. Have a nice day!

@negar-75
Copy link
Contributor Author

the problem is not from the format .wav!
I think this is because of useSound hook that does not work in firefox

@negar-75
Copy link
Contributor Author

in firefox you should click on the heart icon to music starts to play not with onMouseEnter
and you got this warning
An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page. [howler.js:525]

@XanderRubio
Copy link
Member

in firefox you should click on the heart icon to music starts to play not with onMouseEnter and you got this warning An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page. [howler.js:525]

Yes, very similar message in the console when on chrome too.
Screenshot 2023-10-16 at 20 48 23

@XanderRubio
Copy link
Member

the problem is not from the format .wav! I think this is because of useSound hook that does not work in firefox

Yes, and I know the useSound hook has changed twice from several PRs.

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
None yet
Development

No branches or pull requests

3 participants