From 80e122de11b0c6633b14009eb41b90d02644b799 Mon Sep 17 00:00:00 2001 From: callumalpass Date: Sat, 25 Oct 2025 16:17:27 +1100 Subject: [PATCH] feat: update calendar setup links and subscription pricing Updated settings UI to reflect current calendar setup documentation and pricing: - Changed subscription price from $1/month to $2/month - Updated Advanced Setup documentation link to: https://callumalpass.github.io/tasknotes/calendar-setup - Added setup guide link to Quick Setup section for easier access - Changed link text from "OAuth Configuration Guide" to "Calendar Setup Guide" Both Quick Setup and Advanced Setup modes now link to the user-facing calendar setup documentation hosted on GitHub Pages. --- docs/calendar-setup.md | 3 +++ src/settings/tabs/integrationsTab.ts | 18 ++++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/docs/calendar-setup.md b/docs/calendar-setup.md index 9a7b4dbd..7016ef8c 100644 --- a/docs/calendar-setup.md +++ b/docs/calendar-setup.md @@ -69,14 +69,17 @@ If you prefer to use your own OAuth application: ## Troubleshooting **"Failed to connect"** + - Verify Client ID and Secret are correct - Check redirect URI is configured: `http://localhost:8080` - Ensure required API permissions are granted **"Failed to fetch events"** + - Disconnect and reconnect to refresh tokens - Check calendar permissions in Google/Microsoft settings **Connection lost after Obsidian restart** + - Tokens are persisted - you should not need to reconnect - If you do, there may be a file permissions issue with your vault diff --git a/src/settings/tabs/integrationsTab.ts b/src/settings/tabs/integrationsTab.ts index 91102925..f80bc0f4 100644 --- a/src/settings/tabs/integrationsTab.ts +++ b/src/settings/tabs/integrationsTab.ts @@ -244,7 +244,7 @@ export function renderIntegrationsTab( getLicenseLink.target = "_blank"; getLicenseLink.style.fontSize = "0.9em"; getLicenseLink.style.color = "var(--interactive-accent)"; - getLicenseLink.textContent = "Get License Key ($1/month)"; + getLicenseLink.textContent = "Get License Key ($2/month)"; // Status indicator const statusDiv = document.createElement("div"); @@ -279,11 +279,21 @@ export function renderIntegrationsTab( ] }); + const quickSetupGuideLink = document.createElement("a"); + quickSetupGuideLink.href = "https://callumalpass.github.io/tasknotes/calendar-setup"; + quickSetupGuideLink.target = "_blank"; + quickSetupGuideLink.style.fontSize = "0.9em"; + quickSetupGuideLink.style.color = "var(--interactive-accent)"; + quickSetupGuideLink.style.marginTop = "0.5rem"; + quickSetupGuideLink.style.display = "inline-block"; + quickSetupGuideLink.textContent = "View Calendar Setup Guide"; + sections.push({ rows: [ { label: "License Key:", input: licenseKeyInput }, { label: "", input: getLicenseLink, fullWidth: true }, - { label: "", input: statusDiv, fullWidth: true } + { label: "", input: statusDiv, fullWidth: true }, + { label: "", input: quickSetupGuideLink, fullWidth: true } ] }); @@ -302,11 +312,11 @@ export function renderIntegrationsTab( helpText.innerHTML = "Advanced Setup - Configure your own OAuth credentials for calendar integration. This requires creating an OAuth application with the calendar provider and entering the Client ID and Secret in each calendar card below. Initial setup takes approximately 15 minutes.

Benefits of Advanced Setup:
• No license subscription required
• Uses your own API quota allocation
• Direct connection between Obsidian and calendar provider
• Complete data privacy (no intermediary servers)"; const setupGuideLink = document.createElement("a"); - setupGuideLink.href = "https://docs.tasknotes.com/oauth-setup"; // TODO: Create this guide + setupGuideLink.href = "https://callumalpass.github.io/tasknotes/calendar-setup"; setupGuideLink.target = "_blank"; setupGuideLink.style.fontSize = "0.9em"; setupGuideLink.style.color = "var(--interactive-accent)"; - setupGuideLink.textContent = "View OAuth Configuration Guide"; + setupGuideLink.textContent = "View Calendar Setup Guide"; sections.push({ rows: [