Commit Graph

6221 Commits

Author SHA1 Message Date
Alex Jbanca b414a829e8 Adding qml tests to storybook
+ dummy StatusChatInput test
2022-12-08 15:31:43 +02:00
Michał Cieślak a6c3af97cf chore: bump vendor/DOtherside
to fix the creation of many temporary QNAMs
and potential UB

Closes #8683
2022-12-08 12:12:08 +01:00
Anthony Laibe 56bd8c74b8 feat(@wallet): speed up add account
fixes #8571
2022-12-08 11:21:50 +01:00
Alex Jbanca 007ed915cc Adding StatusChatInput to storybook 2022-12-08 12:09:40 +02:00
Alex Jbanca 0526dca298 Fix "The user signs up with a profile image" squish test case 2022-12-07 20:18:57 +01:00
Boris Melnik ea432f26f5 fix(reactions): Fix reactions popup
Fixes: #8425
2022-12-07 20:39:39 +03:00
Lukáš Tinkl c32dfa48be fix: CTRL+K (jump to) modal is case sensitive
make the ChannelPicker/StatusSearchListPopup search case insensitive

Fixes #8460
2022-12-07 17:10:38 +01:00
Anthony Laibe f7704c719a fix(@wallet): fix token list
there is 2 type of token list, the whole list for send modal and the
list for asset view
2022-12-07 17:02:05 +01:00
Lukáš Tinkl 9391cabcba chore: bump vendor/DOtherside
to fix the QNAM memory/fd leaks

Closes #8667
2022-12-07 10:00:22 -05:00
Pascal Precht dd0c4ab03d chore: update status-go 2022-12-07 14:50:53 +01:00
Pascal Precht 40eead1c8f refactor(communities): use ImportingHistoryArchiveMessages signal for
banner

@John-44 requested that we show the banner only for when messages are indeed
imported into the database, not necessarily already when the torrent data is being downloaded.

This commit ensures Desktop processes the newly introduced
`ImportingHistoryArchiveMessages` signal to render the banner introduced
in d5db1e6356

This needs: https://github.com/status-im/status-go/pull/2998
2022-12-07 14:29:35 +01:00
Sale Djenic 7bae51335b fix(@desktop/onboarding): `Onboarding -> Generate keys for a new keycard` - display name is not set
Fixes: #8671
2022-12-07 14:22:38 +01:00
Pascal Precht b510b33730 feat(communities): allow community import via public key
Status allows for importing communities via their private keys.

There's a requested feature that users should be able to import a community via
its public key as well.

This will behave differently as private keys won't give users ownership
of the communities. When importing via a (compressed) public key, Status
will try to fetch information about the community from the network. If it
finds such information, it'll load it into the app and create
a communitiy view from which users can then request access.

If it can't find a community or community information in the network,
the user will get a dedicated error message.

This commit also refactors the `ImportCommunityPopup` such that it uses
`StatusDialog` and updates the copy accordingly since importing via
public key is now possible as well.

Closes #8339
2022-12-07 14:18:08 +01:00
Igor Sirotin 16be01495a fix(EnsListView): Fixed message preview visibility 2022-12-07 15:59:40 +03:00
Igor Sirotin 4da18c8de7 fix(EnsListView): Fixed preferred name message preview 2022-12-07 15:59:40 +03:00
Lukáš Tinkl e13726e4af feat(SocialLinkPreview): links are too short to display even short urls
- rework the way social links are displayed/editted; we now only allow to
enter a so called "handle" and then substitute that in the final URL
template
- move the "icon" model role to NIM backend

This has several advantages:
- we display only the "handle" and don't have to elide some long URL
- we won't let users enter random URLs into their profile and spoof the
viewing part into clicking it

Additionally, make the social link "button" clickable -> navigate to the
target URL, and make the tooltip behave as "usual" (on mouse hover).
2022-12-07 12:40:58 +01:00
Boris Melnik 0a37716c7c feat(activity-center): Add details view dialog for contact requests
Fixes: #8461
2022-12-07 12:03:38 +03:00
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