raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.17k stars 2.87k forks source link

[Menubar Weather] ... Location not updating? #12911

Closed bcometa closed 4 weeks ago

bcometa commented 2 months ago

Extension

https://www.raycast.com/koinzhang/menubar-weather

Raycast Version

1.76.0

macOS Version

14.5

Description

Shows New York, but I typed in Burbank, CA. When using longitude/latitude, it's still not the correct weather.

Steps To Reproduce

Type Burbank, CA as location. Type longitude/latitude of "The latitude of North Hollywood, Los Angeles, CA, USA is 34.187042, and the longitude is -118.381256."

Current Behaviour

Shows incorrect weather forecast. With typed city name, it still shows New York. With log/lat, still wrong (but different).

Expected Behaviour

Shows weather for correct city or location. Raycast (Settings)  06-12-2024 @ 12 19 40 PM

raycastbot commented 2 months ago

Thank you for opening this issue!

🔔 @koinzhang @koinzhang @fuksman @xilopaint you might want to have a look.

💡 Author and Contributors commands The author and contributors of `koinzhang/menubar-weather` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
koinzhang commented 1 month ago

Hi @bcometa 1. For City, only the name Burbank is currently supported, so if you enter Burbank, CA, you will not be able to get the location information correctly.

  1. for Latitude and Longitude, you only need to input the number. You can refer to the following figure for the correct way to input image

You can judge whether the weather information is based on City or Latitude/Longitude by the content shown below.

Based on City

image

Based on Latitude/Longitude

image

If you can't get the weather information correctly, it may be caused by the network, you can switch the network to try.

bcometa commented 1 month ago

Thanks! Just city without state is working! Still can't get long/lat to work, but no need now. Much appreciated!

koinzhang commented 1 month ago

Hi @bcometa. I submitted a PR #13445 to update the Menubar Weather extension, now you can enter more precise location information, hope this helps.

Burbank, CA will take effect.

bcometa commented 1 month ago

Awesome, thank you!

koinzhang commented 4 weeks ago

@bcometa Can this issue be closed?

bcometa commented 4 weeks ago

I'm new to github and didn't know I had the power to close it :).