Thanks to visit codestin.com
Credit goes to github.com

Skip to content

REF: Unlock passsword UX#8118

Merged
marcosrdz merged 7 commits into
masterfrom
unlock
Oct 18, 2025
Merged

REF: Unlock passsword UX#8118
marcosrdz merged 7 commits into
masterfrom
unlock

Conversation

@marcosrdz

Copy link
Copy Markdown
Member

No description provided.

@marcosrdz marcosrdz self-assigned this Oct 13, 2025
@marcosrdz marcosrdz requested a review from Copilot October 13, 2025 04:29

Copilot AI 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.

Pull Request Overview

This PR updates the unlock password user experience to replace modal prompts with a more intuitive inline password input interface. The changes improve the UI/UX for entering storage decryption passwords by introducing a custom PasswordInput component with visual feedback animations.

  • Creates a new PasswordInput component with shake animations for errors and success feedback
  • Updates UnlockWith screen to use the new inline password input instead of modal dialogs
  • Modifies startAndDecrypt function to support callback-based password prompts
  • Updates e2e tests to use the new password input test ID

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
components/PasswordInput.tsx New component providing password input with visual feedback animations
screen/UnlockWith.tsx Updated to integrate PasswordInput component and handle password flow
blue_modules/start-and-decrypt.ts Modified to support callback-based password prompting
tests/e2e/bluewallet.spec.js Updated test selectors to use new PasswordInput component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread screen/UnlockWith.tsx Outdated
passwordInputRef.current?.showError();
dispatch({ type: SET_IS_AUTHENTICATING, payload: false });
isUnlockingWallets.current = false;

Copilot AI Oct 13, 2025

Copy link

Choose a reason for hiding this comment

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

Trailing whitespace should be removed.

Suggested change

Copilot uses AI. Check for mistakes.
Comment thread components/PasswordInput.tsx Outdated
showSuccess: () => {
triggerHapticFeedback(HapticFeedbackTypes.NotificationSuccess);
setIsSuccess(true);

Copilot AI Oct 13, 2025

Copy link

Choose a reason for hiding this comment

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

Trailing whitespace should be removed.

Suggested change

Copilot uses AI. Check for mistakes.
@marcosrdz marcosrdz requested a review from Copilot October 13, 2025 05:06

Copilot AI 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.

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread screen/UnlockWith.tsx Outdated
Comment thread blue_modules/start-and-decrypt.ts
marcosrdz and others added 2 commits October 13, 2025 00:08
@marcosrdz marcosrdz requested a review from limpbrains October 15, 2025 11:07

@ojokne ojokne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Run the code on my physical device, everything worked as expected

LGTM

@Overtorment Overtorment added the testflight Upload iOS and macOS builds to Testflight. label Oct 16, 2025

@Overtorment Overtorment left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

want to test it on testflight now

@Overtorment

Copy link
Copy Markdown
Member

@cursoragent review pls

@cursor

cursor Bot commented Oct 16, 2025

Copy link
Copy Markdown

Review

  • Overall: Looks good to me. The unlock UX changes are clear and behave as expected. LGTM.

  • Nits:

    • Trailing/extra whitespace: please trim to match project formatting.
    • Clarify early return in start-and-decrypt.ts for readability. Suggested inline comment:
export const startAndDecrypt = async (retry?: boolean, passwordPrompt?: PasswordPromptCallback): Promise<boolean> => {
  // If wallets are already loaded, no need to migrate, decrypt, or load from disk.
  • Title typo: PR title has “passsword”; please change to “password”.

  • Next steps: After fixing the nits, good to proceed to TestFlight/merge.


Open in Cursor Open in Web

Learn more about Cursor Agents

@github-actions

Copy link
Copy Markdown

✅ Build 7.2.1 (1760609991) has been uploaded to TestFlight and will be available for testing soon.

@GladosBlueWallet

Copy link
Copy Markdown
Collaborator

Wake the fuck up samurai, we have PRs to merge

image

[all PRs for @limpbrains] https://github.com/BlueWallet/BlueWallet/pulls/review-requested/limpbrains

@github-actions

Copy link
Copy Markdown

✅ Build 7.2.1 (1760812247) has been uploaded to TestFlight and will be available for testing soon.

@marcosrdz marcosrdz merged commit 5dec4d8 into master Oct 18, 2025
13 checks passed
@marcosrdz marcosrdz deleted the unlock branch October 18, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testflight Upload iOS and macOS builds to Testflight.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gris sobre gris despues de la última actualización, dificulta ver algunos "ok" o "cancel" y "enviar"

6 participants