Skip to content

Pin to unlock communicator#2133

Open
magush27 wants to merge 10 commits intocboard-org:masterfrom
magush27:pin-to-unlock-edition
Open

Pin to unlock communicator#2133
magush27 wants to merge 10 commits intocboard-org:masterfrom
magush27:pin-to-unlock-edition

Conversation

@magush27
Copy link
Copy Markdown
Collaborator

New PIN lock feature to enhance the security of the app's settings and board unlocking functionality. Users can now enable a 4-digit PIN lock in the navigation settings, which will require entering the correct PIN to unlock protected areas. The implementation covers both the settings UI and the board container logic, including a new PIN entry dialog component.

Changes:

PIN Lock Feature Implementation:

  • Added pinLockEnabled and pinCode options to the navigation settings state, allowing users to enable/disable the PIN lock and set a 4-digit PIN.
  • Updated the navigation settings UI to include switches and input fields for enabling PIN lock and entering the PIN, with validation and visibility toggle.

PIN Dialog Component:

  • Added a new reusable PinDialog component for PIN entry, with support for input validation, visibility toggle, and error messaging.

Board Unlock Logic:

  • Integrated PIN lock checks into the board lock/unlock flow in Board.container.js, displaying the PIN dialog when required and handling PIN validation and error states.

Internationalization:

  • Added new internationalized messages for the PIN lock feature and dialog, ensuring all user-facing text is translatable.

Closes #2125

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.

Add a feature to require a PIN number to unlock editions

1 participant