mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-25 08:10:15 +00:00
Rework pwman listing
This commit is contained in:
4 files changed
+9
-6
No files matched your search
@@ -107,14 +107,15 @@ public interface PasswordManager {
|
||||
@AllArgsConstructor
|
||||
class ListEntry {
|
||||
|
||||
String title;
|
||||
String entryTitle;
|
||||
String listTitle;
|
||||
String key;
|
||||
String internalId;
|
||||
ListEntryType type;
|
||||
List<String> urls;
|
||||
|
||||
public boolean matches(String filter) {
|
||||
return title.toLowerCase().contains(filter.toLowerCase())
|
||||
return listTitle.toLowerCase().contains(filter.toLowerCase())
|
||||
|| key.toLowerCase().contains(filter.toLowerCase())
|
||||
|| urls.stream().anyMatch(url -> url.toLowerCase().contains(filter.toLowerCase()))
|
||||
|| (internalId != null && internalId.equalsIgnoreCase(filter));
|
||||
|
||||
@@ -147,7 +147,7 @@ public class PasswordManagerTestComp extends SimpleRegionBuilder {
|
||||
shown,
|
||||
all,
|
||||
entry -> {
|
||||
var buttonName = entry.getTitle();
|
||||
var buttonName = entry.getListTitle();
|
||||
var entryButton =
|
||||
new ButtonComp(new ReadOnlyObjectWrapper<>(buttonName), () -> {
|
||||
popover.hide();
|
||||
|
||||
Generated
-1
@@ -167,7 +167,6 @@ neovim=Neovim
|
||||
sms=SMS
|
||||
hashicorpVaultPlaceholder=/path/to/secret[?user=<field>&pass=<field>&private-key=<field>&public-key=<field>]
|
||||
hashicorpVault=Hashicorp Vault
|
||||
protonPassPasswordPlaceholder=Vault Name/Item name
|
||||
protonPass=Proton Pass
|
||||
passwork=Passwork
|
||||
passworkPlaceholder=Item ID
|
||||
|
||||
Generated
+5
-2
@@ -1497,7 +1497,8 @@ updateReinstallAction=Perform clean reinstall
|
||||
updateReinstallActionDescription=Reinstall XPipe instead of performing an incremental update, your data is preserved
|
||||
updateFailAction=Install update manually
|
||||
updateFailActionDescription=Check out the latest releases at GitHub
|
||||
onePasswordPlaceholder=Item name or op:// URL
|
||||
#force
|
||||
onePasswordPlaceholder=Item name | op:// URL
|
||||
computeDirectorySizes=Compute directory sizes
|
||||
#context: Verb, to compute
|
||||
computeSize=Compute size
|
||||
@@ -2361,10 +2362,12 @@ skipRole=Skip role
|
||||
disableRole=Disable role
|
||||
feedback=Feedback
|
||||
bitwardenCustomServerToggle=Use custom Bitwarden server
|
||||
bitwardenCustomServerToggleDescription=Whether to use a custom server for Bitwarden instead of the default
|
||||
#force
|
||||
bitwardenCustomServerToggleDescription=Whether to use a custom server for Bitwarden instead of bitwarden.com
|
||||
bitwardenCustomServer=Server address
|
||||
bitwardenCustomServerDescription=The address of the Bitwarden server
|
||||
bitwardenCustomServerTitle=Bitwarden server login
|
||||
batchActionsIncompatible=Mixed entry types selected, no actions available
|
||||
batchActionsEmpty=No actions available for selected entries
|
||||
bitwardenPasswordPlaceholder=Item name | Item UUID
|
||||
|
||||
Reference in new issue
Block a user