From 0ff44036a31bdaed67526de99f790104fb5e48b3 Mon Sep 17 00:00:00 2001 From: Qasim Date: Tue, 3 Feb 2026 12:15:38 -0500 Subject: [PATCH] fix: correct Nylas dashboard URL typo Change dashboardv3.nylas.com to dashboard-v3.nylas.com (add missing hyphen) --- docs/troubleshooting/api.md | 2 +- docs/troubleshooting/auth.md | 8 ++++---- docs/troubleshooting/faq.md | 4 ++-- internal/cli/auth/config.go | 4 ++-- internal/ui/server_demo_test.go | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/troubleshooting/api.md b/docs/troubleshooting/api.md index 6601ca1..d7636da 100644 --- a/docs/troubleshooting/api.md +++ b/docs/troubleshooting/api.md @@ -53,7 +53,7 @@ Invalid API key nylas auth config # Verify API key in Nylas Dashboard -# https://dashboardv3.nylas.com → Apps → Your App → API Keys +# https://dashboard-v3.nylas.com → Apps → Your App → API Keys # Check configured key nylas auth status diff --git a/docs/troubleshooting/auth.md b/docs/troubleshooting/auth.md index 8cb3c14..c149f97 100644 --- a/docs/troubleshooting/auth.md +++ b/docs/troubleshooting/auth.md @@ -53,7 +53,7 @@ nylas auth config 2. **Verify credentials are correct:** ```bash -# Check your API key on https://dashboardv3.nylas.com +# Check your API key on https://dashboard-v3.nylas.com # Copy the correct API key # Copy the correct Grant ID @@ -85,7 +85,7 @@ cat ~/.config/nylas/config.yaml **Solutions:** 1. **Get your Grant ID from Nylas Dashboard:** - - Login to https://dashboardv3.nylas.com + - Login to https://dashboard-v3.nylas.com - Go to "Grants" section - Copy your Grant ID (format: `grant_xxxx`) @@ -214,7 +214,7 @@ chmod 600 ~/.config/nylas/config.yaml ```bash # Step 1: Get your Nylas credentials -# Go to: https://dashboardv3.nylas.com +# Go to: https://dashboard-v3.nylas.com # Create an app or use existing app # Get: API Key, Grant ID @@ -341,7 +341,7 @@ nylas email list grant_account2 ### Invalid API key errors: 1. **Verify API key is correct:** - - Login to https://dashboardv3.nylas.com + - Login to https://dashboard-v3.nylas.com - Go to Apps → Your App → API Keys - Copy the **correct** API key - Format should be: `nyk_xxx...` diff --git a/docs/troubleshooting/faq.md b/docs/troubleshooting/faq.md index 56e6efe..1dc2d4d 100644 --- a/docs/troubleshooting/faq.md +++ b/docs/troubleshooting/faq.md @@ -39,7 +39,7 @@ go install github.com/nylas/cli/cmd/nylas@latest ### Q: What do I need to get started? **A: You need:** -1. **Nylas account** - Sign up at https://dashboardv3.nylas.com +1. **Nylas account** - Sign up at https://dashboard-v3.nylas.com 2. **API Key** - Create app in dashboard, get API key 3. **Grant ID** - Connect your email account, get grant ID @@ -51,7 +51,7 @@ go install github.com/nylas/cli/cmd/nylas@latest **A: Step-by-step:** -1. **Go to:** https://dashboardv3.nylas.com +1. **Go to:** https://dashboard-v3.nylas.com 2. **Create app** (or use existing) 3. **Get API Key:** - Apps → Your App → API Keys diff --git a/internal/cli/auth/config.go b/internal/cli/auth/config.go index 632bca0..9e509ac 100644 --- a/internal/cli/auth/config.go +++ b/internal/cli/auth/config.go @@ -28,7 +28,7 @@ func newConfigCmd() *cobra.Command { Long: `Configure Nylas API credentials. You can provide credentials via flags or interactively. -Get your credentials from https://dashboardv3.nylas.com +Get your credentials from https://dashboard-v3.nylas.com The CLI only requires your API Key - Client ID is auto-detected.`, RunE: func(cmd *cobra.Command, args []string) error { @@ -50,7 +50,7 @@ The CLI only requires your API Key - Client ID is auto-detected.`, // Interactive mode if API key not provided if apiKey == "" { fmt.Println("Configure Nylas API Credentials") - fmt.Println("Get your API key from: https://dashboardv3.nylas.com") + fmt.Println("Get your API key from: https://dashboard-v3.nylas.com") fmt.Println() fmt.Print("API Key (hidden): ") diff --git a/internal/ui/server_demo_test.go b/internal/ui/server_demo_test.go index 0d60d06..9f86e8f 100644 --- a/internal/ui/server_demo_test.go +++ b/internal/ui/server_demo_test.go @@ -471,8 +471,8 @@ func TestCommandsJSContainsNoDashboardOldURL(t *testing.T) { content := string(data) // Verify old dashboard URL is not present - if strings.Contains(content, "dashboard.nylas.com") && !strings.Contains(content, "dashboardv3.nylas.com") { - t.Errorf("%s contains old dashboard URL (dashboard.nylas.com instead of dashboardv3.nylas.com)", path) + if strings.Contains(content, "dashboard.nylas.com") && !strings.Contains(content, "dashboard-v3.nylas.com") { + t.Errorf("%s contains old dashboard URL (dashboard.nylas.com instead of dashboard-v3.nylas.com)", path) } } }