Commit Graph

6154 Commits

Author SHA1 Message Date
Patryk Osmaczko 07523d2c85 chore(chat/messages): extract MessageCursor 2022-12-07 00:23:25 +01:00
Patryk Osmaczko 9601ab2668 fix(chat/messages): make initial messages load without scroll
fixes: #8602
2022-12-07 00:23:25 +01:00
Patryk Osmaczko c4525778a8 fix(chat/messages): prevent multiple same cursor fetches
It may happen `asyncLoadMoreMessagesForChat` is called many times in a
row. Previously it did not check whether there is any pending fetch for
a given chat, which resulted in many same cursors fetches from status-go.
Furthermore, in this case, `lastUsedMsgCursor` ended up with the same
value as `msgCursor` resulting in wrong state where there are no more
messages to fetch.

- Simplified message loading code by introducing MessageCursor helper
  type
- Ensured messages are not loaded twice for the same cursor

fixes: #8602
2022-12-07 00:23:25 +01:00
Igor Sirotin 3d6324ce64 Separated chats order scenarios 2022-12-06 23:42:42 +03:00
Igor Sirotin d48ea97027 Minor fixes. Feature comments. 2022-12-06 23:42:42 +03:00
Igor Sirotin a8406b9158 feat(tst_chatsNavigation): Restored chats navigation tests 2022-12-06 23:42:42 +03:00
Pascal Precht 93eaf0fdfd fix: allow whitespaces in display and nicknames
Closes #8391
2022-12-06 19:34:17 +01:00
Jonathan Rainville 2f338ecb09 fix(windows): use QML's OS notification for Windows
Fixes #4943

The custom OS notifications we have in place make it possible to click
the notification and go to the right place in the app, but it causes a
big issue in Windows; it breaks the tray icon, it becomes no longer
clickable.
The easy fix I did here is the go back to using the QML sendMessage
function. It works fine to send the notif and the tray icon keeps
working. The only downside is we lose context when clicking on the
notification, so it doesn't navigate to the chat.
IMO, this is a good tradeoff.
2022-12-06 10:04:56 -05:00
Jonathan Rainville a94750fb2d refactor(settings): make calling settings_getSocialLinks only once
Fixes #8549

That status-go call was done A LOT because we try to access our own data often and we didn't use to cache it.
2022-12-06 10:02:17 -05:00
mprakhov d60a4b0c97 fix(@desktop/chat): open 121 chat by pasting chat key of existing mutual contact 2022-12-06 15:01:09 +02:00
Boris Melnik c801c869e6 fix(communities): Break loop when cancel request was sent
Fixes: #8539
2022-12-06 15:01:08 +03:00
mprakhov 32d1d927ef fix(@desktop/chat): Hide 'no results found' when entering the chat key in start chat 2022-12-06 12:39:02 +02:00
Michal Iskierko e8764e7c06 chore(@desktop): Update status-go
Fix #7414
2022-12-06 11:14:23 +01:00
Michal Iskierko 0a4f5fa27c fix(@desktop/chat): Fix updating channel color after admin updated it.
Issue #7414
2022-12-06 11:14:23 +01:00
Anthony Laibe 5ee51ad20d feat(@test): parallelize test
fixes #8317
2022-12-06 09:28:54 +01:00
Lukáš Tinkl 995aaeccd9 chore: bump master version to 0.8.90
now that 0.8.0 is out of the door
2022-12-05 21:03:03 +01:00
Anthony Laibe 734d9361fc fix(@wallet): do not show token if not visible
fixes #8620
2022-12-05 17:33:35 +01:00
Anthony Laibe 9aaea49e2c fix(@wallet): remove dead code 2022-12-05 15:26:44 +01:00
Khushboo Mehta 779df7628b fix(@desktop/wallet): Remove gas selector for slow, optimal and fast
fixes #8516
2022-12-05 14:51:39 +01:00
Dario Gabriel Lipicar 8fd5e9d1af fix(@desktop/wallet): fix wallet account item balances
Fixes: #8582
2022-12-05 10:23:44 -03:00
Khushboo Mehta 0c7442d696 fix(@desktop/wallet): Wrong Password error should not be handled in the SendModal
fixes #8527
2022-12-05 13:59:06 +01:00
Patryk Osmaczko c3dbe66e02 fix(storybook): add missing <optional> include
- fixes build on linux
2022-12-05 13:47:40 +01:00
Khushboo Mehta 26fcb8b99f fix(@desktop/wallet): Implement missing unprefered chains
fixes #8530
2022-12-05 12:18:10 +01:00
Richard Ramos 97190ce716 fix: read fleet from nodeconfig if not available in settings 2022-12-05 11:11:30 +01:00
mprakhov 0c66b9fc2d fix(@desktop/settings): Tab content jump fix 2022-12-03 20:08:57 +02:00
Boris Melnik 5c7dc4c330 feat(messaging): Skip deleted and deletedForMe messages
Fixes: #8369
2022-12-03 21:06:58 +03:00
Tanguy 366a006c4c Change 😄 alias 2022-12-03 11:10:58 +01:00
Sale Djenic 8aa36068a0 fix(@desktop/keycard): modal title edits and migrate flow
- 01: Keycard settings menu labelling - fixed in this commit
- 02: Modal title renaming - not developed yet
- 03: Additional decision diamond and flow - not developed yet
- 04: Modal title renaming - not developed yet
- 05: Modal title renaming - done in issue #7035
- 06: Copy change - fixed in this commit

