Commit Graph

4646 Commits

Author SHA1 Message Date
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
Michal Iskierko 1178b4f8c4 chore(@desktop): Update StatusQ
Fix #6304

chore(@desktop): Update StatusQ

Fix #6304

update statusq
2022-07-21 17:44:32 -04:00
Jonathan Rainville e5f9177bcd fix(community-chat): don't switch to the first channel when reordering
Fixes #6574
2022-07-21 17:18:40 -04:00
Lukáš Tinkl 080966cc19 fix(EnsTermsAndConditionsView): fix checkbox alignment
actually make it possible to also click the text to toggle :)

Closes #6558
2022-07-21 15:58:33 -04:00
Lukáš Tinkl 639a70b611 fix(l10n): fix strings extraction
- handle `SOURCES` recursively, rather than spelling all the paths out;
most of them were outdated and some still missing
- let the Python script skip existing translations (in case we need to
manually add plurals)
- updated qml_en.ts as a result of these changes

Stats:
```
Updating '../../ui/i18n/qml_en.ts'...
    Found 1703 source text(s) (109 new and 1594 already existing)
    Kept 35 obsolete entries
    Same-text heuristic provided 35 translation(s)
```
2022-07-21 15:57:59 -04:00
Lukáš Tinkl 89f42c9fc3 fix(MessageContextMenuView): popup menu's fixes
- add the (Un)Mark as Untrustworthy action to the menu
- fix the placement and visuals of the (Un)Block menu item
- add a missing separator above these
- store the blocked and trust details in `d.contactDetails` and properly
  refresh it upon opening the menu
- some other smaller UI fixes to align the menu to the design

Closes #6538: Stranger's (untrustworthy) menu doesn't match the Design

Closes #6535: The stranger's card doesn't match the Design
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ddd75c8f5 fix(UserImage): fix context menu placement
previously, the context menu would be randomly placed; now the image gets
access to its context menu and allows for placing it precisely, just like
it's done in UsernameLabel
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ad23c24d7 fix(MessageView): unbreak clicking on a reply's profile image
the role name exported by the model has (likely) changed :/

`qrc:/imports/shared/views/chat/MessageView.qml:212: Error: Cannot assign [undefined] to QString`
2022-07-21 15:55:55 -04:00
Khushboo Mehta 91eb1a7969 feat(@desktop/profile): Adapt view for settings as pre new design
fixes #5725
2022-07-21 15:06:01 -04:00
Michał Cieślak d0125c86b5 fix(@desktop/chat): endless search when user has no chats or communities 2022-07-21 18:32:49 +02:00
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 2022-07-21 18:44:30 +03:00
MishkaRogachev 667db7038a fix(@desktop): StatusScrollView fixes for wallet 2022-07-21 18:44:30 +03:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close #6187
2022-07-21 18:44:30 +03:00
MishkaRogachev 0d3aed0611 fix(@desktop): Fix scrolling twitches using ScrollView amd Flickable items
Close #5781
2022-07-21 18:44:30 +03:00
Jinho Jang 1298f13fa3 Lokalise: updates 2022-07-21 15:45:26 +02:00
Khushboo Mehta 189d793b87 fix(@desktop/wallet): Multinetwork QR code sometimes doesn't update when there is only 1 network left
fixes #6496
2022-07-21 15:32:13 +02:00
Khushboo Mehta b6f16c8a47 fix(@desktop/wallet): Wallet account generation popup doesn't support tab navigation
Please not tab access for advanced view is not implemented

fixes #6388
2022-07-21 15:25:02 +02:00
Patryk Osmaczko 13cfe18665 fix(@desktop/chat): remove invalid argument from `showReplyArea`
- call arguments didn't match with prototype

fixes: #6407
2022-07-21 15:21:29 +02:00
Michał Cieślak 819d210ab8 fix(@desktop/chat): Block 'Done' btn when nickname is invalid 2022-07-20 16:52:23 -04:00
Alexandra Betouni bdfb6ff449 fix(WelcomeScreen): Updated image and margins
Closes #6021
2022-07-20 15:47:16 -04:00
Pascal Precht 95a1945bff fix: handle sync currency settings
This updates the desktop client with a newly emitted currency settings
that might originate from synchronization

Partially addresses #5201
2022-07-20 13:49:18 -04:00
Michał Cieślak 355fe7b77d fix(@desktop/onboarding): Align text on Biometrics page with design 2022-07-20 16:37:56 +02:00
Alexandra Betouni 7df5ddc1e7 fix(Wallet/SavedAddresses): updated addresses list delegate
based on new designs

Closes #6494
2022-07-20 16:54:42 +03:00
Patryk Osmaczko d68833c7a5 chore(settings): add and populate SIGNAL_LOCALE_UPDATE
task: #6416
2022-07-20 13:19:31 +02:00
Patryk Osmaczko 13a6407a75 feat(settings): introduce language model
task: #6416
2022-07-20 13:19:31 +02:00
Lukáš Tinkl 81cda65b20 chore(i18n): add some missing i18n()
+ remove one last qsTrId()
2022-07-20 11:31:15 +02:00
Khushboo Mehta 5181ed4a87 fix(@desktop): Set minimum window size to 680px.
Solves 'Receive' pop-up doesn't look good in the minimized window

