From 04098b418817fdaa9ca279cd751249a9f96422eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl-Einar=20Bergstr=C3=B8m?= Date: Sun, 11 Oct 2026 23:53:06 +0200 Subject: [PATCH] feat: the demo's Azure accounts are alex and admin.alex, named like accounts "dev" and "ops" read like environments, so dev above platform-prod looked wrong. Co-Authored-By: Claude Opus 5.5 (1M context) --- cmd/lazysecrets/main.go | 4 ++-- internal/ui/app/jump.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/lazysecrets/main.go b/cmd/lazysecrets/main.go index 9044960..e465544 100644 --- a/cmd/lazysecrets/main.go +++ b/cmd/lazysecrets/main.go @@ -243,8 +243,8 @@ Flags: if *demo { // Two Azure accounts, like a personal and an admin login in az. providers = []provider.Provider{ - fake.Azure(400*time.Millisecond).As("Azure:dev@example.com/demo", "Azure · dev"), - fake.AzureOps(700*time.Millisecond).As("Azure:ops@example.com/demo", "Azure · ops"), + fake.Azure(400*time.Millisecond).As("Azure:alex@example.com/demo", "Azure · alex"), + fake.AzureOps(700*time.Millisecond).As("Azure:admin.alex@example.com/demo", "Azure · admin.alex"), fake.Databricks(600 * time.Millisecond), fake.Repos(), } diff --git a/internal/ui/app/jump.go b/internal/ui/app/jump.go index 97c190f..a5ec468 100644 --- a/internal/ui/app/jump.go +++ b/internal/ui/app/jump.go @@ -147,8 +147,8 @@ func sourceMatches(r ref.Ref, src provider.Source) bool { return src.ID == r.Subscription } -// accountOf is the account part of a source's provider label ("dev" in -// "Azure · dev"), or "" when there's a single account. +// accountOf is the account part of a source's provider label ("alex" in +// "Azure · alex"), or "" when there's a single account. func accountOf(src provider.Source) string { account, ok := strings.CutPrefix(src.ProviderLabel, string(src.Kind)+" · ") if !ok {