Commit Graph

219 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
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
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 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
Khushboo Mehta 35a5ab57f0 feat(@desktop/wallet): Implement the advanced/custom view with simple same network transfers
fixes #6268
2022-07-14 16:28:38 +02:00
Noelia 47897f431f fix(Chat/ReactionDialog): The reaction dialog is shown in different places
Changed x and y assignment trigger to get the correct value once the position depends on the own popup height.

Fixes #6264
2022-07-13 10:55:12 +02:00
Lukáš Tinkl c14ff47af8 fix(ProfilePopup): fix chatkey and contact icons in the header
Fixes #6396
Fixes #6398

- fix displaying the chatkey and the copy button next to it using layouts
- hide the mutual contact and verified contact icons in case of My
profile
2022-07-12 09:40:20 +02:00
Lukáš Tinkl ebff2538fa fix: add forgotten qsTr() 2022-07-12 09:40:20 +02:00
MishkaRogachev 1cca25e08d feat(chat): Message display several images
Close #4905
2022-07-11 17:41:47 +03:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
MishkaRogachev 167cb9e63f Fix(Chat): Reset MessageContextMenuView state on close
Close #5289
2022-07-11 11:39:59 +03:00
Pascal Precht 51b661386a refactor: always request access to join community
We no longer send community invites to users, instead we just share the
community and let users request access.

That request will either be automatically or manually accepted by the owner/admin.

Depends on https://github.com/status-im/status-go/pull/2682

Closes #5115
2022-07-08 13:18:37 +02:00
Lukáš Tinkl f798d6d0e6 fix(profile): the profile image is blurred in different places
Closes #6295

- use the recently introduced `profileLargeImage` property for bigger user
images
- fix some QML(lint) warnings
2022-07-08 09:40:22 +02:00
Jonathan Rainville f5d2d9d0ac fix(MessageView): slow chat switching because of height recalculation 2022-07-06 14:05:06 -04:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Patryk Osmaczko 0e3c20fb22 chore: remove duplication 2022-07-05 17:10:15 +02:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
Khushboo Mehta e6f809b921 feat(@desktop/wallet): Using Floating Buttons in the Send Modal
fixes #6228
2022-07-04 15:28:35 +02:00
Igor Sirotin 36a079aea8 fix(icons): Updated arrow icons 2022-07-01 17:43:13 +04:00
Igor Sirotin eb7fa5be8b fix(ChatButtonsPanel): Added pin/unpin and delete buttons 2022-07-01 12:59:03 +04:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Khushboo Mehta 6deb900ac5 hotfix(@desktop/chat): Removed the condition that was causing the chat highlight animation to run each time it was visible 2022-06-29 14:18:40 -04:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00
Jonathan Rainville 8c1024354e fix(CompactMessage): fix message height and spacing
Fixes #6169
2022-06-22 16:45:57 -04:00
Sale Djenic 60ed62231e fix(@desktop/wallet): estimated time for transaction is always Unknown
Fixes #5938
2022-06-22 16:02:25 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Jonathan Rainville 9ebe9ec2c5 fix: fix blurry chat identifier and expose large image in contact proc
Fixes #6190
2022-06-22 15:33:11 -04:00
Anthony Laibe 2112135c6f fix(@communities): remove totally the toggle for experimental feature
fixes #6175
2022-06-21 12:12:09 -04:00
Anthony Laibe c2555a7650 fix(@chat): handle image placeholder
fixes #5934

Mobile still send the placeholder so we need to handle this case
manually by removing text if this is exactly equal to the placeholder
2022-06-21 11:35:23 -04:00
Sale Djenic 3aba152206 fix(@desktop/general): multiple ui issues fixed
- Channel is blank on first time joining - fixes: #6131
- Contacts list is empty when trying to invite/share community - fixes: #6139
- The same name is shown for all invited contacts - fixes: #6105
- The names and avatars of contacts are empty in the Contact requests - fixes: #6084
- 'Invite friends' dialog doesn't look good in the minimized app mode - fixes: #6106
2022-06-21 16:16:55 +02:00
Noelia b039e9d67d fix(Chat): The text and emoji are not vertically aligned in the chat message
Added top margin in message text.
Fixes #5953
2022-06-15 12:56:58 -04:00
Patryk Osmaczko 6743bee1aa fix(@desktop/chat): extract chat menu items
It removes duplication and unifies menu items across the app.

