Commit Graph

1174 Commits

Author SHA1 Message Date
Lukáš Tinkl a62e5cc223 fix: profile preview doesn't show entire profile
rectifies one of the StatusScrollView behavior changes done recently

Fixes #9519
2023-02-10 15:52:10 +02:00
Stefan 2bc8fa1236 fix(tests): The user can manage and observe a watch only account
- The user imports a private key
- The user generates a new account from wallet and deletes it
2023-02-10 10:16:27 +01:00
Stefan 505f6d59bf fix(wallet) SendModal layout
StatusScrollView was missing a height hint so even that it was expanding
the parent layout didn't know how much to allow it.
2023-02-10 10:15:53 +01:00
Stefan 3a08ebec4e fix(wallet): some of SendModal's broken windows
- fix high level mixed and broken sizing due to missing a consistent
layouting strategy
- fix first selection. The floating header was covering and tried to
force StatusListView to account for it but nothing I tried worked
    - moved header outside the StatisListView (a good example of control
    want to to be doing too many things)
- fixed background color of the TokenListView
- fix tags occluding selection of token

Closes: #9282
2023-02-10 10:15:03 +01:00
Lukáš Tinkl f5d6c538c2 chore: consolidate & refactor popup handling
- all remaining global popup components moved into a separate Popups
entity
- removed some static objects from the Global singleton (appMain,
pinnedMessagesPopup, communityProfilePopup, sounds); rationale:
singletons should not contain any state
- fixed support for popups in storybook
- fixed some warnings (most of them broke the popups in one way or the other)
2023-02-09 15:01:57 +01:00
Michał Cieślak 940d8cd2c0 chore(general): Move RXValidator to StatusQ 2023-02-09 12:48:11 +01:00
Michał Cieślak f43c3e2f2b chore(general): Move StatusSyntaxHighlighter to StatusQ, remove mock from Storybook 2023-02-09 12:48:11 +01:00
Michał Cieślak 8f25b93f96 chore(general): Move QClipboardProxy to StatusQ 2023-02-09 12:48:11 +01:00
Jonathan Rainville f8ecd9dbce refactor(chat): make getChats async to speed up start time
Fixes #9340
2023-02-08 16:18:44 -05:00
Khushboo Mehta 0d369129d5 feat(@desktop/wallet): Implement loading state for Send/Bridge Modal
fixes #9107
2023-02-08 11:44:22 +01:00
Khushboo Mehta 9e23f78180 feat(@desktop/wallet): Implement loading state for collectibles
fixes #9106
2023-02-08 09:25:04 +01:00
Anthony Laibe 5cc6ad194f fix(@wallet): no tx found
fixes #9320
2023-02-03 15:33:13 +01:00
Alexandra Betouni b037d724ed fix(StatusMessage): updated GIFs behavior
Closes #7518
2023-02-03 16:31:56 +02:00
Sale Djenic 224fd3f42d fix(@desktop/general): invalid pin saved to keychain when enabling biometrics on account using keycard
Fixes: #7729
2023-02-03 10:55:22 +01:00
Alexandra Betouni 1793844cdb fix(StatusMessage): stickers were not aligned correctly 2023-02-02 19:29:59 +02:00
Michał Cieślak 05b6420f83 fix(Tracer): Set high z order to avoid overlapping
In some cases, when used inside Dialog and layout, tracer
was located under other components and was therefore invisible.
2023-02-02 13:23:22 +01:00
Alex Jbanca 81a4d70932 chore(Qt5.15): Fix qml warnings after qt 5.15 migration
Fixing QML Connections warnings due to deprecated onFoo handlers. Now we're using function onFoo(params).
Fixing QML compilation error due to js filename format.
Fixing cyclic dependencies between qml components.
2023-01-31 20:39:19 +02:00
Alexandra Betouni 9a2ffc0fc7 Fix(desktopapp): adding scrollview to storybook
Cleaned up binding loop warnings related to
ScrollView and added StatusScrollView in
storybook

