The Tenki plugin is a delightful addition to your Obsidian workflow, bringing real-time weather updates right into your vault. With Tenki, you can easily display current weather conditions and forecasts for any city in the world. Simply enter your location and API key from weatherapi.com, and you'll be treated to a visually appealing display of weather data. The plugin's design is highly customizable, thanks to its CSS classes, allowing you to tailor the look and feel to suit your preferences. Whether you're planning an outdoor event or simply want to stay on top of changing weather patterns, Tenki has got you covered.
In addition to the requested changes below I made a slight change to the refresh code.
function debounce(func: (…args: any[]) => void, wait: number) {
The Obsidian API already includes a function of the same name that does the same.
Response: code change implemented in 0.7.5
updateInterval: NodeJS.Timeout | null = null;
Use a regular number here, and use window.setTimeout everywhere.
Response: code change implemented in 0.7.5
const checkLayoutInterval = setInterval(async () => {
Remove this code.
Response: code change implemented in 0.7.5
cls: "recent-files-donation",
Wrong class name.
Also, the donation information is usually at the bottom of the settings.
Response: code change implemented in 0.7.5