Skip to content

[Bitwarden] remove detailled view, fix login flow - #1242

Merged
sxn merged 7 commits into
raycast:mainfrom
pomdtr:bitwarden-login-fix
Apr 4, 2022
Merged

sxn merged 7 commits into
raycast:mainfrom
pomdtr:bitwarden-login-fix

Conversation

@pomdtr

@pomdtr pomdtr commented Mar 30, 2022

Copy link
Copy Markdown
Contributor

Description

Fix an issue on the latest version of the bitwarden cli which consistentely autolocked the users vault.
I also removed the detailled view from the cli, it needs more work.

Screencast

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements OP is author The OP of the PR is the author of the extension labels Mar 30, 2022
@daniel-stoneuk

daniel-stoneuk commented Mar 30, 2022 •

Copy link
Copy Markdown

Would it be possible to keep the Lock Vault command? I don't think it will have any problems with the proposed change and it's a useful function to have.

Edit: I just spotted the lock function is now an action in the search vault list. I wonder if we can bring in a lock icon from SF Symbols to use here.

@daniel-stoneuk daniel-stoneuk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added a few comments from my testing.

I've also noticed a regression from a fully logged out vault. To repro:

  1. run bw logout in a terminal window.
  2. run Search command and enter password. This fails.
  3. enter password again. This succeeds.

Comment thread extensions/bitwarden/src/search.tsx Resolved
Comment thread extensions/bitwarden/src/search.tsx Resolved
Comment thread extensions/bitwarden/src/search.tsx Resolved
@pomdtr
pomdtr force-pushed the bitwarden-login-fix branch from 4d83f18 to fe1a9d9 Compare April 1, 2022 17:57

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pomdtr 👋

Seems to work, I was one of them with the lock problem, and it works as expected now 💪

Two minor things:

  • Could be nice with a hotkey to lock the vault
  • Could be nice with usage of List.EmptyView copy bitwarden logo to a new file with size 64x64

Request a new review when you are ready, feel free to contact me here or at Slack if you have any questions.

@pomdtr
pomdtr requested a review from pernielsentikaer April 2, 2022 14:52

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pomdtr 👋

Thanks for the update, it looks really good!

@daniel-stoneuk

Copy link
Copy Markdown

After using this PR for a little while, I've noticed the popToRoot call is a little inconvenient when copying both the username and password.

What do you think?

@pomdtr

pomdtr commented Apr 3, 2022

Copy link
Copy Markdown
Contributor Author

After using this PR for a little while, I've noticed the popToRoot call is a little inconvenient when copying both the username and password.

What do you think?

I agree, I just removed them.

@sxn
sxn merged commit 9e0cbd6 into raycast:main Apr 4, 2022
@raycastbot

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements OP is author The OP of the PR is the author of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants