feat: the key picker's tabs go under its heading, with help text
CI / Checks (pull_request) Successful in 39s
PR title / Conventional title (pull_request) Successful in 2s

The share popup is titled for what's shared; above the search, "Pick
a secret to encrypt with" says the recipient needs read access to it,
with Go to's tabs under it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kebandClaude Opus 5.5 committed 2026-10-13 12:24:10 +02:00
1 parent cd265a632e
commit 8cd0003f8c
2 files changed
+26 -17

No files matched your search

+4 -2
View File
@@ -15,6 +15,7 @@ import (
"git.kebcloud.no/keb/lazysecrets/internal/provider"
"git.kebcloud.no/keb/lazysecrets/internal/ref"
"git.kebcloud.no/keb/lazysecrets/internal/share"
"git.kebcloud.no/keb/lazysecrets/internal/ui/panes"
)
// Sharing env files as an encrypted lazysecrets://share link (package
@@ -146,8 +147,9 @@ func (m *Model) pickShareKey(s sharing) tea.Cmd {
}
m.search.pickTitle = shareTitle(s)
m.search.pickLines = append(m.sharedFiles(s), "",
"Pick the secret to encrypt them with: whoever can read it can open the link.",
m.st.Muted.Render("Its value isn't shown or put in the link. share.key sets a default."))
panes.TitleStyle(m.st, true).Render("Pick a secret to encrypt with"),
m.st.Muted.Render("The recipient needs read access to it to decrypt the files. Its value isn't"),
m.st.Muted.Render("shown or put in the link. share.key sets one for a repo, or for all."))
m.fillSearch(false)
return tea.Batch(cmd, m.searchLoads())
}