As part of #8864
2023-01-31 18:45:51 +02:00
Khushboo Mehta dfcba80df2 fix(@desktop/wallet): Added missing LoadingGraphComponent in qmldir 2023-01-31 11:20:28 +01:00
Khushboo Mehta 169de5b5e1 feat(@desktop/wallet): Add loading State for Assets view and Wallet main navigation page 2023-01-31 07:57:37 +01: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
mprakhov 44cc6bbf83 fix(@desktop/communities): enforce alphanumerical characters in community name, description, channel name 2023-01-30 20:51:31 +02:00
Lukáš Tinkl fbd936d151 fix: unbreak ModuleWarning banners
they stopped appearing after the introduction of `localAppSettings.testEnvironment`
2023-01-30 09:43:55 -05:00
Sale Djenic bc7a4b94f7 feat(@desktop/keycard): `unlocking` screen for unlock flow
Closes: #9259
2023-01-30 13:43:10 +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
Igor Sirotin 470200a477 fix: Fixed tokens initialization. Fixed SendModal for ENS. 2023-01-30 13:52:54 +03:00
MishkaRogachev 5ff4c35bf0 feat(appMain): Add warning colors. Use warning color for story node banner 2023-01-30 12:40:31 +04:00
Lukáš Tinkl 7ed5b0d0d6 fix(chat): Download image is saving to wrong folder
- fetch latest dotherside for the fix
- minor cleanup

Fixes #9307
2023-01-28 17:44:23 +01:00
Jonathan Rainville 7a3a984fa4 test(env-var): add TEST_ENVIRONMENT env var for test specific changes
Fixes #9210

Adds the `TEST_ENVIRONMENT` that stops banners from showing and touch id to be activated (needs to be tested by someone on Mac).

Also improves the waiting time on verifying screens. Will undo that change if it becomes flaky.

To make sure your local tests still work well and hide the banner as well, make sure to put `TEST_ENVIRONMENT=1` in the suite settings' env vars
2023-01-27 11:26:41 -05:00
Alexandra Betouni 8bb9da6fcc Revert "fix(StatusMessage): stickers were not aligned correctly"
This reverts commit 0fb954b640.
2023-01-27 09:50:16 -05:00
Anthony Laibe 64d6c484b2 fix(@wallet): fix amount input send modal
fixes #9207
2023-01-27 11:47:52 +01:00
Ivan Belyakov e3086fd52c chore: Removed duplicated AddEditSavedAddressPopup.qml, fixed dependencies
fixes #8229
2023-01-27 05:57:55 +03:00
Lukáš Tinkl 9cb850f67f fix(StatusChatInput): don't insert control characters
@mentions have a special `onRelease()` key handler that makes sure a
space is inserted around the mention when needed. Fix the `onRelease()`
handler to prevent control or otherwise unprintable characters being
inserted as text.

Fixes: #7685
2023-01-26 13:31:06 +01:00
Lukáš Tinkl 9eb515e3e3 chore(StatusChatInput): fixup indentation 2023-01-26 13:31:06 +01:00
Lukáš Tinkl 878a7ba657 fix(MessageContextMenuView): "Copy message" action visible in emoji reactions and profile clicks
Fixes #9295
2023-01-26 10:57:06 +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
Lukáš Tinkl 8569ea5b41 chore: Optimize StatusMessageReply using more Loaders
also fix the sender display name to respect ensName/nickname

Fixes: #9016
2023-01-25 19:58:19 +01:00
Lukáš Tinkl a55a207bb2 fix: user display name discrepancies
restore taking local nickname into account in various places
2023-01-25 19:58:19 +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
Sale Djenic 3ca03bdd49 feat(@desktop/onboarding): `Lost Keycard` - `Create replacement Keycard with seed phrase` flow
This commit introduces:
- `Create replacement Keycard with seed phrase` flow
- `Order new keycard` option

Closes: #7641
2023-01-23 18:02:44 +01:00
Alexandra Betouni 7f2563edf4 fix(message): removed extra markup when typing before mention
Closes #8495
2023-01-23 16:17:36 +02:00
Michał Cieślak a6dc4e9011 fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput 2023-01-20 14:00:02 +01: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
Alex Jbanca 27bb6bf665 perf(chatScroll): Optimize StatusTextMessage size and hover binding for the delegate 2023-01-19 19:24:18 +02:00
Alex Jbanca 6c76026d53 perf(chatScroll): Use Qt.callLater to release the main thread when parsing and loading links data
perf(chatScroll): Undo Use Qt.callLater to release the main thread