fixes #6320
2022-07-20 11:20:14 +02:00
Lukáš Tinkl 7e243da180 fix(WalletHeader): align wallet section header with design
Closes #6484: Account header is different from design

Closes #6485: Account layout needs margins adjusted to match design
2022-07-20 10:22:51 +02:00
Lukáš Tinkl 8bddc64671 fix(SavedAddressesView): saved addresses header should look like designs
Closes: #6493
2022-07-20 10:22:51 +02:00
Alexandra Betouni 44df79d671 fix(CreateChatView): updated layout spacing and sizes
Closes #6452
2022-07-19 19:55:32 +03:00
Stefan 16b866ccbd chore(CPP): Enhance type safety using phantom types
Important changes:

- Converted the easy to mix strings to named types as phantom types
- Renamed `AccountDto`s to `MultiAccount` to better match the status-go
domain knowledge.
- Renamed MultiAccount to ChatOrWalletAccount to better match its multi
purpose and don't confuse with the MultiAccount domain knowledge.
- Remove libs/CMakeLists.txt

Note: Tried to use the fluent::NamedType but it doesn't work with
nlohmann_json, gave up finding why. Therefore I extracted only
the needed functionality for the simple types we use.

Updates: #6321
2022-07-19 16:56:06 +02:00
Lukáš Tinkl a130681dd5 chore(@main): unbreak minimize/fullscreen shortcuts
those need proper context
(plus some warnings fixed)
2022-07-19 15:57:37 +02:00
Lukáš Tinkl 8c2b4ed89f chore(@main): fix settings saving
do not overwrite `Qt.application.name` with the translated version;
use the appropriate `Qt.application.displayName` for the purpose
2022-07-19 15:57:37 +02:00
Lukáš Tinkl 5be18c2b1d fix(NetworkFilter): network filter UI fixes
Closes #6483: all networks button should match design

Closes #6487: networks button should display number of selected networks

Closes #6488: network tags should display icons and look like designs
2022-07-19 14:07:40 +02:00
Alexandra Betouni 7e7200b4bf fix(AppSearch): search location wasn't updating correctly
Closes #6426
2022-07-19 11:37:27 +03:00
Michał Cieślak 3e6220dc90 fix(@desktop/chat): Remove notifications section from community management 2022-07-19 00:17:49 +02:00
Stefan 1983443608 chore(CPP): Test basic functionality for wallet status-go wrapper API
Considerations

- MultiAccountStoreAccount is required for generating a new account.
  MultiAccountStoreDerivedAccounts won't be enough even that it works
  for creating initial account and login code
- Validate the understanding that `rootAccount.address` is `walletAccount.derivedFrom`

Updates: 6321
2022-07-18 17:40:59 +02:00
Lukáš Tinkl 3bfbe104a4 fix(Wallet/LeftTabView): style fixes
Fixes #6489

- fixup list items background according to design
- fix Add account button (add icon, fix font size)
2022-07-18 14:28:01 +02:00
Lukáš Tinkl 024843b8b8 fix(Wallet/LeftTabView): style fixes
Align the Wallet left section navigation bar to the design

Fixes #6479
Fixes #6480

- simplify using layouts
- fix margins/spacing
- fix font sizes and weights
2022-07-18 14:28:01 +02:00
Patryk Osmaczko eb05eb8044 chore(dialogs): extract MailserverConnectionDialog
iterates: status-im/StatusQ#760
2022-07-18 13:12:45 +02:00
Patryk Osmaczko 5aea3d26a8 chore(dialogs): adapt CommunityIntroDialog
iterates: status-im/StatusQ#760
2022-07-18 13:12:45 +02:00
Patryk Osmaczko e7ac242f6f chore(dialogs): adapt RenameGroupPopup
iterates: status-im/StatusQ#760
2022-07-18 13:12:45 +02:00
Michał Cieślak 478b46f6b5 fix(@desktop/chat): Align message field placeholder with design 2022-07-18 12:45:36 +02:00
Michał Cieślak 4f114ec513 fix(@desktop/onboarding): Remove EmptyViewPanel component 2022-07-18 11:00:57 +02:00
Michał Cieślak 78c9e82d62 fix(@desktop/onboarding): Align LoginView incorrect password msg with design 2022-07-18 10:40:12 +02:00
Noelia ee8477ae9b fix(StatusChatInput): 'Unblock' is not vertically aligned in 1-1 chat
`StatusButton` is now used correctly. There are 3 different button variations with preset heights/widths and paddings. The consumer cannot change the height without altering the expected behaviour and display of the button.

Button height is now consistent with chat input.

Fixes #6298
2022-07-18 08:46:13 +02:00
Jakub Sokołowski 9b8138a3e6
rename status-react to status-mobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-17 16:55:57 +02:00
Lukáš Tinkl 1b576a64cf fix(BackupSeedModal): fix the confirmation/final page UI
Follow up to PR #6467, just a few minor UI tweaks to align it to the
intended design
2022-07-16 03:33:35 +02:00
Lukáš Tinkl b5d82ed4b4 fix(SeedPhraseInputView): Seedphrase input requires two <TAB> presses
Fixes #6328

Make sure to update the `grid.currentIndex` before anything else; some of
the key press handlers might return early
2022-07-16 03:24:42 +02:00
Sale Djenic 73abf3a982 fix(@desktop/notifications): nothing happens after clicking on any notification
Fixes: #5935
2022-07-15 16:56:48 +02:00