Fixes: #8458
2022-12-02 19:04:24 +01:00
Jonathan Rainville 2276706fd8 fix(network_constants): fix torrent port clash by adding PORT_SHIFT
Fixes #8553

The torrent port was clashing with the release app since both of them have it on by default now. That was causing the messenger to fail on start.
This new PORT_SHIFT env var can be used to shift the port of the torrent service and wakuV2. No more need to use WAKUV2_PORT.
we can also add more ports that need shifting.
This enables opening multiple instances of the app very easily. Just increase PORT_SHIFT by one
2022-12-02 11:47:58 -05:00
Sale Djenic 49da859947 feat(@desktop/keycard): create a backup copy of a Keycard
Fixes: #7035
2022-12-02 17:26:06 +01:00
Sale Djenic 6beb654d0e chore(@desktop/keycard): new assets added
- images necessary for creating remove keycard animation added
2022-12-02 17:26:06 +01:00
Sale Djenic 66c465713c chore(@desktop/keycard): point to new kc lib
- introduces `instance-uid` for all flows
- mnemonic length updated so it supports float and int
2022-12-02 17:26:06 +01:00
Sale Djenic c64d5560a6 refactor(@desktop/keycard): `remainingAttempts` introduced as new prop, instead of using `keycardData` prop 2022-12-02 17:26:06 +01:00
Sale Djenic 192b5426b2 refactor(@desktop/keycard): `state_factory` splitted in two more files
Old `state_factory` logic is splitted in two more files. Now it represents only
an interface, but implementation logic is placed in the following two files:
- `state_factory_general_implementation.nim`
- `state_factory_state_implementation.nim`
2022-12-02 17:26:06 +01:00
Lukáš Tinkl 271ccbb820 fix(settings): open links in external browser
remove the dialog that asks users if they would like to open a link in
Status Desktop's browser and always open them in the user's external
browser

Fixes #8568
2022-12-02 16:24:58 +01:00
Richard Ramos 7261c78650 fix: display an error if StartMessenger fails 2022-12-02 11:07:40 -04:00
Michał Cieślak 4d5ef972bf fix(InviteFriendsToCommunityPopup): proper spacing when searching
Closes: #7707
2022-12-02 13:38:57 +01:00
Michał Cieślak 55668f160c chore(Storybook): page for ContactsListAndSearch added 2022-12-02 13:38:57 +01:00
Anthony Laibe 1e086de456 feat(@wallet): move timer to status-go 2022-12-02 11:28:47 +01:00
Anthony Laibe 1238e91b09 feat: add wallet token integration 2022-12-02 11:28:47 +01:00
MishkaRogachev 5d9d9a8f2a Fix(ActivityCenter): Fix reply badge text eliding
Close #8526
2022-12-02 14:02:42 +04:00
Anthony Laibe 0d217c0db0 feat: add wallet token integration 2022-12-02 10:17:47 +01:00
Igor Sirotin e3bfdc0f09 fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
Lukáš Tinkl f49190e47b chore: trim down PNG size with optipng
- reduce the file size by about 5%-20% w/o any change in visual quality
- profile_fetching_* images replaced by the resolution we need;
originally it was 1700x1700 and about 4MB each(!)
2022-12-02 01:34:01 +01:00
Khushboo Mehta 13ab93297e fix(@desktop/wallet): Fix routing lines in SendModal Advanced view
fixes #8515
2022-12-01 21:20:15 +01:00
Pascal Precht d5db1e6356 Add banner that indicates history archive downloads are in progress
This needs: https://github.com/status-im/status-go/pull/2995
2022-12-01 18:01:27 +01:00
Khushboo Mehta 9ded9d4ffa feat(@deaktop/wallet): Add bridge view
fixes #8236
2022-12-01 17:15:55 +01:00
mprakhov 75b5a583dd fix(@desktop/chat): Pending request disappear from the contacts list when blocked and unblocked 2022-12-01 17:52:48 +02:00
Lukáš Tinkl 9559789030 chore: reduce the number of (verification) RPC calls
- when calling `Utils.getColorHashAsJson()` we don't actually need to
issue ID verification requests at all and there might be situations when
we know beforehand that we don't need the ENS verification either
- change these helper functions' syntax and do early returns in that case
- in MessageContextMenuView, the "contact details" were duplicated, so
remove one
- remove dead code, fix some warnings
2022-12-01 16:50:23 +01:00
Michał Cieślak 45774e66af fix(ProfileBioSocialsPanel): binding loops fixed
Closes: #8536
2022-12-01 16:48:16 +01:00