perf(chatScroll): Undo Use Qt.callLater to release the main thread
2023-01-19 19:24:18 +02:00
Alex Jbanca 4e3e245675 perf(chatScroll): Fix connection warnings 2023-01-19 19:24:18 +02:00
Alex Jbanca 719e0a34f6 perf(chatScroll): Optimise timestamps
The date parsing is time consuming and it needs to be used with care in the delegate

perf(chatScroll): Fix StatusDateGroupLabel comment - standaloneMonthName

perf(chatScroll): fix comments on Optimise timestamps

perf(chatScroll): Optimise timestamps - bring back comment

perf(chatScroll): fix activity notification
2023-01-19 19:24:18 +02: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
MishkaRogachev 2890fe5845 hotfix(ActivityCenter): Fix warnings and text align with messageBadge 2023-01-18 18:01:56 +04:00
Dario Gabriel Lipicar a6afdb5266 fix(@desktop): use system locale across the application 2023-01-17 16:39:56 -03: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
Lukáš Tinkl b2328d6643 chore: Consolidate date/time formatting
- simplify locale settings
- extract/fix datetime related functions into LocaleUtils
- port code to the new LocaleUtils

Closes #7230
2023-01-17 16:42:34 +01:00
Lukáš Tinkl b981f31591 chore: remove dead files 2023-01-17 16:42:34 +01:00
Sale Djenic 25944f8928 feat(@desktop/onboarding): weird menu order on app login
Fixes: #9135
2023-01-17 15:29:08 +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
MishkaRogachev 2359dfe6a3 feat(Profile): Add SimplifiedMessageView for AC and verifiaction popups 2023-01-17 12:21:25 +04:00
MishkaRogachev 1717a03a94 fix(ContactVerificationRequestPopup): Fix overlapping messages
Close #9002 and #8950
2023-01-17 12:21:25 +04:00
Alex Jbanca b591254782 fix(MessageView): Fixing Add reaction popup regressions
The popup parent was being destroyed after popup creation.
2023-01-17 09:13:41 +02:00
Sale Djenic 368fa21b1a feat(@desktop/onboarding): onboarding - recover account flow - UI adjustments
Closes: #9120
2023-01-16 23:01:42 +01:00
Alex Jbanca d07136481c perf(chatScroll): Adding signals for chat settings in MessageStore
perf(chatScroll): Fix comment
2023-01-16 10:26:53 -05:00
Sale Djenic cae2a5bea3 feature(@desktop/keycard): sync a Keycard state on every usage
Closes: #8759
2023-01-13 21:02:36 +01:00
Igor Sirotin 93c90b8436 Terminal fix(MessageView): Fix calculating `isExpired` value 2023-01-13 19:57:26 +03:00
Dario Gabriel Lipicar ac7b322ee7 fix(@desktop): fix AmountInput locale
Fixes #9103
2023-01-13 09:59:14 -03: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
Alex Jbanca 8cb4420d49 perf(chatScroll): Create message quick context items only when message row is hovered 2023-01-13 11:13:42 +02:00
Pascal Precht c26035e245 fix(StatusChatInput): turn off reply mode after replying with gif message
Closes #8638
2023-01-13 09:03:02 +01:00
Jonathan Rainville af0c9767d1 feat(context-menu): add Copy message action in message context menu
Adds the action to copy the right-clicked message's text.

It copies the unparsed text (no html).
For that, I had to add it in the MessageItem and expose it in the model.

I also fixed the copy MessageId action that didn't show + didn't work even if it would have shown.

Plus some small cleanups.
2023-01-12 16:15:17 -05: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
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Noelia 5e2fa14cd6 fix(Community Permissions): Update change detected buttons labels according to the new design
Exposed new properties in `SettingsDirtyToastMessage` to customise buttons texts.
Exposed new properties in `SettingsPageLayout` to customise dirty toast buttons texts.

