Skip to content

Update weather extension - #30897

Merged
raycastbot merged 3 commits into
raycast:mainfrom
jenningsb2:weather-feels-like-menubar
Sep 8, 2026
Merged

Update weather extension#30897
raycastbot merged 3 commits into
raycast:mainfrom
jenningsb2:weather-feels-like-menubar

Conversation

@jenningsb2

@jenningsb2 jenningsb2 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a Temperature dropdown preference to the Weather Menu Bar command with two options: Actual (default, current behavior) and Feels Like. When set to Feels Like, the menu bar text shows the feels-like temperature instead of the actual temperature. Falls back to the actual temperature if the feels-like value is unavailable.

The dropdown menu contents are unchanged and still show both the Temperature and Feels Like rows.

Screencast

Straightforward preference change. With Feels Like selected the menu bar reads e.g. 74 °F while the Temperature row in the dropdown still shows 70 °F.

Checklist

🤖 Generated with Claude Code

https://claude.ai/code/session_01DLRG5JDNtaAxs472tCRmTY

Add a menu bar preference to show the feels-like temperature instead of the actual temperature.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DLRG5JDNtaAxs472tCRmTY
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: weather Issues related to the weather extension platform: macOS platform: Windows labels Sep 8, 2026
@raycastbot

raycastbot commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @tonka3000 @xilopaint @ridemountainpig @spencer-michaels you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="weather-feels-like-menubar"
FORK_URL="https://github.com/jenningsb2/raycast-extensions.git"
EXTENSION_NAME="weather"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

@greptile-apps

greptile-apps Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds a menu-bar preference for displaying either the actual or feels-like temperature and updates weather-value handling to support the fallback behavior.

  • Adds Actual and Feels Like options to the menu-bar command preferences.
  • Selects the configured temperature while preserving the existing dropdown details.
  • Returns no feels-like value when the API field is unavailable, allowing fallback to the actual temperature.
  • Updates extension dependencies, authorship metadata, and the changelog.

Confidence Score: 4/5

The functional change appears sound, but the changelog placeholder requirement must be restored before merging.

The previous feels-like fallback defect is fully fixed because missing values now return before formatting, allowing the actual temperature fallback to run. The remaining issue is the explicit repository requirement that new changelog headings retain {PR_MERGE_DATE}.

Files Needing Attention: extensions/weather/CHANGELOG.md

Important Files Changed

Filename Overview
extensions/weather/src/menubar.tsx Selects the configured menu-bar temperature and correctly falls back to the actual value.
extensions/weather/src/wttr.ts Avoids formatting absent feels-like fields, fully addressing the previous malformed fallback finding.
extensions/weather/package.json Adds the menu temperature preference, author metadata, and an esbuild override.
extensions/weather/package-lock.json Refreshes the dependency lockfile consistently with the manifest changes.
extensions/weather/CHANGELOG.md Documents the feature but uses a literal date instead of the required merge-date placeholder.
Prompt To Fix All With AI
### Issue 1
extensions/weather/CHANGELOG.md:3
**Literal Changelog Date**

This heading uses `2026-09-08` instead of the required `{PR_MERGE_DATE}` placeholder. Repository rules require new changelog headings to keep this placeholder so the merge date can be populated automatically; this requirement must be satisfied before merging.

```suggestion
## [Feels Like in Menu Bar] - {PR_MERGE_DATE}
```

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (3): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile

Comment on lines +408 to +409
const feelsLike = getCurrentFeelLikeTemperature(curcon)?.valueAndUnit;
const menuTemp = menutemperature === "feelslike" ? feelsLike || temp : temp;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Broken Feels-Like Fallback

When current conditions exist but the selected FeelsLikeC or FeelsLikeF field is unavailable, getCurrentFeelLikeTemperature produces a truthy string such as "undefined °C". Therefore, feelsLike || temp does not use the actual temperature fallback and instead displays malformed menu-bar text.

Suggested change
const feelsLike = getCurrentFeelLikeTemperature(curcon)?.valueAndUnit;
const menuTemp = menutemperature === "feelslike" ? feelsLike || temp : temp;
const feelsLike = getCurrentFeelLikeTemperature(curcon);
const menuTemp = menutemperature === "feelslike" ? (feelsLike?.value ? feelsLike.valueAndUnit : temp) : temp;
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/weather/src/menubar.tsx
Line: 408-409

Comment:
**Broken Feels-Like Fallback**

When current conditions exist but the selected `FeelsLikeC` or `FeelsLikeF` field is unavailable, `getCurrentFeelLikeTemperature` produces a truthy string such as `"undefined °C"`. Therefore, `feelsLike || temp` does not use the actual temperature fallback and instead displays malformed menu-bar text.

```suggestion
  const feelsLike = getCurrentFeelLikeTemperature(curcon);
  const menuTemp = menutemperature === "feelslike" ? (feelsLike?.value ? feelsLike.valueAndUnit : temp) : temp;
```

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

…ure handling

- Upgrade esbuild dependencies to version 0.28.2 in package-lock.json and package.json.
- Add an override for esbuild in package.json to ensure compatibility.
- Enhance the getCurrentFeelLikeTemperature function in wttr.ts to handle cases where the feels-like value is not available.

This update ensures the weather extension uses the latest esbuild version and improves the robustness of temperature calculations.
@raycastbot raycastbot added the OP is contributor The OP of the PR is a contributor of the extension label Sep 8, 2026
@pernielsentikaer pernielsentikaer self-assigned this Sep 8, 2026

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 81d3f54 into raycast:main Sep 8, 2026
2 checks passed
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Published to the Raycast Store:
https://raycast.com/tonka3000/weather

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@@ -1,5 +1,9 @@
# Weather Changelog

## [Feels Like in Menu Bar] - 2026-09-08

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Literal Changelog Date