fixes: #5985
2022-06-15 12:56:32 -04:00
Igor Sirotin 1870e9a0ce fix: Moved `StatusTabButton` to StatusQ 2022-06-15 12:23:19 -04:00
Patryk Osmaczko cdd06b05eb feat(@desktop/group-chat): remove explicit join for groups
closes: #5717
2022-06-14 15:21:56 -04:00
Boris Melnik d8b00bef02 fix(Chat): Messages with GIF not display the url
Closes: #6005
2022-06-14 14:32:11 -04:00
Boris Melnik d6cc1ed1ab chore(experemantal_features): Remove community settings and enable it by default
Part of: #5922
2022-06-14 13:03:51 -04:00
Noelia 16dec86cef fix(Community/InvitationBubble): Community invitation doesn't look good
Bubble redesign by using `ColumnLayout`.

Fixes #5987
2022-06-13 13:17:53 +02:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Patryk Osmaczko c07a2feca7 chore(@community/settings): address PR suggestions 2022-06-04 12:00:11 +02:00
Patryk Osmaczko 51eefad5e5 feat(@community): add frontend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +03:00
Anthony Laibe e7dff15a97 fix(@wallet): send modal in browser/wallet
fixes #5937

The send modal reuse the asset list so it needs to be fully populated
with all token, but the token is only visible if the balance > 0
2022-05-31 14:57:37 +02:00
Boris Melnik 1f5de11069 fix(onboarding): Add checking passwords to new password input
Closes: #5834
2022-05-26 06:57:27 -04:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Alexandra Betouni 198da4fdc6 fix(CreatePassword): evaluation added on text changed
Closes #5734
2022-05-23 18:43:56 +03:00
Anthony Laibe 7c5114cf1d fix(@community): invite contact renamed to mutual contact
fixes #5799
2022-05-20 09:33:19 +02:00
Pascal Precht 8c496e0505 feat(CommunitySettings): add checkbox to allow members to pin messages
This adds a checkbox to configure whether or not community members are
allowed to pin any message of a community channel, based on the newly
introduced `CommunityAdminSettings` that are introduced in https://github.com/status-im/status-go/pull/2668