Fixes #9046
2023-01-12 13:37:49 +01:00
Anthony Laibe e7b746795f feat(@wallet): multi tx approval/nonce 2023-01-12 13:33:29 +01:00
Alexandra Betouni 985ef830df fix(StatusChatInput): fixed paste action doesn't work
Closes #7600
2023-01-12 11:24:01 +02:00
Jonathan Rainville 3a542cacf8 fix(StatusStickersPopup): fix stick pack list not scrollable
Fixes #8989
2023-01-11 16:20:19 -05:00
mprakhov 52d336b5a6 fix(@desktop/chat): allow to send attached image without text input 2023-01-11 18:27:31 +02:00
Patryk Osmaczko 2aef1c887e fix(chat/community): size CommunityIntroDialog content properly
fixes: #8334
2023-01-10 16:51:55 +01:00
Lukáš Tinkl 6f1ecb9c8c fix(StatusChatInput): improve code highlighting in code snippet/blocks
- make the bg/fg color follow our current Style/Theme colors

Fixes: #8649
2023-01-10 15:21:45 +01:00
Lukáš Tinkl 9e396f7344 chore: refactor/improve/optimize StatusMessage & friends
- drop dead code
- reduce number of direct bindings
- use Loaders whenever possible

Fixes #8744
2023-01-10 10:55:53 +01:00
Sale Djenic 4fb18e7cac fix(@desktop/onboarding): an issue handling date on Ubuntu fixed
It seems that `new Date` with only minutes set on Ubuntu generates different
datetime then on Mac.
2023-01-10 09:37:46 +01:00
Lukáš Tinkl db97fbf3eb fix(StatusChatInput): return correct mention suggestions
- follow the order of properties that `ProfileUtils.displayName()` uses
elsewhere in the application
- prefer nickname or ensName over displayName if the user has them

Fixes: #8691
2023-01-09 16:41:51 +01:00
Anthony Laibe 364124b1ed chore(@wallet): remove dead code about estimage gas 2023-01-07 11:11:10 +01:00
Lukáš Tinkl f6355dc4a6 fix(StatusBaseInput): No padding for input fields
- make the left/right padding and internal spacing consistent with the
Figma design

- the padding itself got broken by a behavior-incompatible change introduced in
17aaec2d53 (diff-451194c72ab50ea2586b6f1d6521b81d9a93206069788117326788be28b638fd);
this change is however correct but we can no longer rely on the
implementation detail that used to "reset" the left/right padding to its
default value when we set  `leftPadding: 0`

Fixes #8910
2023-01-06 00:59:42 +01:00
Jonathan Rainville 67e0df17e1 test(contact): add a test that sends a contact request from the chat
Fixes #6883
2023-01-05 15:21:38 -05:00
Lukáš Tinkl e947f81cd2 fix: Chat input: can't send html text from the clipboard
We always take the plain text from the clipboard but even the plaintext
can contain HTML tags, so escape those and wrap the result in a `<div
style='white-space: pre-wrap'>foo</div>` container. That way we preserve
not only the linebreaks but also any whitespace or tags.

