Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Location for Weather

Đang mở
#493 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu với các điểm vào của plugin Templating được nêu trong nhật ký console, đặc biệt là insertNoteTemplate và listDaysEvents, rồi tái hiện mã thời tiết trong một template ghi chú hằng ngày. Theo dõi cách lấy vị trí thời tiết; hoàn tất khi thời tiết được tạo sử dụng vị trí thực tế của người dùng trên macOS thay vì vị trí ở xa được báo cáo tại đây.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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...

  1. Open the Plugin's Preferences by going to NotePlan's menu > Preferences > Plugins and 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"
  2. Now open the Plugin Console by going to Noteplan > Help > Plugin Console
  3. Run the plugin command you're reporting
  4. Copy the output from the Plugin Console and paste it below
  5. Delete any output that has personal information you don't want in there
  Executing function 'onSettingsUpdated'
  Executing function 'insertNoteTemplate'
  Executing function 'listDaysEvents'
Ngôn ngữ chính
JavaScript
Star
204
Fork
81
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NotePlan/plugins

Tất cả issue của NotePlan/plugins

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.