Closes #5662
2022-05-19 14:53:40 +02:00
Alexandra Betouni 6a8fa13b62 fix(ChatMessage): hide "edit" option when right click on sticker
Closes #5766
2022-05-19 14:45:52 +03:00
Anthony Laibe c673f8302a fix(@chat): only show reaction to emoji right click
fixes #5764
2022-05-19 13:26:23 +02:00
Anthony Laibe 6830a02248 fix(@chat): image don t overlap placeholder
* fix overlap
* remove placeholder text
2022-05-17 12:25:01 -04:00
mishkarogachev c04b9a937d fix(@desktop/onboarding): Password strength indicator fixes for 10-chars
Close #5702
2022-05-13 14:10:28 -04:00
Igor Sirotin 993499567b fix(@chat): Fixed blurry emojis 2022-05-13 14:03:50 -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
Patryk Osmaczko f59f0f69c5 fix(@desktop/chat): fix identicon in transaction preview
fixes: #5477
2022-05-12 14:07:41 -04:00
Noelia 2154626a5b feat(Language&Currency): Add Date & Time Format
Added Date & Time selectors in `Language & Currency" screen.

Added new properties in `local_app_settings` to set the date and time format.

Created all the chain from view to service to update date and time format.

Added date and time format functions in `Utils`.

Updated `FetchMoreMessagesButton`, `ChatTimePanel`,  `AppSearch`, `TransactionBubbleView` and `TransactionDelegate` date and time text depending on the selected format.

Closes #5386
2022-05-12 18:42:06 +02:00
mishkarogachev 7b45ce60a7 fix(@desktop/chat): Show text for messages with gif image
Close #5434
2022-05-12 12:28:41 -04:00
Anthony Laibe 12cb76699c fix(@chat): move cursor to the end when edit message
fixes #5546
2022-05-12 13:36:15 +02: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
Anthony Laibe 630c2359d2 fix(@chat): unfurl twitter
fixes #5603
2022-05-10 16:20:48 -04: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 cf221eb06e fix(Chat): Add emoji popup to edit message input
Closes: #5527
2022-04-18 13:59:46 +03:00
Sale Djenic 9c9d633065 fix(@desktop/activity-center): mentions and replies in the activity centre does not display community icon
Fixes #5302
2022-04-12 20:08:33 +02:00
Khushboo Mehta e213c07521 fix(@desktop/wallet): Send modal has a big space when created addresses section is empty
fixes #5472
2022-04-11 17:58:05 -04:00
Patryk Osmaczko 58d1319946 fix(@desktop): unify user avatar fallback color
issue: #5358
2022-04-08 14:04:21 -04:00
Khushboo Mehta d90ea666f2 fix(@desktop/wallet): To field is not showing address in wallet
fixes #5447
2022-04-08 17:36:09 +02:00
Alexandra Betouni d0701e900c fix(InviteFriendsToCommunityPopup): fixed popup height issues
Closes #5362
2022-04-07 12:23:27 -04:00
Michal Iskierko d38e8073bf fix(desktop/chat): Display sticker correctly in replied message.
Fix #5266
2022-04-07 11:45:51 -04:00
Boris Melnik dfa5b17275 fix(PasswordView): Fix typo
Closes: #5316
2022-04-07 10:08:52 -04:00
Anthony Laibe f18e09769a fix(@wallet): Show error message when token is not found
fixes #5278
2022-04-06 12:39:05 +02:00
Patryk Osmaczko 08caca2a60 fix(@desktop): use identicon ring/letter instead of identicon
fixes: #5149
2022-04-04 17:50:48 +02:00
Patryk Osmaczko 25c6a5f5ca chore(@desktop): remove identicon related code 2022-04-04 17:50:48 +02:00
Sale Djenic 57fb0882aa fix(@desktop/chat): contact lists should only shown mutual contacts
Fixes #5117
2022-04-01 14:00:21 +02:00
Khushboo Mehta 4b9b93a873 fix(@desktop/chat): Downlaoding/Copying an image from chat crashes the app
The issue was caused because the data being passed to the UI is now a URL and not image data.

Added support to download/copy image by URL

fixes #5194
2022-03-30 10:06:52 +02:00
Anthony Laibe 696e8aba29 fix(@browser): shared assets/history view
fixes #5129
2022-03-29 12:48:04 +01:00
Alexandra Betouni dcab50fe09 feat(onboarding): ading create new keys screens
Closes #4956
2022-03-29 00:47:24 +03:00
Khushboo Mehta 0903fa6ce2 feat(@desktop/wallet): Adapt to new SendModal Design
fixes #5040
2022-03-28 13:08:56 -04:00
Jonathan Rainville 43e58e357c feat(community): add emoji for channel header and identifier as well 2022-03-23 09:56:30 -04:00
Jonathan Rainville 738a3ba93e feat(profile): re-design Contacts setting view
Fixes #5004
2022-03-18 11:37:26 -04:00
Jonathan Rainville e1b7475884 feat(profile): add Messaging settings view in profile
Fixes #4931
2022-03-17 14:59:45 -04:00
Patryk Osmaczko e130953634 feat(@desktop): use emoji hash and identicon ring
Closes: #4782
2022-03-16 18:34:57 +01:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes #4781
2022-03-11 14:31:51 -05:00
Sale Djenic 9821e160c1 fix(@dekstop/chat): editing a message does not update the reply
Fixes #4891
2022-03-11 14:44:44 +01:00
Michal Iskierko 4fa5aa5de4 fix(desktop/chat): Do not display "Send message" to logged-in user
Fixes #4907
2022-03-10 16:51:57 -05:00
Richard Ramos 3c7779305b feat: move stickers business logic to status-go 2022-03-09 12:16:42 -04:00
Jonathan Rainville 68a4498d11 feat(privacy): reimplement show only contact pfp using status-go setting
Fixes #4900
2022-03-08 15:50:15 -05:00
Jonathan Rainville be9d2f94e2 feat: enable emojis as channel icons
Fixes #4809
2022-03-08 15:15:25 -05:00
Iuri Matias 5937c7d3aa chore: update applayout imports 2022-03-08 14:02:24 -05:00
Alexandra Betouni c2977e468f feat(onboarding): Added SplashScreen
- Added SplashScreen as initial screen before
onboard as per new designs.
- Also moved all onboarding related code from
main to onboarding section and switched to
import this and all other sections as
qml modules, exposing this way only
necessary files.
- Cleaned up unecessary qmldir files and
imports.

Closes #4954
2022-03-08 14:02:24 -05:00
Sale Djenic d0e0df1e3b fix(@dekstop/chat): clicking on `enable in settings` redirects to network settings
Fixes #4890
2022-02-25 12:11:57 -05:00
Sale Djenic 40d10b0cbb fix(@dekstop/chat): timestamp for `Fetch messages` is wrong
Fixes #4850
2022-02-25 12:11:26 -05:00
Khushboo Mehta ec9a359a28 fix(@desktop/wallet): Sign transaction accepts incorrect password
Async methods for send transaction is not impolemented yet and this is a fix until the proper flow is implemented.
Also resolves the same issue observed in chat section.

fixes #4821
2022-02-25 11:58:15 -05:00
Jonathan Rainville 3985272037 fix(invitation): fix community invite not showing in 1-1 chats
Fixes #4851
2022-02-24 10:58:26 -05:00