Fixes #8919
2023-01-05 12:32:53 +01:00
Jonathan Rainville 29450d34a7 feat(admin): enable admins to delete messages from other users
Fixes #8869
2023-01-04 11:12:47 -05:00
Alexandra Betouni ba811acc27 fix(improvements): remove console warnings pt1
Closes #7959
2023-01-04 17:28:59 +02: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 1bc9deef47 chore(@desktop/keycard): `keyPairForAuthentication` replaced by `keyPairForProcessing` 2023-01-04 14:24:55 +01:00
Sale Djenic b2cb263d68 feature(@desktop/keycard): import or restore a Keycard via a seed phrase
Fixes: #7029
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 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
Sale Djenic 9d382b1c81 fix(storybook): profile fetching updated
Profile fetching page, which is part of onboarding flow, is updated so it matches
the latest figma changes now.
2023-01-04 11:15:58 +01:00
Khushboo Mehta 5f55cd2be9 feat(@desktop/wallet): Update the token selector in SendModal
fixes #8713
2023-01-03 09:33:20 +01:00
Khushboo Mehta eb2ec7c1af feat(@desktop/wallet): Update network card and routing lines in SendModal
fixes #8714
2023-01-02 15:36:26 +01:00
MishkaRogachev f70ccfc17d fix(ActivityCenter): Add identity verification AC notifications 2022-12-30 12:13:42 +04:00
mprakhov e1f60c9ed0 fix(@desktop/contact): Message from the Contacts Request is not displayed correctly in the chat after the request was accepted 2022-12-29 17:04:46 +02:00
Alex Jbanca 94b911a986 fix(messagesView): Increase spacing between chat messages
Added padding between messages as specified in Figma:
topPadding - 8 if the current message has header, 2 otherwise
bottomPadding - 8 if both current and next message have header, 2 otherwise
2022-12-23 16:46:33 +02:00
mprakhov e378cb4fd9 fix(@desktop/chat): Do not allow send empty message 2022-12-22 16:23:44 -05:00
Pascal Precht f3eb29bfea feat(chat): allow for editing last user message using arrow-up key 2022-12-22 17:31:32 +01:00
Igor Sirotin 784b9acd4f fix(MessageView): Ignore message editing with no actual changes 2022-12-22 15:00:48 +03:00
Khushboo Mehta 17aaec2d53 feat(@desktop/wallet): Send modal update
fixes #8609
2022-12-21 20:44:56 +01:00
Khushboo Mehta f84404c956 feat(@desktop/wallet): Custom routing
fixes #8237
2022-12-21 19:25:11 +01:00
Noelia 579075d6cc fix(StatusQ/StatusListItemTag): Changed API and added test elide property when a specific width is forced
- Changed `StatusListItemTag` API. Now it is based on `Control` component.
- Updated needed qml files to fit with the new `StatusListItemTag` API.
- Added `elide` property in `Text` component to better visualise the content when a specific width is forced.
2022-12-21 18:42:16 +01:00
Jonathan Rainville f29210d4a2 fix(image): fix image download on Windows
Fixes #8755
2022-12-21 10:33:34 -05:00
mprakhov fb254fd775 fix:(@desktop/keystone): Request saving password to keystone on a startup after changing the password through settings 2022-12-21 17:02:38 +02:00
Alex Jbanca 6cba8810e0 Fix Mentions in statusChatInput
1. Don't allow mention invalidation by altering mention with mouse or keyboard
2. Don't allow mention duplication on the same position
3. Clean mentions after text with mentions changes
4. Fix mention selection
5. Make sure mention is separated by text with valid separators (we're using only space)
6. Cursor will consider the mention as an object and will jump over it as it would be a single character (placing cursor inside leaves room for mention invalidation)
2022-12-21 12:23:39 +02:00
Noelia ec8c64d7a1 test(tst_userIdentity): Fix test scenarios broken due to new user profile design
- Fixed test scenarios broken due to new user profile design.
- Added new verifications in social links: github, youtube, discord and telegram.
- Scenario statements reorganization.

Fixes #8281
2022-12-20 15:53:50 +01:00
Igor Sirotin 3f2f732698 fix(Utils): Return empty contact if no `mainModuleInst` set 2022-12-20 17:23:09 +03:00
Alexandra Betouni 99c7b33e1e fix(Global): Cleaned up Global from backend dependencies
Closes #7933
2022-12-19 16:28:41 +02:00
Patryk Osmaczko 87674064d0 feat(chat/messages): implement new messages marker
closes: #8572
iterates: #7488
2022-12-16 19:12:12 +01:00
Tanguy 473da3790b fix(chat-input): Colon detection for foreign keyboard layout 2022-12-16 10:28:24 +01:00
Boris Melnik c8d67ada9d fix(warnings): Remove warnings from shared RootStore
Fixes: #8293
2022-12-15 20:45:46 +03:00
Boris Melnik f35468963c fix(warnings): Rid off warnings
Fixes: #8293
2022-12-15 19:31:18 +03:00
Dario Gabriel Lipicar 6f906ff90a fix(@desktop/wallet): adjust InformationTag sizes to design 2022-12-15 11:18:29 -03:00
MishkaRogachev bc446f93b7 feat(Contacts): ContactVerificationRequestPopup reacts on model's update 2022-12-15 15:44:45 +04:00
MishkaRogachev ddf27d3038 feat(Contacts): Handle cancel identity verification on the reciever side
Close #8437
2022-12-15 15:44:45 +04:00
Boris Melnik a584a31818 fix(warnings): Remove warnings on login screen
Fixes: #8293
2022-12-15 14:17:53 +03:00
Igor Sirotin 50427390dd ens: Fix ens name inconsistency across app 2022-12-14 23:46:50 +03:00
Michal Iskierko 3f01af4446 fix(@desktop/chat): Fix user names propagation.
Add ProfileUtils for displaying correct name.
Set names in models correctly.
Fill names in qml correctly.

Fix #8343
2022-12-14 17:44:26 +01:00
Boris Melnik 5d19667f2d fix(warnings): Fix warnings raised from settings
Fixes: #8293
2022-12-14 14:33:13 +03:00
Sale Djenic 4b972acdd9 feature(@desktop/keycard): display keycards for the same keypair as a list in the keypair details view
Fixes: #8136
2022-12-14 08:22:12 +01:00
Boris Melnik 123b8e320a fix(warnings): Fix chat, community settings warnings
Fixes: #8293
2022-12-13 17:46:30 +03:00
Lukáš Tinkl 4188193e0e fix(ProfileDialogView): Wrong name "Tokens" in Profile preview
Tokens -> Assets
NFTs -> Collectibles

(to be consistent with the rest of the app)

Fixes #8716
2022-12-13 12:49:32 +01:00
Lukáš Tinkl 73cc621f0c fix: Rename "Chat" tooltip to "Messages"
... and do it the proper way, ie. make the string translatable as we
can't handle translations coming from NIM files at the moment

Closes #8418
2022-12-13 03:46:25 +01:00
Jonathan Rainville abd992b3ea fix(chat-input): fix sending images from dialog by using right prop
Fixes #8747
2022-12-12 13:48:44 -05:00
Jonathan Rainville 194e3048bc fix(messages): fix Resend btn not working and add Sending visual state
Fixes #7643

This adds the backend to resend. It then hooks the button to it.
This also adds a visual state for when we are sending. This gives a good indication that a message was sent.
2022-12-12 11:56:21 -05:00
Khushboo Mehta 9825a48eec fix(@desktop/wallet): Fix for wrong link is generated when transaction is done on testnet
fixes #8681
2022-12-12 15:23:52 +01:00
Khushboo Mehta 5b423a6dbd fix(@desktop/wallet): Wrong decimal place calculation on bridging
fixes #8660
2022-12-12 14:33:02 +01:00
Lukáš Tinkl 668ea868c4 fix(notifications): The sound of notifications is harsh and annoying
Use logarithmic sound volume scale instead of linear when interpreting
the sound volume value

TLDR; we were literally overblowing the speakers with absolute sound
volume levels; for the whole story I recommend reading:
https://www.dr-lex.be/info-stuff/volumecontrols.html

Also play a sound preview when changing the volume in Settings

Needs https://github.com/status-im/dotherside/pull/83

Fixes #8426
2022-12-12 11:39:32 +01:00
Lukáš Tinkl f62acae911 fix(Settings): cant switch off sounds for notifications
Fix a bunch of problems with handling sound/notifications related options
coming from the backend:
- `volume` and `notificationSoundsEnabled` live in a different settings
object; adjust the stores for that
- unbreak loading the actual wav/mp3 files (was never working on Linux
outside of AppImage!) -> use "qrc:/", same as the NIM backend does
- fix the volume scaling (backend has [1,100], QML is [0, 1])
- simplify our Audio QML item interface; no need for an extra property
and resolving the URL twice (which results in broken scenarios mentioned
above); we know which sounds we want to load

Closes #8668
2022-12-09 11:01:18 +01:00
mprakhov 873f690fd3 fix(@desktop/settings): empty screen when having 0 communities joined in Profile 2022-12-08 20:56:22 +02:00
Boris Melnik ea432f26f5 fix(reactions): Fix reactions popup
Fixes: #8425
2022-12-07 20:39:39 +03: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
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 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
Pascal Precht 93eaf0fdfd fix: allow whitespaces in display and nicknames
Closes #8391
2022-12-06 19:34:17 +01:00
Anthony Laibe 734d9361fc fix(@wallet): do not show token if not visible
fixes #8620
2022-12-05 17:33:35 +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
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
Khushboo Mehta 26fcb8b99f fix(@desktop/wallet): Implement missing unprefered chains
fixes #8530
2022-12-05 12:18:10 +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
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 c64d5560a6 refactor(@desktop/keycard): `remainingAttempts` introduced as new prop, instead of using `keycardData` prop 2022-12-02 17:26:06 +01:00
Michał Cieślak 4d5ef972bf fix(InviteFriendsToCommunityPopup): proper spacing when searching
Closes: #7707
2022-12-02 13:38:57 +01:00