Commit Graph

24 Commits

Author SHA1 Message Date
Lukáš Tinkl d9d6d90dc9 [Style] remove legacy Style and its themes
- legacy Style and ThemePalette removed
- moved and deduplicated font definitions into `Theme` (unrelated to a
color palette)
- `Style.current.foo` -> `Theme.foo`
- `Style.current.fooColor` -> `Theme.palette.fooColor`
- upgrade the imports to 5.15
- removed some mode dead components

Fixes #16514
2024-10-22 15:54:31 +02:00
Lukáš Tinkl b052416666 fix(PasswordView): Password instructions missing max length requirement
- set the pass max length to 100 (via `Constants`, not with a hardcoded
regexp)
- delay the validation until the user hits the limit
- clear the categories (lower/upper/num/sym) info if the password is
cleared too
- update the error messages according to latest Figma designs

Fixes #16239
2024-10-16 22:24:56 +02:00
Lukáš Tinkl 5af2f28aa2 fix[Onboarding] Password screen is not correct
- hide the "Current password" label when creating a new password
- fix margins inside the keycard popup
- some minor UI fixups according to Figma

Fixes: #14214
Fixes: #14177
2024-03-29 16:10:50 +01:00
Stefan 086180b47a chore(settings) align password screen with design
Changes required:

- Fixed text colors
- Fixed text expressions
- Added dividers
- Added labels

Closes #13893
2024-03-15 17:52:59 +01:00
Noelia bb76962b69 fix(PasswordView): Dark mode background fix
Closes #13549
2024-03-11 16:14:48 +01:00
Alexandra Betouni 480985ca4e
[Settings]: Added change password view (#13284)
* [Settings]: Added change password view

Closes #10037

Adding configuration options to PasswordView

* feat(ChangePassword): Integrate ConfirmChangePasswordModal

1. Integrate with backend
2. Clean unused components

* feat: Add support to restart application

1. Adding restart app support in DOtherSide
2. Integrating nimqml
3. Expose in qml in Utils

* chore: Move changeDatabasePassword call to threadpool

* chore(squish): Fix failing tests due to settings index changes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-02-09 13:31:37 +02:00
Godfrain Jacques 9743fb2537
fix(Onboarding): Apply 2 line constraint for create password description text (#12628) 2023-11-15 07:50:27 -08:00
Alex Jbanca 48c7d875de fix(PasswordView): Space is not allowed in password
Update new password input validators to allow any character input and show error message if the character is invalid.
2023-06-30 11:40:48 +03:00
Lukáš Tinkl 13c8ce3b94 chore: handle numpad enter key as well
a TextField has an appropriate `accepted()` signal
2023-04-03 21:24:46 +02:00
alexjba 98d3073a61 Update min text length in password 2022-11-23 15:21:21 +02:00
Noelia 94910e9554 fix(Onboarding): Give consistency to Create / Confirm password view font-size
Updated `Create` and `Confirm` password views according to new design decisions taken to give consistency to the onboarding screens (related to font-size).

Updated related squish test cases: Screenshots updated with new font-size and refactored some objectNames and objects that where using `text` property instead of `objectName`.

Updated `Input` components to `StatusPasswordInput` ones.

Fixes #7447
2022-10-13 16:15:36 +02:00
Khushboo Mehta 9638b200e1 fix(@desktop/wallet): Added squish test for change password and relogin
fixes #6900
2022-09-30 15:56:03 +02:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Boris Melnik 1f5de11069 fix(onboarding): Add checking passwords to new password input
Closes: #5834
2022-05-26 06:57:27 -04:00
Alexandra Betouni 198da4fdc6 fix(CreatePassword): evaluation added on text changed
Closes #5734
2022-05-23 18:43:56 +03:00
mishkarogachev c04b9a937d fix(@desktop/onboarding): Password strength indicator fixes for 10-chars
Close #5702
2022-05-13 14:10:28 -04:00
Jonathan Rainville c02685c704 fix(onboarding): improve pasting of seed phrase
Make it possible to paste single words, as well as 18 and 24 words.
Also allows seeds separated by commas and other blank spaces
2022-05-12 15:29:30 -04:00
Jonathan Rainville da801d9c9f fix(seed-import): fix seed phrase import screens to be better
Fixes #5409
2022-05-12 15:29:30 -04:00
Noelia 26e901d986 fix(Onboarding/Password): Add/correct hard keys behaviour in Password related onboarding screens
Following changes are done in `ConfirmPasswordView`, `CreatePasswordView` and `ChangePasswordModal`:

- Pressing enter in forms should submit the form if view is ready to submit.
- Pressing tab in inputs should jump to next one.

Fixes #5626
2022-05-11 19:40:22 +02:00
Michal Iskierko 146ff7a48b fix(@desktop/onboarding): Clearing error message when password confirmation is empty
Fix #5319
2022-05-11 17:58:49 +02:00
Michal Iskierko 0bb594d05f fix(@desktop/onboarding): Improve password validation and showing don't match error
Fix #5319
2022-05-11 17:58:49 +02:00
Noelia cbe9ca17a3 feat(Password): Change minimum password length to 10
As agreed with security team and from spec https://github.com/status-im/feature-specs/pull/38, password length has been updated from 6 to 10.
2022-05-10 15:13:37 -04:00
Boris Melnik dfa5b17275 fix(PasswordView): Fix typo
Closes: #5316
2022-04-07 10:08:52 -04:00
Alexandra Betouni dcab50fe09 feat(onboarding): ading create new keys screens
Closes #4956
2022-03-29 00:47:24 +03:00