Location for Weather
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- tooling
研究方向
從主控台記錄中提到的 Templating 外掛程式進入點開始,尤其是 insertNoteTemplate 和 listDaysEvents,並在每日筆記範本中重現天氣程式碼。追蹤天氣位置的取得方式;當產生的天氣使用使用者在 macOS 上的實際位置,而不是此處回報的遙遠位置時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
When attempting to show the weather in the daily note template using the Templating function, it provides a location hundreds of miles from my actual location.
To Reproduce
Add weather code suggested by the Templating help document to the daily note template
Use the template/daily note command to create a note
Expected behavior
Would show my actual location rather than a location at the other end of the state
System
- Device: Mac
- OS: MacOS Sonoma
- NotePlan Version: NotePlan beta Version 3.9.8 (1118)
- Plugin Name & Version Templating v1.9.12
Additional context
Location services are working for my Mac, and other apps use the correct location. I have attempted to find any location permissions applicable to NotePlan, but cannot find any.
Plugin Console Log
To provide us with more clues about where the bug/error is occurring...
- Open the Plugin's Preferences by going to
NotePlan's menu > Preferences > Pluginsand clicking the settings "cog" icon next to the plugin in question. Scroll to the bottom and set the logging level to "DEBUG" and click "Save & Close" - Now open the Plugin Console by going to
Noteplan > Help > Plugin Console - Run the plugin command you're reporting
- Copy the output from the Plugin Console and paste it below
- Delete any output that has personal information you don't want in there
Executing function 'onSettingsUpdated'
Executing function 'insertNoteTemplate'
Executing function 'listDaysEvents'
- 主要語言
- JavaScript
- 星號
- 204
- 分支
- 81
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NotePlan/plugins 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
-
Task Sorting & Tools: support other line types可能已有人在做 @dwertheimer 於 9 天前認領。 未關閉enhancement
-
getFoldersMatching adds root "/" even when it is not an inclusion可能已有人在做 @jgclark 於 9 天前認領。 未關閉
-
enhancement question
難度 5/5 一週以上 新手友好度 35/100
-
newMeetingNoteFromEventID always opens earliest occurrence for Google Calendar recurring events可能重新可做 @EduardMe 於 135 天前認領,目前沒有進行中的 PR。 未關閉bug
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
type/bug
難度 2/5 1-3 小時 新手友好度 62/100
flarum/framework#5301 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
AOSSIE-Org/BabyNest#284 ·
維護者通常 1 天內回覆
-
status:untriaged
難度 1/5 1 小時以內 新手友好度 86/100
midnightntwrk/servicedesk#275 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
seek4science/seek#2762 ·
維護者通常 5 天內回覆