Commit Graph

1659 Commits

Author SHA1 Message Date
Pascal Precht a634df9246 feat(chat): handle sync clear history messages
When histories are cleared on a paired devices, that clearance should be
synced and reflected in other paired devices as well.

This commit ensures desktop calls the correct API to clear histories,
which will then cause an implicit sync.

Partially addresses #5201
2022-06-20 12:47:29 +02:00
Pascal Precht e0c11ae261 fix(Privacy): handle sync setting for `profile-pictures-visibility`
Part of #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 882c0dcc2b fix(Privacy): handle sync setting of `show-profile-pictures-to`
There are a bunch of settings which are synced an not handled by
desktop, one of them being the `profile-pictures-show-to` setting.

This commit introduces a new `SettingsFieldDto` so we can react to
message signals that include individual setting fields that originate
from syncing.

The first setting hanlded is the one mentioned above, so a new
application signal is introduced to inform the app that there was an
update in that particular setting, so it can re-render the view.

Partially addresses #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 858caeca73 fix: handle bookmarks syncing signals properly
Bookmarks were only synced when devices were synced, but not when
bookmarks were added/removed/updated.

To account for this, there's are new messenger APIs in status-go
proposed here: https://github.com/status-im/status-go/pull/2709

Based on those APIs, desktop can now add/remove/update bookmarks and the
changes are automatically synced to other devices in real-time.
This commit also ensures that changes from other devices with regards to
bookmarks are handled and updated on the current device.

Partially addresses #5201
2022-06-20 12:01:23 +02:00
Khushboo Mehta 8d3fad8342 feat(@desktop/wallet): Multichain QR Code
Implements the new Recieve Modal with multichain functionality

closes #5735, #6057
2022-06-17 01:27:35 +05:30
Pascal Precht 56f7c52e81 fix(sync): handle syncronization of user status
This fixes a bug where the new user status set by the logged in user
would not be broadcast because the corresponding setting would prevent
status-go from doing so.

The fix is done by always enabling broadcasting the user status, then
disabling it again right after setting, in case it was set to "offline".

This commit also ensures that, when current user status updates are
broadcast, the updates are handled across paired devices in real-time.

Partially addresses #5201
2022-06-16 14:02:49 +02:00
Pascal Precht 9a926e110c fix: ensure sync community settings are handled
This adds the missing handling of community settings that are synced
when communities are created/edited etc.

Needs https://github.com/status-im/status-go/pull/2701 to function.

Partially addresses #5201
2022-06-16 13:03:07 +02:00
Boris Melnik 235046cba0 feat(settings): Add back up seed phrase banner in profile settings
Closes: #5743
2022-06-15 12:45:38 -04:00
mishkarogachev 7a14cf5640 fix(@desktop/profile): Contact requests should support a message
Close #5846
2022-06-15 11:56:05 -04:00
Boris Melnik c754cf1aaa fix(chat): Fix checking admin privilages
Closes: #6003
2022-06-15 09:52:13 -04:00
Boris Melnik 781e57e776 fix(Communities): Fix import community without chats
Closes: #5818
2022-06-14 16:18:02 -04:00
Patryk Osmaczko cdd06b05eb feat(@desktop/group-chat): remove explicit join for groups
closes: #5717
2022-06-14 15:21:56 -04:00
Khushboo Mehta 0e1357b78e fix(@desktop/wallet): Wallet balance is 0 when enabling multinetwork toggle
fixes y
2022-06-14 14:37:20 -04:00
Boris Melnik 7cacadd9be chore(experemantal_features): Remove activity center settings and enable by default
Closes: #5922
2022-06-14 13:03:51 -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
Boris Melnik bdf4656405 fix(Communities): Remove duplications of channel when category removed
Closes: #5933
2022-06-14 12:36:09 +03:00
Patryk Osmaczko 4bfebcdea2 fix(@desktop/group-chat): restore missing removeMembersFromGroupChat
Without it, removing users from the group doesn't work.
2022-06-13 09:23:59 +02:00
Patryk Osmaczko 62183cf60b chore: refactor/unify user_model and contact_model
This is first iteration. Models have been restructured and qml adapted
to the changes.

What is left to be done:
- populate new models with appropriate data (some fields were left
  default)
- use new fields in qml, use StatusMemberItem where possible
- fix all #FIXMEs introduced by this commit

