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

Fix/password opt #3542

Closed
wants to merge 21 commits into from
Closed

Fix/password opt #3542

wants to merge 21 commits into from

Conversation

ezailWang
Copy link
Contributor

No description provided.

…al & enableLocalAuthenticaiton

Signed-off-by: 王山栋 <[email protected]>
1.EnableWebAuth
2.OnekeyHardwareDetaiils
3.OnekeyHardwareDeviceName
4.hardware onekeyLite restore done
5.ExportPrivateKeyView
6.ManageWalletLocalValidation
7.ActivateTokenAuth
8.BatchSendProgress
9.SednAuthentication
10.WalletTabsWithAuth
11.enableLocalAuthenticaiton
12.BackUpManual

Signed-off-by: 王山栋 <[email protected]>
Signed-off-by: 王山栋 <[email protected]>
Signed-off-by: 王山栋 <[email protected]>
@what-the-diff
Copy link

what-the-diff bot commented Sep 14, 2023

PR摘要

  • 在"ServicePassword.ts"中增加/变更内容
  • 导入了isBoolean等组件以支持新功能的实现。
  • 增加了接口,枚举和方法,如IPasswordOptions接口,EPasswordResStatus枚举,以及checkWalletIsNeedInputPassWord方法等,优化了密码服务逻辑。
  • 在"useCreateAccountInWallet.ts"中增加/变更内容
  • 在账户创建过程中加入了authentication,增强了密码输入的安全性。
  • 在"Session.tsx"中增加/变更内容
  • 移除了无用的逻辑和依赖,整理了代码。
  • verifiedPwd为 false 时,返回Validation组件,使程序逻辑更清晰。
  • 在"index.tsx"中增加/变更内容
  • 移除了无用的import声明和变量,精简了代码。
  • 基于hasPassword返回SessionSetup组件,增强了代码的可读性。
  • 在"其他文件"中增加/变更内容
  • 在许多文件中对函数进行了相应改动,如onPress函数和onChange函数,并导入相应的模块,比如EPasswordResStatus, backgroundApiProxy等。
  • 优化了验证过程,如在showVerify函数中调用managerWalletLocalValidation
  • 删除了不再需要的组件和文件,如BackupLite.tsxBackupManual.tsx
  • 移除了不再需要的路由,如EnableLocalAuthentication
  • 增加了一些必要的路由参数,提高了代码的灵活性。

请注意,这只是一般性摘要,每个文件的实际更改可能需要进一步的检查。

@ezailWang ezailWang marked this pull request as ready for review September 21, 2023 01:56
@ezailWang ezailWang requested a review from a team as a code owner September 21, 2023 01:56
@ezailWang ezailWang enabled auto-merge (squash) September 21, 2023 01:56
@loatheb loatheb deleted the branch next November 7, 2023 11:10
@loatheb loatheb closed this Nov 7, 2023
auto-merge was automatically disabled November 7, 2023 11:10

Pull request was closed

@loatheb loatheb deleted the fix/password-opt branch August 25, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants