Expose vault-backed remote choices in UI

This commit is contained in:
Joe Julian
2026-04-06 12:20:19 -07:00
parent ef01e33990
commit 4da9c07b32
2 changed files with 75 additions and 0 deletions
+16
View File
@@ -1888,6 +1888,22 @@ func (u *ui) remotePreferencesRetentionSummary() string {
return "KeePassGO keeps up to six recent connections. Store remote credentials in the vault if this connection should persist across devices or reinstalls."
}
func (u *ui) availableRemoteProfiles() []vault.RemoteProfile {
profiles, err := u.state.RemoteProfiles()
if err != nil {
return nil
}
return profiles
}
func (u *ui) availableRemoteCredentialEntries() []vault.Entry {
entries, err := u.state.RemoteCredentialEntries()
if err != nil {
return nil
}
return entries
}
func (u *ui) noteCurrentRemotePath() {
status, ok := u.state.Session.(sessionStatus)
if !ok || !status.IsRemote() || status.IsLocked() {