667 Commits

Author SHA1 Message Date
mprakhov
c2c9ede0f3 fix(@desktop/community): do not create a separate community module after we join opened spectated community 2023-02-01 13:09:53 +02:00
mprakhov
b7c4c7b582 refactor(@desktop/members): do not request members list each time chat/channel changed or member added/removed 2023-02-01 13:09:53 +02:00
Igor Sirotin
1523c9f2a0 feat: Added chainId to ens usernames 2023-02-01 08:23:14 +03:00
Jonathan Rainville
baea10cacf refactor(chat-model): flatten chat model to only have chat items
Fixes #5286
2023-01-30 15:36:48 -05:00
Dario Gabriel Lipicar
20733272f2 feat(@desktop/wallet): implement new collectibles view
Fixes #8810
2023-01-30 15:30:11 +01:00
Sale Djenic
841a37e930 feat(@desktop/onboarding): Lost Keycard - start using account without keycard
This commit introduces:
- `Start using account without keycard` flow

Closes: #7642
2023-01-30 13:43:10 +01:00
Pascal Precht
b00f0a80b5 Adjust import tool front-end to latest refactor
This adjust the front-end for the import tool by handling new
properties that have been added to the discord import progress signals.

Namely, the import is now done in chunks, so the progress signal
contains information about how many chunks have been processed.

This needs: https://github.com/status-im/status-go/pull/3134

Closes #9262 #9261
2023-01-30 13:28:06 +01:00
Igor Sirotin
470200a477 fix: Fixed tokens initialization. Fixed SendModal for ENS. 2023-01-30 13:52:54 +03:00
MishkaRogachev
128ac8dbd8 feat(ActivityCenter): Move AC notifications counting to status-go
Close #8074
2023-01-30 11:24:50 +04:00
Jonathan Rainville
6c1e16b72e fix(message-service): fix receiving messages from channels not loaded 2023-01-27 10:51:21 -05:00
Alexandra Betouni
8bb9da6fcc Revert "fix(StatusMessage): stickers were not aligned correctly"
This reverts commit 0fb954b640f7645e9e9947bacc9340b5285a6b1d.
2023-01-27 09:50:16 -05:00
Anthony Laibe
7744d20eb5 fix(@wallet): Fix event for transaction 2023-01-27 14:21:51 +01:00
Sale Djenic
b44fc7a842 fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (onboarding part)
- Unexpected wiping out the data during the unlock flow handled (onboarding part)
- Back button actions fixed part 2/2 (onboarding part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Sale Djenic
bf34239813 fix(@desktop/general): crash during profile keypair migration
Happens occasionally that the app crashes during the profile keypair migration flow.
It happens cause during that flow in one moment the app gets locked, cause encryption
gets changed, but some parts of the app may still try to get some data from the db (as an
action for some async event or so). That action results as the app crash. In such cases
an exception will be thrown, but it needs to be handled in functions which are doing a call.

`fetchAccounts` is guarded in this commit, cause crash was initiated there, cause it didn't
handle a call appropriately using try/catch block.
2023-01-26 09:05:57 +01:00
Sale Djenic
c43b665db3 chore(@desktop/general): map defined(macosx) to custom constant
A custom `IS_MACOS` constant introduced which represents os defined
macosx, cause for devs working on macos is easier to change a single constant
in a single place to simulate some how the app would behave in some cases on
other platforms.

For example if the dev is working on macos, it's not possible to simulate linux only or
win only features that way, but it's definitely possible to check if mac only features are
not visible on other platforms.
2023-01-26 09:05:57 +01:00
Alexandra Betouni
0fb954b640 fix(StatusMessage): stickers were not aligned correctly
Closes #8944
2023-01-25 11:42:19 -05:00
Jonathan Rainville
fdc0dce782 chore: remove public chat functionnalities
Fixes #8504

Removes the ability to create public chats, see public chats and even leaves previously active public chats
2023-01-25 10:05:55 -05:00
Richard Ramos
8d75e7dced fix: cancel mailserver requests on shutdown 2023-01-25 09:08:32 -05:00
Anthony Laibe
66c62e472f feat(@wallet): Integrate api to check service up or down 2023-01-24 11:55:35 +01:00
Dario Gabriel Lipicar
be26dc049b feat(@desktop/wallet) implement price cache 2023-01-20 08:55:10 -03:00
Dario Gabriel Lipicar
53ee992c25 feat(@desktop/wallet): implement unified currency formatting for transaction details
Fixes #9019
2023-01-20 08:55:10 -03:00
Igor Sirotin
8736dd8a94 fix: Community importing notification fixes and improvements 2023-01-20 13:15:50 +03:00
Pascal Precht
ae4d59de9a fix(Chat): ensure message context menu preserve mentions in copied messages
Because the context menu relied on `unparsedTex` it was unable to preserve the pubkey<->displayName conversion when
copying messages to the clipboard.

This commit fixes it by introducing a new `replacePubKeysWithMentions` utility
which is used when message items are initialized, resulting in `unparsedText`
to keep th`@`mentions around.

Closes #9168
2023-01-19 16:47:36 -05:00
Alex Jbanca
bf1d59c0ad perf(chatScroll): Avoid calling the backend on delegate creation/binding
Provide the needed data from the nim model directly to the delegate. This way whenever a delegate needs to display the data it doesn't need to reach the backend.

perf(chatScroll): Fix comments on Avoid calling the backend on delegate creation/binding

perf(chatScroll): Avoid calling the backend on delegate creation/binding  - add TODO comment on senderColorHash default

perf(chatScroll): merge quotedMessageAuthor details

perf(chatScroll): Fix nim tests

perf(chatScroll): Fix merge error - messages_model.nim
2023-01-19 19:24:18 +02:00
Dario Gabriel Lipicar
d11017f7b3 feat(@desktop/wallet): implement unified currency formatting in send/bridge modal
Fixes #8934
2023-01-17 16:39:56 -03:00
Patryk Osmaczko
ae55e78faf feat(chat): ignore not loaded messages
closes: #8838
2023-01-17 18:58:53 +01:00
Patryk Osmaczko
b242624c47 fix(chat/messages): use timestamp instead of whisperTimestamp
iterates: #8962
2023-01-17 16:21:25 +01:00
Pascal Precht
8644c841d4 fix(chat): make category bold if chats have unread messages
Closes #8604
2023-01-17 15:39:56 +01:00
Pascal Precht
979b035049 fix(chat): only turn available channels into clickable tags
Closes #8895
2023-01-17 13:52:16 +01:00
Pascal Precht
bf7148efd6 fix: make avatar info in replies of imported messages work again
Because we've switched to `QuotedMessage` as an attached payload to
messages to make message replies data more reliable, we lost some of
the author information in imported messages, that was available prior
to that move.

This commit introduces `quotedMessageAuthorDisplayName` and
`quotedMessageAuthorAvatar` to our model so it can be set in case
we can't retrieve contact details for a given message (which is always
the case for imported messages)
2023-01-17 12:48:56 +01:00
Dario Gabriel Lipicar
34cf8b6533 fix(@desktop/wallet): fix wrong symbol for pegged tokens 2023-01-17 13:58:17 +04:00
Dario Gabriel Lipicar
d560b1264d fix(@desktop/wallet): cache currency format
Fixes #9132
2023-01-16 15:24:27 -03:00
Sale Djenic
c16fc0d088 fix(@desktop/wallet): random app crash - from onAllTokensBuilt slot (by the log)
This commit should fix the crash we were facing with a successive import
of multiple wallet accounts. Usually happens if you migrate an account from
a Keycard into the app. But also a crash may randomly happen without any
activity.

Fixes: #9065
2023-01-13 21:02:36 +01:00
Sale Djenic
cae2a5bea3 feature(@desktop/keycard): sync a Keycard state on every usage
Closes: #8759
2023-01-13 21:02:36 +01:00
Michal Iskierko
0cd2419f59 fix(@desktop/chat): Improve installing stickers code to handle disconnected state better
Use async task to install stickers

Issue #6567
2023-01-13 12:33:08 +01:00
Khushboo Mehta
bfd5fe1446 fix(@desktop/wallet): Wallet -> Activity tab: transaction history issues
fixes #7278
2023-01-13 10:18:42 +01:00
Jonathan Rainville
c3945f33c0 feat(replies): add deleted to QuotedMessage to change msg displayed
Adds `deleted` to the QuotedMessage object so that on the frontend, we can show "Delete message" only when we know the message was deleted.
Otherwise, when we don't know the quoted message, we show "Unknown message [...]"
2023-01-12 15:18:03 -05:00
Jonathan Rainville
91c2e6d257 feat: use QuotedMessage object for replies to better show the replies
Fixes #7754
ok
2023-01-12 15:18:03 -05:00
Jonathan Rainville
c16e4fe3d2 feat(message): add replied property to message + replies act as mentions
Fixes #8324
2023-01-12 15:17:49 -05:00
Dario Gabriel Lipicar
7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Anthony Laibe
e7b746795f feat(@wallet): multi tx approval/nonce 2023-01-12 13:33:29 +01:00
Anthony Laibe
364124b1ed chore(@wallet): remove dead code about estimage gas 2023-01-07 11:11:10 +01:00
Patryk Osmaczko
ce08265e0d chore: re-enable logging in prod version
closes: #8932
2023-01-04 18:16:04 +01:00
Sale Djenic
32fcda485c feature(@desktop/keycard): migrate an exsiting account from Keycard to Status Desktop
Fixes: #7030
2023-01-04 14:24:55 +01:00
Sale Djenic
8600ef35b3 feature(@desktop/keycard): generating addresses on a Keycard
Generating addresses was done on the status-go side, but now since `ExportPublic`
flow from the keycard library supports deriving addresses for list of derivation paths
we're using it in the desktop app for `SetupNewKeycardNewSeedPhrase` flow.
2023-01-04 14:24:55 +01:00
Sale Djenic
0e65f2a7ff feature(@desktop/keycard): create a new Keycard account with a new seed phrase
Fixes: #7028
2023-01-04 14:24:55 +01:00
Sale Djenic
b81f4dd150 fix(@desktop/onboarding): refetching backed up data added 2023-01-04 11:15:58 +01:00
Sale Djenic
6b6aaf3af1 fix(@desktop/onboarding): onboarding flows for I already use Status path do not match figma requirements (2/2)
Continuation:
desktop app updated after we decided to remove 30 secs waiting time from `status-go` and introduce it
on the desktop app side.
2023-01-04 11:15:58 +01:00
Sale Djenic
19ba018a1d fix(@desktop/onboarding): onboarding flows for I already use Status path do not match figma requirements (1/2)
Profile fetching (display name and identity images) implemented on the status-go side and
integrated in the desktop app.

Signal notifying about the progress while fetching backed up data from waku implemented on
the status-go side and integrated in the desktop app.

`I already use Status -> Enter a seed phrase` and `I already use Status -> Login with Keycard`
updated so they match figma now.

Fixes: #8467
2023-01-04 11:15:58 +01:00
Anthony Laibe
2e65796a06 feat(@wallet): cbridge integration 2023-01-04 08:59:19 +01:00