Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List vault items in item selection prompt #169

Open
jodyheavener opened this issue Sep 21, 2023 · 0 comments
Open

List vault items in item selection prompt #169

jodyheavener opened this issue Sep 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jodyheavener
Copy link
Member

Summary

When choosing a value from the "Get from 1Password" you must know and enter the item's name or UUID. This isn't a great UX, and considering the CLI can return a list of items we should consider trying to display some or all of them in a searchable fashion.

Use cases

  • User wants to insert a secret reference for an item's field, but doesn't remember exactly what the item is called. They invoke the "Get from 1Password" command and are able to use the dropdown input field to search and narrow down the results to the item they're looking for.

Proposed solution

Update getItem to, instead of just presenting a field for enter the item's name or ID, present a list of items scoped to the current vault. Ideally the user can type to narrow results, or also just enter their own value entirely.

Is there a workaround to accomplish this today?

No

Additional information

  • The UX here is unclear, it may need to be a truncated list, in which case we could possibly display "recently used" items, "recently saved" items, or somehow we might be able to infer items based on the workspace's project. I am not sure.
  • The operation to list all items can be expensive. It may be worth performing this operation separately and storing the results. There should be security considerations around this.
@jodyheavener jodyheavener added the enhancement New feature or request label Sep 21, 2023
@jodyheavener jodyheavener added the hacktoberfest This issue is open to submissions from Hacktoberfest participants label Oct 3, 2023
@jodyheavener jodyheavener removed the hacktoberfest This issue is open to submissions from Hacktoberfest participants label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant