Skip to content

Conversation

thisconnect
Copy link
Collaborator

@thisconnect thisconnect commented Oct 9, 2025

This is an experimental branch to check for typescript issues in PR #3604

As a test all components that import from password.tsx have been converted to typescript to check for errors.

Some small issues surfaced and were fixed in this branch (see last commit)

IdPrefix is not relly neeeded, however many components that use
PasswordSingleInput or PasswordRepeatInput are untyped BitBox01
components.

To be safe it would be better to convert to TypeScript.
Moving first to have a nicer diff in next commit.
Moving first to have a nicer diff in the next commit.
The errorCode state was not used, instead it just shows an alert
message with either bitbox.error.e${data.code} or just the error.
Moving first to have a nicer diff in the next commit.
Moving first to have a nicer diff in the next commit.
Moving first to have a nicer diff in the next commit.
Mostly by just running make webfix
Moving first to have a nicer diff in the next commit.
Moving first to have a nicer diff in the next commit.
If BB01 password is too short the app used to display an error.

Added the too short error back.
@thisconnect thisconnect force-pushed the frontend-refactor-to-typescript branch from 7c2c433 to cfc7aa8 Compare October 16, 2025 12:39
@thisconnect
Copy link
Collaborator Author

rebased, to test PR #3604 with typed BB01 components

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.

1 participant