iterates: #5951
2022-06-12 15:45:49 +02:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Patryk Osmaczko 326147c549 fix(@desktop/app-search): add color hash to chat icons
closes: #5459
2022-06-09 10:45:34 +02:00
Anthony Laibe 756db3f95d feat(@wallet): resolve token multi network 2022-06-06 15:38:12 +02:00
Patryk Osmaczko 6cda41e183 feat(@community): add backend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Pascal Precht b9c65be808 fix(AppNavBar): make navbar buttons render correctly again
We've introduced a regression in
9f633f0fcc
where model data for navbar buttons are malformed, which results in them being rendered
incorrectly (as letter identicons, instead of icon buttons)

The reason this was happening was because the model data for the
navbar buttons was not properly initialized due to a mixed usage of
positioned and named arguments of the `initItem()` APIs in `SectionItem`
models.

Fixes #5949
2022-06-03 10:20:07 -04:00
Sale Djenic 583f947eb6 chore(@desktop/general): unused `signals.nim` removed from backend 2022-06-03 11:58:08 +02:00
Michal Iskierko ec76d8e738 fix(@desktop/general): Application shows chat screen instead of settings screen when starting.
Fix #5839
2022-06-03 11:19:35 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +03:00
Noelia ed39690071 feat(CommunitiesPortal): Communities Portal first UI approach
Closes #4936
2022-06-02 08:24:02 -04:00
Anthony Laibe 198db8658c fix(@about): always check for update
The work was already done in the actual call, but we kept the guard.
The guard is now remove as it was useless
2022-06-01 09:54:13 +02:00
Anthony Laibe 86805a6c7d feat: add network image 2022-06-01 09:54:06 +02:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes #5522
2022-06-01 08:47:21 +02:00
Sale Djenic 78f985e484 feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Sale Djenic 698374b91c feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Stefan 7c74a0942d feat(Community/Logo): use crop control for community Logo
Note that this doesn't refactor status-go to use CroppedImage
for the community logo.

fixes: 5404
2022-05-31 19:04:49 +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
Stefan 9f633f0fcc feat(Communities/Settings): Communities banner editing
Use the generic EditCroppedImagePanel for banner cropping

- Depends on status-go IdentityImage banner extension

fixes #5118
2022-05-31 12:26:33 +03:00
Sale Djenic ca410a0e26 fix(@desktop/browser): settings -> Browser, connected dapps items do not follow figma
Fixes #5906
2022-05-31 09:13:27 +02:00
Sale Djenic 3a3b2c9dc9 fix(@desktop/wallet): show all tokens in wallet that have balance > 0
Fixes #5859
2022-05-30 17:11:51 +02:00
Sale Djenic 64882dffbe feat(@desktop/wallet): add support for Arbitrum L2
Fixes #5714
2022-05-27 14:45:29 +02:00
Sale Djenic 70e770103e feat(@desktop/profile): add ephemeral notifications
- ephemeral notifications implemented as toast messages
- old notifications added aligned with new toast messages

Fixes #5629
2022-05-26 21:27:55 +02:00
Michal Iskierko 8acb3c386a feature(desktop/general): Display mentions number on tray icon badge.
Count all mentions from all chats and communities.
Send it to notifications object.

Issue #4922
2022-05-26 14:16:00 +02:00
Anthony Laibe 21fedcbb2b feat(@wallet): aggregate token balance 2022-05-26 06:52:32 -04:00
Sale Djenic aeba272ae4 fix(@desktop/notifications): move notifications settings to `status-go`
Fixes #5649
2022-05-26 12:07:19 +02:00
Michal Iskierko 80cead9d6d fix(@desktop/chat): Fix activity center icon badge displaying
Fix #5739
2022-05-25 17:49:52 -04:00
Sale Djenic 8974d0a4df fix(@desktop/settings): crash enabling/disabling communities
- A crash was happening because of emitting signal from the Q_PROPERTY slot,
fixed now.
- Checks added to `addChat` methods that only 1:1 and group chats participate
in notifications setting exemptions.
2022-05-25 17:48:26 -04:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Michal Iskierko 595bca0294 fix(@desktop/chat): Fix 1:1 chat
Incoming messages and edited messages are shown correctly in 1:1 chat

Fix #5858
2022-05-25 14:18:56 -04:00
Richard Ramos 92d047173f fix: broadcast update when changing status
Fixes #5798
2022-05-25 14:10:30 -04:00
Boris Melnik 5967ce6ce8 fix(Communities): Open `#general` channel by default on creation
Closes: #5841
2022-05-25 14:09:59 -04:00
Sale Djenic e2cdff1a98 fix(@desktop/chat): adding a contact with chat key should not immediately open a 1 on 1 chat or should block input
Fixes #5767
2022-05-24 15:58:47 -04:00
Sale Djenic 88bbfef179 fix(@desktop/profile): changing username is not immediately updating
Fixes #5765
2022-05-24 15:57:39 -04:00