This heading uses 2026-09-08 instead of the required {PR_MERGE_DATE} placeholder. Repository rules require new changelog headings to keep this placeholder so the merge date can be populated automatically; this requirement must be satisfied before merging.

Suggested change
## [Feels Like in Menu Bar] - 2026-09-08
## [Feels Like in Menu Bar] - {PR_MERGE_DATE}

Rule Used: What: Changelog entries must use {PR_MERGE_DATE}... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/weather/CHANGELOG.md
Line: 3

Comment:
**Literal Changelog Date**

This heading uses `2026-09-08` instead of the required `{PR_MERGE_DATE}` placeholder. Repository rules require new changelog headings to keep this placeholder so the merge date can be populated automatically; this requirement must be satisfied before merging.

```suggestion
## [Feels Like in Menu Bar] - {PR_MERGE_DATE}
```

**Rule Used:** What: Changelog entries must use `{PR_MERGE_DATE}`... ([source](https://app.greptile.com/raycast/-/custom-context?memory=c2214c11-df56-490a-b1c0-09a385df481a))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

raycastbot added a commit that referenced this pull request Sep 10, 2026
* Update launchdarkly extension

- Add Windows support to LaunchDarkly extension
- [Color Picker] Fix grey color swatches for some color formats (#30936)
- Update twitter extension (#30930)
- Update chatgpt extension (#30945)
- Update CODEOWNERs (242403b)
- Add Windows support for Mozilla Firefox extension (#30285)
- Update CODEOWNERs (5888116)
- Update powertoys-tool-runner extension (#30937)
- Update CODEOWNERs (988e550)
- Capso: Initial release (#30596)
- Update easydict extension (#30706)
- Update CODEOWNERs (1b57711)
- Update github extension (#30931)
- [Clockify] Honor the project\'s billable default when creating time entries (#30927)
- Add cached usage on open and configurable background refresh (#30925)
- Update CODEOWNERs (3e513c4)
- Add storage-benchmark extension (#30563)
- Update CODEOWNERs (8b29f51)
- [Day One] Support renamed CLI command (#30926)
- Agent Usage: Antigravity quota when the app is closed (#30901)
- Update CODEOWNERs (a6da092)
- Add dated-folder extension (#30600)
- [Google Cloud CLI] Add Cloud SQL (#30728)
- Update CODEOWNERs (d2dc991)
- Font Search: fix font preview in dark mode (#30923)
- Clockify: fix requests being sent to an undefined workspace (#30894)
- [Telegram] Fix bot messages showing as Unknown (migrate archived GramJS to teleproto) (#30836)
- Agent Usage: apply saved provider order in the menu bar (#30902)
- [Statamic Docs] Fix crash on launch in newer Raycast versions (#30921)
- [UpNote] Fix special characters breaking note, notebook and tag actions (#30920)
- Update CODEOWNERs (afdcfd0)
- [Safari] Add New Window command (#30909)
- Update CODEOWNERs (075336a)
- Update twitter extension (#30905)
- Update CODEOWNERs (2e9c66f)
- Update speedtest extension (#30880)
- Update Sunsama extension (#30899)
- fix(browser-tabs): keep maximized windows maximized on Windows (#30908)
- Update attio extension (#30910)
- Downloads Manager: align shortcuts with Search Screenshots (#30912)
- Update CODEOWNERs (97cd688)
- Update attio extension (#30881)
- Update CODEOWNERs (81d3f54)
- Update weather extension (#30897)
- [Telegram] Fix blank photo previews and Unknown message senders (#30835)
- Add Xerox status OIDs (#30860)
- Add Hermoso to Model Context Protocol Registry (#30907)
- Fix Orc Pictures Windows copy and Store icon (#30893)
- Update codex extension (#30898)
- Update Window-Sizer extension (#30900)
- Update CODEOWNERs (9ce2c3f)
- Transfer OpenQR extension ownership to the OpenQR organisation (#30654)
- Docs: update for the new API release
- Update app-updates extension (#30868)
- Update CODEOWNERs (98c565e)
- Add ui-component-search extension (#30485)
- Update CODEOWNERs (e5dfcbb)
- Agent Usage: add OpenRouter credit balance (#30855)
- Update launchdarkly extension (#30882)
- Update CODEOWNERs (36ad63c)
- Add load-bearing-reply extension (#30445)
- Update brew extension (#30852)
- Update CODEOWNERs (17dd4b2)
- Update in the time zone extension (#30888)
- Update CODEOWNERs (8bba2b9)
- Add Orc Pictures extension (#30870)
- docs: correct eight Keyboard.Shortcut.Common bindings against the shipped runtime (#30879)
- Update CODEOWNERs (bbdee3a)
- Clockify: fix project dropdown resetting selection and timer failing to start (#30877)
- HackMD: Add workspace and profile browser actions (#30876)
- launchdarkly: refresh store screenshots for the new UI
- launchdarkly: final review fixes
- launchdarkly: mock server covers projects, 404s and browser pages
- launchdarkly: make Switch Project an action instead of a command
- launchdarkly: update README and changelog for the new features
- launchdarkly: extend mock server for new endpoints
- launchdarkly: add Recent Changes and Switch Project commands
- launchdarkly: rebuild flag list and details views
- launchdarkly: add API client layer, typed endpoints and data hooks
- launchdarkly: upgrade dependencies and migrate to ESLint flat config
- launchdarkly: drop unsupported expand param and stale refetch
- launchdarkly: fix targeting display

* launchdarkly: declare Windows variants for custom shortcuts

* Update extensions/launchdarkly/README.md

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update CHANGELOG.md

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: raycastbot <bot@raycast.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: weather Issues related to the weather extension OP is contributor The OP of the PR is a contributor of the extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants