Commit Graph

1368 Commits

Author SHA1 Message Date
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
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
Khushboo Mehta 9ded9d4ffa feat(@deaktop/wallet): Add bridge view
fixes #8236
2022-12-01 17:15:55 +01: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
Lukáš Tinkl 6ceb4bde26 fix(InvitationBubbleView): Community invite box cta bleeds out of box
a simple refactor to use a QML Control with separate `background` and
`contentItem`

Fixes: #8360
2022-12-01 16:47:40 +01:00
Michał Cieślak 4de8c6c313 fix(MyProfileSettingsView): Temporary image cropped properly
Closes #8520
2022-12-01 16:11:40 +01:00
Michał Cieślak b64dcaa14f fix(general): removed not working code for cropping tmp profile image
It was a source of warnings in the app and storybook.

Closes: #8519
2022-12-01 15:13:46 +01:00
Boris Melnik bff6b22fc4 fix(replies): Get original message from status-go for replies
Fixes: #7248
2022-11-30 14:07:49 +01:00
Lukáš Tinkl 3d4cb12d0c fix: some notification UI fixes
This aims at bringing the notifcation display closer to what regular
messages look like, namely:

- show compressed chat keys
- don't show identicon rings for ENS names
- fix timestamps and their tooltips (`notification` isn't part of StatusMessage!)
- unbreak clicking outside of the whole popup overlay (`activityCenter`
is undefined)
- fix blurry checkmark icon for marking notification as read
2022-11-30 11:05:58 +01:00
mprakhov e8e2c022ca fix(@desktop/chat): Hide quick actions panel in non-joined chats 2022-11-29 19:56:04 +02:00
MishkaRogachev 726ae26128 hotfix(ActivityCenter): Fix AC timestamps and binding loop for previousMessageIndex
Close #8434
2022-11-29 16:49:36 +04:00
Pascal Precht 213924f6e9 feat(chat): support copy & pasting images into chat input
This adds support for receiving copied images from the clipboard
and pasting it into the chat input.

After pasting, chat input will recognize the image and render a preview
similar to how it would do it when selecting images via the file dialog.

**Also important to note**:

At the time of this PR, it seems that desktop only supports sending
jpegs to status-go. I'm not sure if this was deliberately done this way
because the protocol says it supports jpg, png, webp and gif.

Because of this, pasting for example pngs will work, however
transparency will be lost (which is also most likely the cause of #8820)

This PR operates on that assumption. So while it adds support for
copy/pasting images, it does not address the lack of file type support.

Closes #3395
2022-11-29 12:31:18 +01:00
Lukáš Tinkl 6b7eea8db9 fix: unbreak suggestions for emojis containing an underscore
- don't consider `_` as a "punct" or invalid character, some emojis like
flags do contain it in their name

Fixes: #8446
2022-11-28 12:11:23 +01:00
Patryk Osmaczko d0725d451e fix(ui-test/ChatFlow): retry to load stickers
For some reason stickers are not loaded for the first time. User has now
the ability to retry the loading procedure. Retry action loads stickers
successfully in most cases.

fixes: #7995
2022-11-25 17:06:59 +01:00
Patryk Osmaczko 56fc768d6f refactor(StatusStickersPopup): do general popup refactor
- remove imperative state assignments, rely on bidings
- move private stuff to QtObject{id: d}
- restructure object attributes to follow QML Coding Conventions
2022-11-25 17:06:59 +01:00
Lukáš Tinkl c1fd4cc680 fix(StatusEmojiSuggestionPopup): emoji is blurry in the suggestions popup
use an SVG icon instead of a potentially lowres PNG

Fixes #8409
2022-11-24 14:35:54 +01:00
Lukáš Tinkl 2bf2861631 fix: reactions distance to message content is inconsistent
- harmonize the margins/spacings in other message components
- fix warnings
- cleanup/remove some dead code

Fixes #8295
2022-11-23 17:42:11 +01:00
alexjba f8293a12f4 StatusChatInput.qml - Fixing emoij suggestion keyNav
Fixing up/down key handler when emojiSuggestions are visible
2022-11-23 16:21:31 +02:00
alexjba 1b2fd40b20 Adding qmake project file for wasm
This changeset contains the prerequisites required to compile StoryBook on wasm_32 and the README file with instructions
2022-11-23 16:20:37 +02:00
alexjba 98d3073a61 Update min text length in password 2022-11-23 15:21:21 +02:00
Khushboo Mehta 6c0806c2e1 (@desktop/wallet): Fix for pending tx not shown in history view
fixes #7530
2022-11-22 13:57:50 +01:00
Lukáš Tinkl 8e4d9be779 fix: disable quick actions when editting a message
also move the top/bottom margins one level up so that the message editor
gets the same margins as well

Fixes: #8185
2022-11-21 20:55:08 +01:00
Khushboo Mehta 8084b90b5c test: Renabled test case for Simple transaction
fixes #7983
2022-11-20 14:44:37 +01:00
Patryk Osmaczko bd7f890cce feat(storybook): add MembersSelector to storybook
closes: #8178
fixes: #8210
2022-11-18 13:13:38 +01:00
mprakhov d26ca0baf9 refactoring after review 2022-11-18 11:29:56 +02:00
mprakhov 36e0277321 fix:(@desktop/Profile): Preview Bio length and scroll area fix #7922 2022-11-18 11:29:56 +02:00
alexjba 6474e73b85 Add profile fetching view to storyBook
The profile fetching view is part of the onboarding process. This view should be displayed on existing user onboarding flow, while the profile is being fetched in the backend.
It has 3 states:
1. Fetching in progress
2. Fetching completed
3. Fetching error
2022-11-17 21:48:53 +02:00
Lukáš Tinkl 3456c5232b fix: Copy to clipboard button in profile view should reset to "Copy"
Fixes #8219
2022-11-17 10:18:56 +01:00
Jonathan Rainville 312dd72955 fix(windows): fix windows chat list empty because of popup overflow
Fixes #7906
2022-11-16 15:41:32 -05:00
Stefan 7bd9808476 fix(receive) fix header alignment for ReceiveModal
Add a reusable header shared between Send and Receive modals

Updates #8180
2022-11-16 15:40:03 +01:00
Stefan d0389a6305 feat(Wallet) show balance cache for chain native token
Quick integration of fetching balance in the current chart view.

The proper implementation requires refactoring the QML views to separate
price chart, that depends only on the token and chain, from balance that
depends on token, chain and address.

Closes: #7662
2022-11-16 13:07:46 +01:00
Stefan cc9f83650c chore(dev): fix qml errors 2022-11-16 13:07:46 +01:00
Lukáš Tinkl bab0fee0ee chore(StatusChatInput): add Esc handler to close reply area
similar to what pressing Esc does when editing a message
2022-11-16 09:58:19 +01:00
Lukáš Tinkl c7efcdd09f fix(StatusChatInput) unbreak upload image shortcut
fixes shortcut Ctrl+U being broken when trying to upload an image
2022-11-16 09:58:19 +01:00
Khushboo Mehta c256ac0ac2 fix(@desktop/wallet): Fix for send transaction USDC error
fixes #8224
2022-11-15 15:38:37 -05:00
Boris Melnik 77c5084355 fix(SettingsDirtyToastMessage): Avoid scrolling when content height is 0
Fixes: #8247
2022-11-15 19:30:15 +03:00
Lukáš Tinkl 48f5a9d256 fix(NicknamePopup): add support for Unicode nicknames
- do not restrict NicknamePopup's regexp to ASCII characters
- a similar thing could be done to the user's DisplayName but currently
  that's blocked on status-go side
- uses RXValidator from dotherside

Needs status-im/dotherside/pull/74
Fixes #8115
2022-11-15 11:42:33 +01:00
Dario Gabriel Lipicar 47f7373838 fix(@desktop/wallet): correct error message when adding own ENS name to saved addresses
#8114
2022-11-15 07:26:45 -03:00
Sale Djenic 557703543c fix(@desktop/keycard): migrating keypair looks somehow stucked for a while before switching to `Migrating key pair to Keycard` state
Fixes: #8177
2022-11-15 12:12:07 +03:00
Sale Djenic 662a11a57b chore(@desktop/keycard): tertiary action for shared keycard popup module renamed to cancel action
Since tertiary action for the keycard popup module is always used to cancel/invalidate
the current flow, it's renamed now to cancel action (avoids confusion this way and it
seems more intuitive. It doesn't set any state. It should be defined if it's possible to cancel
the flow from the current state.
2022-11-15 12:12:07 +03:00
Alexandra Betouni 7c88f462ec fix(StatusMessage): Updated component to QQC2 Control and as per desing
Fixes #7318
2022-11-14 18:13:40 +02:00
Dario Gabriel Lipicar 9dd004b690 fix(@desktop/wallet): fix add new saved address popup close button
#8214
2022-11-14 09:49:40 -03:00
Boris Melnik 13acb5730d fix(profile-settings): Add usage dirty values for preview and load image profile on save
Closes: #7920 #7917
2022-11-14 14:59:46 +03:00
Michał Cieślak 1ca1866993 chore(Storybook): page for CreateChannelPopup added 2022-11-11 15:14:44 +02:00
Igor Sirotin a69b3b5928 fix(StatusMessageReply): Fixed reply text styling and behavior 2022-11-11 13:31:06 +01:00
Boris Melnik b10b6617cf fix(edit-message): Add content-type to edit message request
Closes: #7879
2022-11-11 14:01:16 +03:00
Boris Melnik 42234c7d49 feat(communities): User is able to cancel membership request
Part of: #7072
2022-11-10 23:07:22 +03:00
Richard Ramos ae7a16f27e fix: display "Resend" for expired messages 2022-11-10 11:49:42 -04:00
Lukáš Tinkl 2b6164fc8d fix: ens names should not display `@`
Fixes #8122
2022-11-10 10:42:05 +01:00
Sale Djenic 3fbcbb198f chore(@desktop/keycard): `if` with multiple `or` in condition moved to `switch` 2022-11-10 11:03:44 +03:00
Sale Djenic 6d4bec84b1 fix(@desktop/keycard): bigger Keycard views look cut if the app is resized to the min height
Fixes: #8137
2022-11-10 11:03:44 +03:00
Michal Iskierko 1f2a050695 feat(@desktop/general): Use compressed community key in deep links
Issue #8001
2022-11-08 15:18:39 +01:00
Lukáš Tinkl 80d211f521 fix(MessageView): fix opening URL links
Fixes: #8123
2022-11-07 11:03:39 +01:00
Pascal Precht cabfaf1ed6 fix(Communities): adjust discord import error codes
Those have been changed in status-go, resulting in wrong visualization
of import warnings and errors.

This commit adjusts them so they match the correct codes again.
2022-11-03 18:24:48 +01:00
Sale Djenic 2c03146309 fix(@desktop/keycard): can't create accounts if the main account was restored in using an existing keycard account
`I already use Status` -> `Login with Keycard` flow is enabled.

Fixes: #7867
2022-10-28 20:43:09 +02:00
Michal Iskierko 234a164597 fix(@desktop/chat): Accept profile deep link in "Send Contact Request to chat key"
Fix #8070
2022-10-28 16:15:40 +02:00
MishkaRogachev 532700f6c7 feat(ActivityCenter): Kicked from community notification 2022-10-28 00:25:10 +03:00
MishkaRogachev 9c8fee09cd feat(ActivityCenter): Community membership status handling 2022-10-28 00:25:10 +03:00
MishkaRogachev d4e4e66fc6 feat(ActivityCenter): Community membership notifications
Close #7277
2022-10-28 00:25:10 +03:00
Lukáš Tinkl f122607ada fix: consecutive discord messages should be grouped like status messages
- fill the senderId just like other messages
- add some checks in Utils since the "publicKey" (ID) coming Discord
isn't in the format we'd normally expect

Closes #6678
2022-10-27 22:44:00 +02:00
Boris Melnik 6175beb40a feat(Communities): Add checking access type in Welcome modal
Part of: #7072
2022-10-27 21:39:12 +03:00
Lukáš Tinkl 16a51f2f72 fix(MessageView): unbreak showing identity ring in replies
use the correct way to get the original message's content type and
compare it with the correct Constant type
2022-10-27 10:01:59 +02:00
Michał Cieślak 36454eadd3 fix(Theme): restore accidentally removed import 2022-10-27 10:00:30 +02:00
Khushboo Mehta aec7a30d03 feat(@desktop/wallet): Updated UI for bridge and multi routing support
fixes #7334
2022-10-26 18:48:30 +02:00
Jonathan Rainville 68fbaeadc1 test(community): add test that invites a user to the community 2022-10-26 12:32:52 -04:00
Jonathan Rainville c956f3c4ef fix(ProfileDialogView): hide contact request buttons when removed 2022-10-26 09:34:47 -04:00
Lukáš Tinkl 2c2337a45d fix(MessageView): unbreak message reply update and found animation
due to the refactor, StatusMessage is no longer the toplevel item inside
the delegate, so adjust the functions

some minor cleanups and dead code removals; striving for keeping the
number of properties and bindings inside a ListView delegate at a minimum
2022-10-26 12:50:39 +02:00
Jonathan Rainville afaf7717e8 fix: fix signals not passing the callback
Fixes #8038

We added a callback arg to the signals, but signals do not support default args. You need to pass the exact number of args.
2022-10-26 10:29:33 +02:00
Michał Cieślak 2e05a9784e fix(InviteFriendsToCommunityPopup): invite candidates list made scrollable
Additionally, bottom padding is fixed to avoid cutting-off the list
too early.

Closes: #7603
2022-10-25 17:03:44 +02:00
Michał Cieślak 57e80255bf fix(Global): Popup components moved from Global.qml to dedicated non-singleton component
Closes: #7992
2022-10-25 15:35:18 +02:00
Michal Iskierko 6d2a2e6e03 fix(@desktop/general): Fix clicking deep links in chat
Clicking any deep-link in chat: /u, /c, /cc does not open browser but executes instantly

Fix: #6302
2022-10-25 08:26:16 -04:00
Lukáš Tinkl 5d0d3e7135 feat(storybook): add controls to profile page
now one can play around with various UI aspects of the new Profile Dialog
2022-10-24 16:55:12 +02:00
Alexandra Betouni e617c8981f fix(SendRequestModal): fixing spacing issues
Closes #6941
2022-10-24 17:28:17 +03:00
Anthony Laibe 76aedc3615 feat(@wallet): display ens name with saved addressess 2022-10-24 12:39:34 +02:00
Lukáš Tinkl 6e664564e0 feat(storybook): add Profile Popup
This adds the ProfileDialogView to storybook pages

For now, there's just one control to switch between own profile and
another profile; more to come in later PRs.

The mocked global objects (mainModuleInst and globalUtilsInst) are
injected via QML

Fixes: #7820
2022-10-21 18:12:39 +02:00
Lukáš Tinkl 62d4aca0ca fix(ProfileDialogView): Use compressed chat key in "Copy Link To Profile"
Fixes #7988
2022-10-21 11:41:03 +02:00
Igor Sirotin 5ff2976e80 fix(MessageView): Changed visual borders of message 2022-10-21 00:44:19 +02:00
Sale Djenic a60e5d49cf feat(@desktop/keycard): create a new pairing code
Fixes: #7038
2022-10-19 13:24:41 +02:00
Sale Djenic 1f49f3fedd chore(@desktop/keycard): keycard animations' details set as constants for easier maintaining 2022-10-19 13:24:41 +02:00
Sale Djenic 7377526553 feat(@desktop/keycard): create a 12-digit personal unblocking key (PUK)
Fixes: #7037
2022-10-19 13:24:41 +02:00
Sale Djenic 9b2a63c400 feat(@desktop/keycard): change pin flow added
Fixes: #7034
2022-10-19 13:24:41 +02:00
Lukáš Tinkl 025a45d1a4 chore(AppMain): improve startup time
- wrap everything we can in AppMain with a (async) Loader
- do not access globals w/o a proper store
- drop some dead code

Although I wasn't able to completely fix the bug, the ~50% improvement in
startup time is still worth trying imho. On my machine, the startup time
went down from ~7s to under 4s.

Related: #7292
2022-10-19 10:48:20 +02:00
Lukáš Tinkl 38b6bdbfd3 chore: split English TS files
- qml_base.ts is created as a reference point for translators
- qml_en.ts is a minimal overlay translation, providing just the needed
  plural forms
- adjust the script to generate the above TS files
- fixup some leftover qsTrId() calls and the qmake file
2022-10-19 10:48:08 +02:00
Michał Cieślak de4ef7daf0 fix(Storybook): mock for DotherSide types added
Additionally `ui/imports/shared/views/chat/qmldir` fixed.

Closes: #7932
2022-10-17 10:50:12 -04:00
Lukáš Tinkl 7a407662e2 feat: New Profile Modal
Fixes: #7360
2022-10-17 12:05:54 +02:00
Sale Djenic 7a73452706 fix(@desktop/keycard): keypair is not registered for newly created keycard users
Fixes: #7899
2022-10-14 13:53:34 +02:00
Sale Djenic 43011645f2 fix(@desktop/keycard): clicking `Get Keycard` button should direct to purchase page
Fixes: #7027
2022-10-14 13:49:23 +02:00
Khushboo Mehta 7e82b36509 feat(@desktop/wallet): Create API to retrieve historical price for a token
fixes #7260
2022-10-14 10:29:29 +02:00
Sale Djenic b1f8a476e8 feat(@desktop/keycard): rename keycard flow
Fixes: #7033
2022-10-13 19:58:45 +02:00
Sale Djenic c1f4874e18 feat(@desktop/keycard): UI for the keycard settings in case user has set up a keycard
Keycard settings view - UI - developed in a way that list of keycards is displayed
if there is at least one keycard set up. If the a keycard is locked or gets locked it
will be correctly marked in red. Selecting keycard from the list, its details may be
seen and additional flows may be run for it (so far only unlock flow is developed).

Fixes: #7025
2022-10-13 19:24:04 +02:00
Noelia 94910e9554 fix(Onboarding): Give consistency to Create / Confirm password view font-size
Updated `Create` and `Confirm` password views according to new design decisions taken to give consistency to the onboarding screens (related to font-size).

Updated related squish test cases: Screenshots updated with new font-size and refactored some objectNames and objects that where using `text` property instead of `objectName`.

Updated `Input` components to `StatusPasswordInput` ones.

Fixes #7447
2022-10-13 16:15:36 +02:00
Michał Cieślak f0e238dce6 chore(general): Remove profile pictures visibility options
From now on, if the image is available it should be displayed
uncoditionally.

Closes: #7609
2022-10-13 07:51:55 -04:00
Sale Djenic 2a04dd243e chore(@desktop/keycard): unused onboarding assets removed 2022-10-13 08:28:21 +02:00
Sale Djenic 0cb23e0f16 fix(@desktop/keycard): login flow
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Sale Djenic 095578b517 fix(@desktop/keycard): onboarding flow `I already use Status` -> `Login with Keycard` updated
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Sale Djenic 9be07efec3 fix(@desktop/keycard): onboarding flow `I'm new to Status` -> `Generate keys for a new Keycard` updated
Onboarding flow updated according to the latest related
figma changes.
2022-10-13 08:28:21 +02:00
Lukáš Tinkl 6bf57d3bdd fix: don't display unpin/jump items for a user
Fixes: #7853
2022-10-12 11:16:10 -04:00
Boris Melnik 4cfa4e5451 fix(replies): Fire dataChanged when contact changed in reply
Closes: #7687
2022-10-12 10:54:24 -04:00
Alexandra Betouni 6fa4553d08 fix(DragnDrop): re-enabled drag and drop
Closes #7484
2022-10-12 10:34:46 -04:00
Igor Sirotin 6d15f8c16f fix(InvitationBubbleView): Fixed layout and button radius 2022-10-12 10:33:00 -04:00
Michał Cieślak 62b0269fff fix(StatusChatInput): paste mentions without changing msg content
Closes: #7109
2022-10-12 10:24:20 -04:00
Boris Melnik 073e97eecd fix(Communities): Fix elide for communtiy public key
Closes: #7777
2022-10-12 16:33:18 +03:00
Boris Melnik 6a11a89ff3 fix(Reply): Add check if responsed message was deleted and add `<deleted>` to reply message
Closes: #7372
2022-10-12 15:43:48 +03:00
Michał Cieślak a893d100ab fix(LinksMessageView): Reload images when back online
Closes: #7665
2022-10-11 17:01:30 +02:00
Michal Iskierko 95c0721578 fix(@desktop/chat): Fix channel link in chat
Clicking on a #link will open link channel in community

Fix #7636
2022-10-10 11:27:16 +02:00
Michał Cieślak 4c03e67089 feat(Utils): Tracer can be used directly in layouts 2022-10-07 20:15:48 +02:00
MishkaRogachev 9b227cbfd9 feat(ActivityCenter): Add CTA for contact request notifications
Close #7277
2022-10-07 15:09:56 +04:00
Patryk Osmaczko acbf6fce51 feat(@desktop/communities): add new join community workflow
- user is able to see community without being a member
- invitation bubble always display "Go to Community"
- join community buttons are displayed in community view

main part of: #7072
2022-10-07 09:10:21 +02:00
Pascal Precht 5c3517ee6f fix(Chat): ensure profile image with base64 sources are working
This broke with the introduction of discord messages because we were
setting the `assetSettings.isImage = true` when `isDiscordMessage`.

This has overriden the default config for all non discord messages which
check for whether the asset source includes `("data")`.
2022-10-06 22:18:36 +02:00
Alexandra Betouni ae7d49c9b1 fix(Invitation+LinksBubble): fixed button radius corners
Closes #7308
2022-10-06 15:47:04 +03:00
PavelS c74d1086c0 fix(@desktop/chat): update paste logic
Fixes #7772
2022-10-06 12:40:00 +02:00
PavelS 8bd194eb48 fix(@desktop/chat): add cut mention handle
Add mentions copy logic with pasting mentions with pubKey information

Fixes #7110
2022-10-06 11:44:30 +02:00
Pascal Precht d9acab566f perf(chat): only perform verification requests on scroll if necessary
There was an issue where imported messages from third-party services
would cause super laggy scroll behaviour in the chat view.

The reason for that is that on scroll, the app keeps calling
`getVerificationRequestFrom()` on the chatkey of the community.
Typically the results of these requests are cached so that it should
perform the call only once, but because there's no actual verification
request/contact for the community chat key (all third-party messages are
signed by the community), the call keeps on happening over and over.

This commit adds a flag to `getContactDetailsAsJson` and `isEnsVerified`
to control whether or not the call to `getVerificationRequestFrom`
should in fact be made (which should not be the case for imported
messages).

The result of this is a smoother scrolling experience.

Fixes #7767
2022-10-06 11:39:24 +02:00
Pascal Precht bf14b06d55 feat(CreateCommunityPopup): add discord import progress panel and discord message handling
This adds the UI plus all necessary models and signal handling to render
discord import progress in the desktop application.

It also introduces message handling for discord chat message types.

Requires status-im/status-go#2826 to function

Co-authored with @caybro
2022-10-06 09:13:57 +02:00
Boris Melnik 81e5aefbca fix(StatusChatInput): Move formatting menu from scroll
Closes: #7751
2022-10-05 13:51:40 -04:00
Igor Sirotin f32e551c75 fix(InviteFriendsToCommunityPopup): Created single global instance. Fixed profile icons. 2022-10-05 14:37:36 +03:00
Lukáš Tinkl 99272c580c fix(ChatMessagesView): Loading spinner and scroll to bottom button overlap
- remove the extra spinner (ok'ed by John and Benj)
- use the more modern StatusIcon, w/o the unconditional ColorOverlay
- some minor cleanup

Closes: #7645
2022-10-05 02:59:37 +02:00
Lukáš Tinkl 12fc331cc6 fix(StatusGifPopup): fix GIF search reset
- react on text changes, not when a key is released; fixes #7728
- if the search is empty, reset back to Trending; fixes ##7727
2022-10-04 13:07:24 -04:00
Igor Sirotin 023289540d fix(ContactVerificationRequestPopup): Fixed user's public key 2022-10-04 18:14:38 +03:00
Igor Sirotin b65023bf45 fix(PinnedMessagesPopup): Fixed reply messages displaying 2022-10-04 14:09:19 +03:00
Noelia d0fc2db9bd test(chore): Added splash screen animation recognition and general banners management
"the user lands on the signed in app" step incorporates the following verifications (main screen is ready):
- Splash screen animation is loaded and ended.
- Banners that appear in the main screen are closed before starting other actions (secure seed phrase, connection information and update app information banners).
2022-10-04 11:17:47 +02:00
Michał Cieślak abc570006c chore(StatusChatImageLoader): uses mipmap filtering for unfurled images
Closes: #7689
2022-09-30 16:00:09 +02:00
Khushboo Mehta 9638b200e1 fix(@desktop/wallet): Added squish test for change password and relogin
fixes #6900
2022-09-30 15:56:03 +02:00
Sale Djenic a1027ff087 feat(@desktop/keycard): sign transaction using `Authenticate` flow
Actually this is not a signing transaction, but rather authenticating logged in
user when he wants to send a transaction. An authentication is done by entering
password(regular user) or pin(keycard user).

A real signing transaction feature will be (hopefully) added in a near future where
we're going to sign a transaction on a keycard which corresponds to a certain
account, a user wants to send a transaction from.

To sum up... this change just removes password from the send modal and introduces
`Authenticate` flow instead.

Fixes: #7510
2022-09-29 17:28:18 +02:00
PavelS c931f716e8 fix(@desktop/chat): adjust chat input logic to allow emojis
Fixes #7622
2022-09-28 15:02:50 -04:00
Michal Iskierko f40ef4613e fix(@desktop/communities): Show only not community members
Fix #7477
2022-09-28 18:09:40 +02:00
Michal Iskierko d14fc486b5 fix(@desktop/contacts): Do not show pending identity request when user is verified.
Fix #7376
2022-09-28 10:56:14 -04:00
Noelia dcd77e3bf7 fix(Chat/Verify Identity): Identity verification typo
Changed hardcoded name to the corresponding `userDisplayName` parameter.

Fixes #7538
2022-09-28 10:54:03 -04:00
Khushboo Mehta d65f0fa55e fix(@desktop/wallet): Added squish tests for transactions and transaction details
fixes #7215
2022-09-28 09:55:41 -04:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
Michal Iskierko 3bcd26b6ae fix(@desktop/general): Fix sections switching shortcuts
Ctrl+n shortcut changes enabled section.

Fix #7478
2022-09-28 09:42:14 -04:00
Alexandra Betouni fc3daa1451 (StatusSectionLayout): removed big space between header and content
Closes 7312
2022-09-28 15:37:52 +03:00
Alexandra Betouni 654519f5dd fix(ProfilePopup): fixed display name on block popup
Closes #7521
2022-09-28 15:37:29 +03:00
Khushboo Mehta db429b4961 fix(@desktop/wallet): Fix the emoji and text placement in the SendModal
fixes #7427
2022-09-28 14:25:58 +02:00
Sale Djenic f17003e5f2 test(@desktop/wallet): tests for adding wallet accounts updated according to the latest changes (`Authentication` flow) 2022-09-27 20:15:34 +02:00
Sale Djenic c5a81455e8 fix(@desktop/keycard): change password disabled for a keycard user 2022-09-27 20:15:34 +02:00
Sale Djenic 4e257539b8 chore(@desktop/keycard): `usingBiometricLogin` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 3687df2a2f chore(@desktop/keycard): `isKeycardUser` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 861c585d2b feat(@desktop/keycard): adding wallet account using `Authenticate` flow
Fixes: #7509
2022-09-27 20:15:34 +02:00
Sale Djenic f11ff29cb4 feat(@desktop/keycard): check what’s on a Keycard
Fixes: #7032
2022-09-27 20:15:34 +02:00
Sale Djenic a3b71c7d91 feat(@desktop/keycard): unlock keycard flow added
Fixes: #7031
2022-09-27 19:03:18 +02:00
Alexandra Betouni 54076c772c fix(ProfilePopup): popup title was wrong with ens names
Closes #7320
2022-09-27 17:30:51 +03:00
Lukáš Tinkl a209d39881 fix: ENS name issues
- don't display identicon rings for contacts with an ENS name
- prefer the at-form (@foo-user) whenever possible, and don't display their
  username or pubkey unless they are locally given a nickname
- show compressed keys everywhere instead of the regular ones

Fixes: #7319
Fixes: #7515
2022-09-26 22:38:02 +02:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
MishkaRogachev b9ca8654a8 feat(ActivityCenter): Fix messages and AC notifications height
Close #7497
2022-09-26 15:49:46 +03:00
PavelS 36a56a8af3 fix(@desktop/chat): adjust chat name placement
Fixes #7353
2022-09-26 12:54:41 +03:00
Lukáš Tinkl 36bea83eee fix: "Remove contact" button in ProfilePopup doesn't work
Closes: #7519
2022-09-26 11:13:56 +02:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl 58b56d831b feat(PinnedMessagesPopup): enable Unpin context menu entry
and remove the context actions we do not actually use

Fixes: #7439
2022-09-21 10:48:20 +02:00
Michał Cieślak be5de27513 feat(MessageView): hide image url in the message when image is unfurled
The url is hidden when there is only one url in the message with no
additional text and the image is shown (unfurled).

Closes: #7321
2022-09-21 10:33:15 +02:00
Patryk Osmaczko 1d1bb2cfcf chore(@desktop/chat): fix plural `%1 members` translation 2022-09-21 08:57:18 +02:00
Patryk Osmaczko e3363e269a fix(@desktop/chat): make `join` invite transition to `pending`
User should see `pending` state after he `join`s the community, even if
that community does not require explicit admin approval. That's because
currently, each member has to be accepted by admin, either automatically
or manually. That means, if admin is gone, no one will be ever joined to
community, even if this community states it does not require request to
join.
2022-09-21 08:57:18 +02:00
Patryk Osmaczko d1b3e7af9e fix(@desktop/chat): rework invitation bubbles
InvitationBubbleView.qml:
- rework view to use layouts properly
- add missing community identicon

Backend:
- remove local community requests on community join
- propagate SIGNAL_COMMUNITY_MY_REQUEST_ADDED to UI

fixes: #7139
2022-09-21 08:57:18 +02:00
MishkaRogachev edbd9adbb6 fix(ActivityCenter): Getting any of AC notifications visible
Close #7016
2022-09-20 16:43:21 +03:00
Alexandra Betouni dd08cb60c2 fix(AssetsDetailView): fixed warning 2022-09-20 14:31:17 +03:00
Michał Cieślak f900e7c00e fix(general): buttons font fixed, font loading refactored
Fixes: #7389
2022-09-19 22:10:25 +02:00
Michał Cieślak 34625ad1c4 feat(@desktop/communities) Permissions, 'who holds' section - handling localiezed amounts
Closes #7162
2022-09-19 21:46:44 +02:00
Lukáš Tinkl 9addf1221b fix(PinnedMessagesPopup): “Jump to” button doesn’t work pinned messages popup
This was never implemented, eventhough a similar approach is used with
the global AppSearch. Expose the method `scrollToMessage(messageId)` so
that it can be called from QML directly.

Fixes #7375
2022-09-19 16:34:07 +02:00
Khushboo Mehta 8c4ce7bc29 fix(@desktop/wallet): Send Modal doesn't fill available height and Drop Shadow missing in Send Modal Footer
Also fixed a crash found while fixing the above bugs

fixed #7133, #7134
2022-09-19 13:22:00 +02:00
Michal Iskierko 62c2b56fc8 fix(@desktop/chat): Improving displaying user names in chat
1. Rename contactDetails.displayName -> defaultDisplayName
2. Add contactDetails.optionalName (filled in contact service)
3. Set in message_model defaultDisplayName and optionalName values
4. Adjust UI

Issue #7241
2022-09-19 11:24:35 +02:00
Stefan 0f1ade6967 tests(chat): adapt gif test and add image unfurling test
The gif test was manually activating the unfurling, which is no longer
necessary. Now check that enabling gifs will enable tenor unfurling

Also add a test for image unfurling and validate the unfurling image
links components and preview settings.
2022-09-19 11:19:17 +02:00
Lukáš Tinkl 71436388fa fix(SendContactRequestModal): display userName + compressed key
Fixes: #7295
2022-09-19 10:24:07 +02:00
Michal Iskierko a0c145fbfc fix(@desktop/community): Fix member icons in invite friends panel
Fix #7364
2022-09-19 10:02:36 +02:00
Lukáš Tinkl d7cfa3318c fix broken contact/chat images in StatusSearchListPopup
Fixes: #7409
2022-09-19 07:57:45 +02:00
Stefan fea157e50e fix(chat): remove tenor.com domain from preview
Also use the preview width if available

Fixes #13955
2022-09-16 09:45:51 +02:00
Alexandra Betouni b47b3e8be6 feat(AssetDetailView): Adding price history chart
Closes #6490
2022-09-15 18:13:38 +03:00
Anthony Laibe 215f9e0fa6 fix(@wallet): asset formatting
Fix asset formating and display of network only enabled
2022-09-15 16:54:43 +02:00
MishkaRogachev 25c5be2f78 feat(ActivityCenter): Refactor AC from chat and place in mainui
Close #7338
2022-09-15 12:21:06 +03:00
Sale Djenic a2f48eef49 refactor(@desktop/keycard): buttons' responibility in the keycard popup improved
A new rule introduced which should provide easier tracking/maintainig
later. The rule says:
- popup contains up to 3 action buttons and one back button (optional)
- if 3 buttons are displayed in the popup then the most left button, but
not back button, always triggers tertiary action, middle button always
triggers secondary action and the most right button always triggers primary
action
- if 2 buttons are displayed, then:
  - if one of them is "Cancel" (left button) it should trigger tertiary action
and the other one (right button) should trigger primary action
  - if non of them is "Cancel" then the left button triggers secondary action
and the right button triggers primary action
- if single button is displayed, then:
  - if it's "Cancel" it triggers tertiary action
  - if it is not "Cancel" it triggers primary action
- tertiary action always reffers to the cancel action until otherwise set
- tertiary action will be always triggered by closing popup via keybord
(esc key) or clicking on top right `x` button on the popup
2022-09-15 11:01:32 +02:00
Lukáš Tinkl 2dca7904b8 fix(PinnedMessagesPopup): pinned messages modal design issues
- align the dialog to design
- fix radio button logic (it was possible to uncheck a mutually exclusive
checked button eventhough it's inside the button group, leaving the Unpin
button in an undefined state)
- port to StatusDialog and layouts, dropping a lot of needless code
- remove dead code for passing around the `property Component
pinnedMessagesListPopupComponent`; the popup is being invoked via
`Global.openPopup()`

Fixes #7316
Fixes #7315
2022-09-15 10:55:56 +02:00
Sale Djenic 03bb1e5bf0 feat(@desktop/keycard): authenticate flow added
- Added `Authenticate` flow
- `Setup a new Keycard with an existing account` updated so it includes `Authenticate` flow
from the point where is needed (when migrating a profile keypair)
- We are missing `Unlock Keycard` flow for this one, will be added once it is developed
2022-09-14 16:05:52 +02:00
Sale Djenic 405171dad7 fix(@desktop/keycard): updates to the onboarding/login flow
- login states updated so they can resolve enter pin state from each state
that flow may be in
- not a keycard state added
- login plugin state added
2022-09-14 16:05:52 +02:00
Sale Djenic f5cfdd3246 feat(@desktop/keycard): new assets for authentication flow added
Images required for authentication flow added
2022-09-14 16:05:52 +02:00
Michal Iskierko 55cb3cbf33 test(group chat): Testing changing group chat's name, color and image.
Fixes #7065
2022-09-14 12:49:43 +02:00
Lukáš Tinkl f4a78a1f10 fix: port to StatusButton changes in master
and pull in changes from StatusQ master
2022-09-14 09:16:58 +02:00
Patryk Osmaczko 6760870dc9 fix(@desktop/chat): rework members selector
fixes: #5941
fixes: #7234
fixes: #7235
fixes: #7236
fixes: #7237
fixes: #7238
fixes: #7239
fixes: #7240
2022-09-13 12:33:34 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Lukáš Tinkl d0b8af9e86 fix(MessageView): missing popup from when pin limit is reached
Can not use `root.messageStore.getNumberOfPinnedMessages()` directly in a
binding, as it's not a property and won't reevaluate on change

Closes #7314
2022-09-13 09:05:15 +02:00
Lukáš Tinkl 5e0d5a9f8c fix(pinning): fix warnings 2022-09-13 09:05:15 +02:00
Stefan 6e78281d99 test(FavouriteSavedAddresses/Wallet): test toggle favourite for saved addresses
Also
- fix the other saved addresses that were relying on the order of
buttons and fail after adding the favourite button
- improve the rest of the tests
- improve debug buttons
- extend driver with helper functions

Closes: #6898
2022-09-12 16:00:31 +02:00
Stefan 7af95eaada feat(wallet): add favorites for saved addresses
Depends on statug-go favourite flag extension and merging of `favourites`
with `saved_address` tables and API

Additional changes:

- Remove duplicate name instead of ESN

Closes: #6546
2022-09-12 15:58:52 +02:00
PavelS abb2254e59 fix(@desktop/chat): adjust message length check condition
Fixes #7131
2022-09-12 13:02:03 +03:00
Anthony Laibe 81300b655f fix(@wallet): display currency price rather than 24h change
fixes #7268
2022-09-12 11:00:41 +02:00
Khushboo Mehta 928e1999d9 feat(@desktop/wallet): Implement Transaction details as per new design
fixes #7214
2022-09-09 21:36:58 +02:00
PavelS cdfbb4ac87 fix(@desktop/chat): adjust mentions handing logic
Fixes #7099
2022-09-09 18:15:13 +03:00
Patryk Osmaczko a1e7831dcb feat(@desktop/chat): add welcome message for community chats 2022-09-09 10:39:58 +02:00
Khushboo Mehta e9d3d7a0b0 bash: q: command not found
feat(@desktop/wallet): New design for Transaction History

fixes #7213
2022-09-09 00:04:25 +02:00
Igor Sirotin b2485603de fix(AppMain): Made all banners global and stacked 2022-09-08 20:47:54 +08:00
Michal Iskierko 2bb346a09e fix(@desktop): Use colorId to find correct color of users&members
colorId is set in the model instead of using qml function.

Fix #6366
2022-09-08 13:56:27 +02:00
Sale Djenic 07a0cdc680 fix(@desktop/keycard): additional updates
- `Setup a new Keycard with an existing account` flow improved
- code review comments applied
- Qml part updated due to the latest `StatusListItem` changes in `StatusQ`
2022-09-06 15:06:13 +02:00
Sale Djenic 2b84a91675 feat(@desktop/keycard): unnecessary assets removed
Images we were using are updated with animations according to the new
figma design.
2022-09-06 15:06:13 +02:00
Sale Djenic afa7928bae feat(@desktop/keycard): keycard settings -> migrate keypair flow
- Added flow which covers `Setup a new Keycard with an existing account` from
the keycard settings part (though two sub-flows there are missing, `Unlock Keycard`
and `Authentication` cause we don't have them yet).
- Updated factory reset flow (part of shared module) that it can read and display metadata
from a keycard if they are set, with this update this flow is almost complete, we are missing
`Unlock Keycard` flow for it as well.
2022-09-06 15:06:13 +02:00
Sale Djenic 59f23c82f7 feat(@desktop/keycard): new assets added
Images required by new design added.
2022-09-06 15:06:13 +02:00
Khushboo Mehta e9c270da87 fix(@desktop/wallet): Entering ENS name in SendModal doesnt work
fixes #6695
2022-09-05 14:55:31 +02:00
Stefan d81b6ca518 fix(Chat): improve gif confirmation popup and fix preview whitelisting
Enable preview for gifs after enabling the gif functionality
Disable gif functionality if the preview was disabled

Addition fixes
- The gifs weren't checked if all images weren't enabled
- The subdomain wasn't checked for whitelisting if the main domain wasn't enabled
- Image clicking
- Dismiss asking for unfurling was not updating the state

Considerations
- Looked into having the "gif enabled" - "tenor unfurling" relation
embedded in the controller but it would require extensive refactoring
by implementing a data-model for unfurling whitelisted domains

Closes: #6829
2022-09-05 12:41:48 +02:00
Stefan b691d358e5 chore(Chat/StatusGifPopup): refactor and simplify gif popup
Updates: #6829
2022-09-05 12:41:48 +02:00
Alexandra Betouni e1c548696f feat(Desktop)!: Updating desktop app due to IconSettings refactor
As part of https://github.com/status-im/StatusQ/issues/781
2022-09-02 18:41:21 +03:00
PavelS ad484d7d01 fix(@desktop/chat): adjust emoji popup behaviour
Fixes #7094
2022-09-02 17:22:00 +03:00
Lukáš Tinkl b1259a83f4 fix(StatusEmojiPopup): 'Flags' section is cut off in the emoji modal
account for top/bottom padding in the scroll view to fix the overall
height calculation

plus some smaller, mostly correct margins, cleanup

Fixes #7174
2022-09-01 19:28:21 +02:00
Lukáš Tinkl 65a1f06382 fix(StatusEmojiPopup): fix initial loading of recent emojis
the "Recent emojis" was always empty until the user has clicked
additional emoji

loading the recent emojis in `Global.onSettingsLoaded` is too late; it's
executed long before the popup is opened; instead do it at the end of
parsing the categories
2022-09-01 19:28:21 +02:00
Lukáš Tinkl d30c80ef24 fix(Emoji/SearchBox): adjust right padding
clear icon was overlapping the search field's frame

Fixes #7175
2022-09-01 19:28:21 +02:00
Lukáš Tinkl 2606de5ccb fix(StatusEmojiPopup): fix emoji popup "y" position
it was off by `Style.current.halfPadding`
2022-09-01 19:28:21 +02:00
Igor Sirotin 5c909cae6c fix(Profile): Added menu to remove profile image 2022-09-01 15:48:22 +03:00
Igor Sirotin 980135fedf fix(ProfilePopup): Bind to displayName if current user 2022-09-01 15:31:50 +03:00
Igor Sirotin 66b79fbda8 tests: Can change own display name in ProfilePopup 2022-09-01 15:31:50 +03:00
Michal Iskierko d6a061a517 feat(@desktop/chat): Add setting image in group chat
Image and cropping information are sent to status-go.

Issue #6466
2022-09-01 12:25:53 +02:00
PavelS a01e0822b7 feat(@desktop/chat): add textformat quote option functionality
Adjust text format popup position

Fixes #6988

Requires https://github.com/status-im/StatusQ/pull/876
2022-09-01 12:45:45 +03:00
Lukáš Tinkl 24719c680f fix(ChooseBrowserPopup): 'Choose browser' modal doesn't look good
- export a non-blurry browsers image from Figma
- bring the whole UI closer to the design
- sllight refactor to user StatusDialog and layouts

Fixes #7169
2022-08-31 15:04:34 +02:00
PavelS 8de1e42a0f fix(@desktop/chat): add autoscroll to cursor in chat input
Requires https://github.com/status-im/StatusQ/pull/868

Fixes #7093
Fixes #7171
2022-08-31 12:02:44 +03:00
Lukáš Tinkl 15d33eb7fd fix(Global): 'Open in Browser' doesn't work in chat
strip the URL from any HTML tags before trying to open it; Qt sometimes
likes to leave some HTML tags there and that breaks the URL validity
checks further on

Fixes: #7170
2022-08-31 09:56:15 +02:00
Stefan b499942eea fix(Wallet/AddAccountModal): fix status-go error messages
Remove the unneeded native error dialog showing internal status-go
error strings. Instead redirect the error message for wrong private key
as specific error message.

Fixes: #6984
2022-08-30 19:05:06 +02:00
Igor Sirotin 41910c9a8a fix(tests): Fixed message reply test 2022-08-30 17:03:36 +03:00
Khushboo Mehta ddb9caf4d7 feat(@desktop/wallet): Display price changes
fixes #6482
2022-08-30 10:27:35 +02:00
PavelS 3bd6fe0fdf fix(@desktop/community): add online status to invite modal
Replace Contact component with StatusMemberListItem.
Add missing Nim functions to fill models with onlineStatus.
Adjust components paddings to match design.

Fixes #6985
2022-08-30 10:16:37 +03:00
Jonathan Rainville 6bd1cfde72 test(chat): add a test that install a sticker pack and sends a sticker
Fixes #6962
2022-08-29 10:52:00 -04:00
Jonathan Rainville 7544bd6fb5
fix: change gateway and remove old code to decode the hash
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
Noelia 3d6e40fd79 feat(CommunityPermission): Added `How holds` collectibles dropdown
- Added collectibles tab component.
- Added extended dropdown base content component
- Added filter popup option.
- Added collectibles model
- Added subitems in model
- Added thumbnails mode view
- Created `CommunitiesStore` and moved mock data to there.
- Added forward subitems navigation and selection.
- Updated `statusq`.

Closes #6337
2022-08-26 18:06:58 +02:00
Jonathan Rainville 2bbd9f4363 fix(wallet-test): fix balance test
The test network was toggled twice. The banner was impeding with the wallet setting click. The asset list item was missing the objectName and also checking the balance was not resilient
2022-08-26 10:59:25 -04:00
Jonathan Rainville 109b9ac290 test(community): add a test that pins and unpins messages
Fixes #6894
2022-08-26 10:29:28 -04:00
Boris Melnik 02b9ceff78 fix(EmojiPopup): Fix emoji suggestions and add tests for it
Closes: #7020
2022-08-26 12:41:28 +03:00
Boris Melnik 10d53454b3 test(chat): Can send a gif
Closes: #6882
2022-08-26 12:18:42 +03:00
Pascal Precht fa5b862d2c feat(CreateCommunityPopup): introduce file selector and category panels 2022-08-26 10:59:41 +02:00
Boris Melnik c7efbe6629 test(chat): Can edit a message and save
Closes: #6877
2022-08-26 11:57:59 +03:00
Pascal Precht 3509de8673 feat(AdvancedView): introduce feature flag for discord import tool
This adds a feature flag for the discord import tool so we can start
landing individual pieces of the feature without it being fully
implemented.

It also introduces the modal chooser for creating new communities but
it doesn't do anything more than that, as of this commit

Closes #6843
2022-08-26 10:18:49 +02:00
Pascal Precht e98a3b27fb refactor: move CommunityBanner to shared namespace 2022-08-26 10:18:49 +02:00
Michał Cieślak dfc7a6a951 fix(StatusChatInput): Remove formatting when pasting, pasting on selection fixed
Fixes #7015
Fixes #7097
2022-08-26 10:05:46 +02:00
Khushboo Mehta e79d9dfc95 fix(@desktop/wallet): Search Bar missing in token selection popup
fixes #7014
2022-08-25 17:31:28 +02:00
Jonathan Rainville 6a603413c6 test(community-chat): add test to send images in chat
Fixes #6880
2022-08-25 10:23:43 -04:00
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03:00
Sale Djenic 398f62806f feat(@desktop/keycard): initial UI for the keycard settings
This is just a wireframe implementation, without any special functionalities.

Fixes: #7023
2022-08-24 14:18:06 +02:00
Khushboo Mehta 8eb328bae7 fix(@desktop/sugnup): Profile omage chosen during signup sould be saved for the user and squish test for the same
fixes #6861
2022-08-24 11:21:16 +02:00
Khushboo Mehta 29c40a0695 fix(@desktop/wallet): Added squish test for the user being able to turn his state to online and/or offline
fixes #6895
2022-08-23 15:48:37 +02:00
Richard Ramos 83079cd147 fix: remove recipient selector from StatusETHTransactionModal 2022-08-23 08:52:01 -04:00
Anastasiya S 9283e68421 fix: calculate estimated time in ens modal
fix: calculate estimated time in ens modal
2022-08-23 08:52:01 -04:00
PavelS 38c77095b8 fix(@desktop/chat): adjust add members default picture
Update colorForPubkey to check if colorId is in bounds
Replace userCustomizationColors array usage with Utils function call

Fixes #6971
2022-08-23 13:07:58 +03:00
Khushboo Mehta 0515152bd7 feat(@desktop/wallet): Add Token Detail View
fixes #6491
2022-08-23 10:52:26 +02:00
Michał Cieślak 7ef4a2d257 fix(StatusChatInput): infinite loop when pasting mention 2022-08-22 13:37:18 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
Michał Cieślak 91bae9c3da fix(@desktop/chat): gif selector UI adjustments 2022-08-19 12:09:44 +02:00
Alexandra Betouni 07dbca905c fix(Chat/CompactMessageView): removed space above image in msg
Closes #6855
2022-08-18 17:44:17 +03:00
PavelS ba50c69b76 fix(@desktop/community)!: missing error messages
Remove ValidationMode.Always for StatusInputs because by default they
are invalid and validate input when dirty
Remove condition from errorMessage of BackupSeedStepBase as not needed.

Fixes #6825

Requires https://github.com/status-im/StatusQ/pull/858

BREAKING CHANGE: StatusInputs are invalid by default and validate when
dirty.
2022-08-18 15:17:14 +03:00
Anthony Laibe ade9086b81 test(@wallet): add test for ens name 2022-08-18 13:11:36 +02:00
Jonathan Rainville 016e3927f2 test(chat): add test that sends a message with an emoji
Fixes #6881
2022-08-17 11:33:36 -04:00
Patryk Osmaczko 185de9f4c8 chore(settings/profile): rework ProfilePopup to StatusDialog
iterates: status-im/StatusQ#760
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 4c2a7656f2 chore(settings/profile): address social links QA issues 2022-08-17 13:18:32 +02:00
Patryk Osmaczko 88ad09f7c2 feat(settings/profile): add bio and social links to profile view
closes: #6797
2022-08-17 13:18:32 +02:00
Patryk Osmaczko 46e01afa04 feat(settings/profile): add social links' ui primitives
iterates: #6797
2022-08-17 13:18:32 +02:00
Alexandra Betouni 9ecf2af3f1 fix(CommunityDialogIntro): Fixed intro txt layout issues
Closes #6856
2022-08-16 20:10:55 +03:00
Alexandra Betouni ffbe16da3e fix(Chat/UserImage): corrected user image dimensions
Closes #6852
2022-08-16 19:37:19 +03:00
Alexandra Betouni c2ad7281ae feat(utils): Adding Tracer component
Used to help determine UI components position
and dimensions
2022-08-16 19:14:48 +03:00
Alexandra Betouni 504b4f5947 fix(Chat): big space between username and time
Closes #6832
2022-08-16 18:36:20 +03:00
Sale Djenic b34f0a4736 fix(@desktop/keycard): keycard is not recognized when inserted with wrong side
Fixes: #6960
2022-08-16 16:43:33 +02:00
Stefan 057c0ee1c9 test(Communities): can change the emoji of a community channel
Closes #6887
2022-08-16 14:18:16 +02:00
Noelia 1334fbb5f4 test(chat): Can do a mention in a chat
`tst_chatFlow`:
- Commented out bc of `mailserver` issues and then weak.
- Added basic test scenario for sending a mention in a public chat with needed validations.
- Added basic test scenario to check a mention cannot be done if it is a non existing user.

`StatusChatScreen` updates:
- Updated join room method to validate the chat is loaded.
- Added methods for doing and verifying a mention.

`SquishDriver` updates:
- Added support in `SquishDriver` to click into a link in a text or label component.
- Minor function renames.

Closes #6879
2022-08-16 13:42:56 +02:00
Noelia 7b54bf31b4 feat(CommunitySettings / Permissions): Added `welcome` page and `How holds` tokens dropdown
- Added functionality as experimental advanced view button

feat(CommunitySettings / Permissions): Added welcome page
- Enabled new permissions tab.
- Created welcome page layout.
- Added permissions welcome image.
- Fixed top margin content in `SettingsPanelLayout` to fit designs.

Closes #6036

feat(CommunitySettings/Permissions): Created `new permission` page

- Added `new permission` page.
- Created first card layout.
- Added navigation between `welcome` and `newPermission` views.
- Improvements in base community settings layout pages.

Closes #6037

feat(CommunitySettings/Permissions): `Who holds` tokens dropdown component creation and integration

- Tokens dropdown component creation: main view, operators view and extended view.
- Logic to add new token and change operator.

Part of #6038
2022-08-16 13:42:11 +02:00
PavelS 78969cb8e0 fix(@desktop/chat)!: adjust image context menu size and position
Fixes #6830

Requires https://github.com/status-im/StatusQ/pull/852

BREAKING CHANGE: StatusImageModal clicked signal contains MouseEvent now
2022-08-15 15:05:16 +03:00
Boris Melnik fbc10e7665 fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: #6345
2022-08-15 14:10:27 +03:00
Khushboo Mehta de2d4f405d fix(@desktop/wallet): Crash when staying on Advanced screen for ~30 minutes
fixes #6474
2022-08-15 09:54:10 +02:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
MishkaRogachev 0418979e9c fix(desktop): Move Input anchors binding to client code 2022-08-12 11:54:51 +04:00
MishkaRogachev 34671a27c1 fix(@desktop/community): Add tags row on communities portal page
Close #6734
2022-08-12 11:52:13 +04:00
Alexandra Betouni b140596412 fix(StatusStickerPopup): Bottom row layout issues
Closes #6833
2022-08-11 15:16:40 -04:00
Sale Djenic 201517aa88 fix(@desktop/keycard): keycard images have white background on dark mode
Images are updated the way they are the same as those we're using for the light
theme, but now without white background. All in all it does the job till we get
a better images from the design team, specialized for the dark theme.

Fixes: #6823
2022-08-11 14:56:04 +02:00
Anthony Laibe 2f7e6998bf test(@wallet): Add test for toggling network & balance 2022-08-11 14:09:07 +02:00
Sale Djenic 505b242246 fix(@desktop/keycard): implement new keycard factory reset flow
This partially covers factory reset flow. The part where user is able to select which accounts
wants to remove/keep from/on a keycard will be added later once we add the keycard settings part
for storing those data to a keycard.

Fixes: #6790
2022-08-11 13:57:37 +02:00
PavelS e0f051006a fix(@desktop/community) adjust Image Upload popup
- update to fixed version of StatusQ

Fixes #6835
2022-08-11 12:49:28 +03:00
Igor Sirotin 3b40649b7b fix(RecipientSelector): Fixed validation 2022-08-11 00:32:09 +03:00
Jonathan Rainville 44cf440a05 test(community): add a test that edits a community
Fixes #6756
2022-08-10 16:24:26 -04:00
PavelS da517f5888 fix(@desktop/welcome) adjust welcome page
Fixes #6820
2022-08-10 15:46:14 +03:00
Jonathan Rainville 1dd6385cae test(all): fix all remaining tests and comments the broken ones
Fixes #6853
2022-08-09 16:51:30 -04:00
Jonathan Rainville 739437df56 Revert "fix(Profile): Added menu to remove profile image"
This reverts commit f60dacc45d.
2022-08-09 15:09:45 -04:00
Igor Sirotin f60dacc45d fix(Profile): Added menu to remove profile image 2022-08-09 10:46:31 +03:00
Richard Ramos 148c677b66 fix: ens details view 2022-08-08 20:42:56 -04:00
Michal Iskierko 7915781d80 fix(@desktop/general): Fix import in ImageCropWorkflow
Issue #6866
2022-08-08 14:30:00 +02:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
Jonathan Rainville 430c5eb0b7 Revert "fix(CreateChatView): Move `ActivityCenterPopup` to appmain"
This reverts commit f1651ce4aa.
2022-08-05 13:46:32 -04:00
Jonathan Rainville 9591123b7e test(onboarding): fix signup with seed phrase tests
Fixes #6744
2022-08-05 12:41:30 -04:00
Boris Melnik f1651ce4aa fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: #6345
2022-08-05 18:38:28 +03:00
MishkaRogachev 3afa49a873 fix(@dektop/chat): Fix messages timestump update
Close #6543
2022-08-05 17:15:38 +03:00
Alexandra Betouni 714434e61b fix(CreateChannelPopup): fixed emoji popup position
Also
* updated popup to derive from StatusDialog
* removed emojilists.js duplicated file

Closes #6729
Closes #6730
2022-08-04 18:05:36 +03:00
Alexandra Betouni 6b63d8ee7a fix(StatusModal): back button arrow was tiny
Closes #6727
2022-08-04 13:13:50 +03:00
Sale Djenic 70a1381e86 chore(@desktop/onboarding): splash screen used as app loading animation
Fixes #5753
2022-08-04 09:50:04 +02:00
Sale Djenic db44bc25d3 feat(@desktop/keycard): initial keycard implementation
Keycard implementation affected onboarding/login flows.
- new user - first run - new keys into keycard
- new user - first run - import seed phrase into keycard
- old user - first run - login importing from keycard
- login the app using keycard

Fixes: #5972
2022-08-04 09:50:04 +02:00
Jonathan Rainville 03f1fe500b test(chat): add test to delete messages
Fixes #6757
2022-08-03 13:19:32 -04:00
Khushboo-dev-cpp 405eae1024 chore: reverted changes made in #6561 2022-08-03 17:29:31 +02:00
Igor Sirotin 6e495596c6 fix(StatusAssetSelector): Reimplemented using `StatusComboBox` 2022-08-03 17:29:31 +02:00
Igor Sirotin 72cc269ae6 fix(ContactSelector): Minor improvements 2022-08-03 17:29:31 +02:00
Igor Sirotin 5fb2be95ef fix: Reimplemented selectors using `StatusComboBox` 2022-08-03 17:29:31 +02:00
Lukáš Tinkl baa7d3758a fix(Input): unable to place cursor using mouse
drop a defunct MouseArea that was being used for a context menu which got
removed in the meantime; it breaks clicking inside the TextField

Closes: #5167
2022-08-03 12:01:52 +02:00
PavelS 368b29bb38 fix(@desktop/chat) keep message hover effect while context menu open
- keep context menu when emoji reaction clicked
- move Connections out of Loader

Fixes #6633
2022-08-03 11:54:08 +03:00
Khushboo Mehta e5358bf29a fix(@desktop/wallet): Implements basic collectible view
fixes #6492
2022-08-03 10:11:09 +02:00
Anthony Laibe 03b3b0c6f5 test(@wallet): send transaction 2022-08-03 09:45:55 +02:00
Khushboo Mehta 76d7ca089c feat(@desktop/wallet): Send modal should work as a wizard and use StatusDialog instead of StatusModal
fixes #6587
2022-08-03 09:42:06 +02:00
Khushboo Mehta 39cf2f3fac fix(@desktop/wallet): Token selector in the send modal doesn't look like design and overflows window
fixes #6499
2022-08-03 09:26:18 +02:00
Patryk Osmaczko 43de90e80e feat(settings): add alpha and beta language sections
closes: #6662
2022-08-02 17:27:32 +02:00
Jonathan Rainville ed1f189a69 test(chat): add test to reply a message
Fixes #6670
2022-08-02 10:22:08 -04:00
Patryk Osmaczko 9f6feb67dd fix(cpp): make libraries which are not dynamically loaded static
Otherwise, linker will optimize resources registration code on Linux,
resulting in resources loading failure.
2022-08-02 15:30:08 +02:00
Stefan 1f43c541cf chore(CPP): fix not finding module libs on linux/windows
Also fix moving window in new account wizzard

Updates: #6321
2022-08-02 15:30:08 +02:00
Anthony Laibe 67191cc287 fix(@wallet): do not display balance with scientific format
fixes #6648
2022-08-01 12:42:10 +02:00
Jonathan Rainville 16b2ca5c2c feat(contacts): add respond to request and pending contact menu options
Fixes #6251

Adds the "Respond to Contact Request" and "Contact Request Pending" options to the MessageContextMenu

Also fixes some small issues with contact verification where the state of the incoming request was not correct
2022-07-29 09:43:35 -04:00
Jonathan Rainville 03780d4875 feat(MessageContextMenu): add option to verify identity in context menu
Fixes #6252
2022-07-29 09:43:35 -04:00
Noelia 7b4802db83 test(CreateGroupChat): Create Group Chat
- Created new test case with basic create group chat scenario.
- Added specific data folder for `tst_groupChat`.
- Removed deprecated data folder.
- Added dynamic login (depending on the account).
- Added global account information in `suite_status/data` folder.
- Added new group chat validations, title, history texts, members added and send chat message.
- Replaced some ids by objectNames.
- Some improvements in `names.py`.
- Onboarding objects refactor.

Fixes #6444
2022-07-28 14:21:32 +02:00
Alexandra Betouni a4127925df fix(LoginView): Password field design inconsistencies
Closes #6519
2022-07-28 10:30:59 +03:00
Khushboo Mehta 25c79230b6 fix(@desktop/wallet): Send Transation modal colors need to be adjusted to match designs
fixes #6497
2022-07-27 18:32:56 +02:00
Lukáš Tinkl ee43cb277a fix(AppearanceView): UI issue fixes
- fix system appearance preview being cut off
- bring the panel close to UI design (I haven't changed the common
  stuff like headline fonts, overall margins, etc)

Closes: #6623
2022-07-26 23:41:30 +02:00
Alexandra Betouni be64f60a86 fix(StatusInput): Updated status input custom height leftovers
Closes #6637
2022-07-26 14:45:41 -04:00
Alexandra Betouni c11ee2d3e8 fix(Wallet): Saved address add/edit modal layout issues
- Also replaced StatusModal with StatusDialog

Closes #6495
2022-07-26 13:53:34 +03:00
Khushboo Mehta 7ba6e06bc5 fix(@desktop/wallet): QR network picker style is a bit off
fixes #6386
2022-07-25 21:12:10 +02:00
Jonathan Rainville 8e96e6879c test(community): add test that creates a community channel
Fixes #6533
2022-07-25 13:07:46 -04:00
Lukáš Tinkl 120f6517c9 fix(CompactMessageView): disable hovering while scrolling
Fixes #6576
2022-07-25 18:21:14 +02:00
Alexandra Betouni 84522bd7fe fix(CommunitiesPortal): fixed status input as per design
Closes #https://github.com/status-im/status-desktop/issues/6358
2022-07-25 15:07:27 +03:00
Alexandra Betouni 3b0dbd6052 fix(Wallet/AssetList): Updated as per designs
Closes #6481
2022-07-25 13:30:50 +03:00
Anthony Laibe 6b9b5f20a8 fix(@community): Fix community join bubble
fixes #6133

When restarting the app, the community is not in the list
and data needs to be requested
2022-07-24 12:31:53 -04:00
Kamil K 95df151123 fix(@desktop): set small gap between emoji icons - as designed
fixe: #6300
2022-07-24 12:30:50 -04:00
Kamil K 2ae9e38809 fix(@desktop): reduce spaces between emoji icons
fixes: #6300
2022-07-24 12:30:50 -04:00
Kamil K ea00d4c46d fix(@desktop): reduce emoji hash icon size
fixes: #6300
2022-07-24 12:30:50 -04:00
Khushboo Mehta f746b2c279 fix(@desktip/wallet): Wallet / Send Popup - Can't scroll outside the list of accounts after selecting one
fixes #6196
2022-07-22 13:18:07 +02:00
Khushboo Mehta ec8320f3bb fix(@desktop/wallet): In the Send Modal the saved addresses and my accounts sections need to be adjusted to match design
fixes #6498
2022-07-22 11:47:40 +02:00
Anthony Laibe 46f82f2c5e feat(@test): Add test for delete account 2022-07-22 09:20:55 +02:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Lukáš Tinkl 89f42c9fc3 fix(MessageContextMenuView): popup menu's fixes
- add the (Un)Mark as Untrustworthy action to the menu
- fix the placement and visuals of the (Un)Block menu item
- add a missing separator above these
- store the blocked and trust details in `d.contactDetails` and properly
  refresh it upon opening the menu
- some other smaller UI fixes to align the menu to the design

Closes #6538: Stranger's (untrustworthy) menu doesn't match the Design

Closes #6535: The stranger's card doesn't match the Design
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ddd75c8f5 fix(UserImage): fix context menu placement
previously, the context menu would be randomly placed; now the image gets
access to its context menu and allows for placing it precisely, just like
it's done in UsernameLabel
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ad23c24d7 fix(MessageView): unbreak clicking on a reply's profile image
the role name exported by the model has (likely) changed :/

`qrc:/imports/shared/views/chat/MessageView.qml:212: Error: Cannot assign [undefined] to QString`
2022-07-21 15:55:55 -04:00
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 2022-07-21 18:44:30 +03:00
MishkaRogachev 667db7038a fix(@desktop): StatusScrollView fixes for wallet 2022-07-21 18:44:30 +03:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close #6187
2022-07-21 18:44:30 +03:00
MishkaRogachev 0d3aed0611 fix(@desktop): Fix scrolling twitches using ScrollView amd Flickable items
Close #5781
2022-07-21 18:44:30 +03:00
Michał Cieślak 819d210ab8 fix(@desktop/chat): Block 'Done' btn when nickname is invalid 2022-07-20 16:52:23 -04:00
Alexandra Betouni bdfb6ff449 fix(WelcomeScreen): Updated image and margins
Closes #6021
2022-07-20 15:47:16 -04:00
Alexandra Betouni 7df5ddc1e7 fix(Wallet/SavedAddresses): updated addresses list delegate
based on new designs

Closes #6494
2022-07-20 16:54:42 +03:00
Lukáš Tinkl 81cda65b20 chore(i18n): add some missing i18n()
+ remove one last qsTrId()
2022-07-20 11:31:15 +02:00
Patryk Osmaczko 5aea3d26a8 chore(dialogs): adapt CommunityIntroDialog
iterates: status-im/StatusQ#760
2022-07-18 13:12:45 +02:00
Michał Cieślak 478b46f6b5 fix(@desktop/chat): Align message field placeholder with design 2022-07-18 12:45:36 +02:00
Noelia ee8477ae9b fix(StatusChatInput): 'Unblock' is not vertically aligned in 1-1 chat
`StatusButton` is now used correctly. There are 3 different button variations with preset heights/widths and paddings. The consumer cannot change the height without altering the expected behaviour and display of the button.

Button height is now consistent with chat input.

Fixes #6298
2022-07-18 08:46:13 +02:00
Jakub Sokołowski 9b8138a3e6
rename status-react to status-mobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-17 16:55:57 +02:00
Jonathan Rainville e9051e27ad fix(main): fix missing icons for the tray icon 2022-07-15 10:04:16 -04:00
Alexandra Betouni 2bd685943f feat(chat): Removing dynamic scoping from chat section
Closes #4244
2022-07-15 17:00:36 +03:00
Khushboo Mehta 35a5ab57f0 feat(@desktop/wallet): Implement the advanced/custom view with simple same network transfers
fixes #6268
2022-07-14 16:28:38 +02:00
Khushboo Mehta 3a70499f15 fix(@desktop/chat): The asset name is overlapped by an arrow
fixes #6056
2022-07-14 09:12:30 +02:00
Noelia 47897f431f fix(Chat/ReactionDialog): The reaction dialog is shown in different places
Changed x and y assignment trigger to get the correct value once the position depends on the own popup height.

Fixes #6264
2022-07-13 10:55:12 +02:00
Anthony Laibe ff12c85f07 fix(@wallet): move estimation time to status-go 2022-07-12 14:44:06 +02:00
Lukáš Tinkl e41d73eae3 fix: unbreak "fetch more messages..."
leftover from the qsTrId() -> qsTr() transition; obey the locale
settings a bit more
2022-07-12 12:37:00 +02:00
Michal Iskierko 7d4d1747aa fix(@desktop/general): Improve UserStatusContextMenu
Fix #6090
2022-07-12 11:03:31 +02:00
Lukáš Tinkl c14ff47af8 fix(ProfilePopup): fix chatkey and contact icons in the header
Fixes #6396
Fixes #6398

- fix displaying the chatkey and the copy button next to it using layouts
- hide the mutual contact and verified contact icons in case of My
profile
2022-07-12 09:40:20 +02:00
Lukáš Tinkl 585a628b67 fix(ProfilePopup): title of My Profile popup is incorrect
Fixes #6397

just display "My Profile" and no subtitle in this case
2022-07-12 09:40:20 +02:00
Lukáš Tinkl ebff2538fa fix: add forgotten qsTr() 2022-07-12 09:40:20 +02:00
MishkaRogachev 1cca25e08d feat(chat): Message display several images
Close #4905
2022-07-11 17:41:47 +03:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
MishkaRogachev 167cb9e63f Fix(Chat): Reset MessageContextMenuView state on close
Close #5289
2022-07-11 11:39:59 +03:00
Pascal Precht 51b661386a refactor: always request access to join community
We no longer send community invites to users, instead we just share the
community and let users request access.

That request will either be automatically or manually accepted by the owner/admin.

Depends on https://github.com/status-im/status-go/pull/2682

Closes #5115
2022-07-08 13:18:37 +02:00
Lukáš Tinkl f798d6d0e6 fix(profile): the profile image is blurred in different places
Closes #6295

- use the recently introduced `profileLargeImage` property for bigger user
images
- fix some QML(lint) warnings
2022-07-08 09:40:22 +02:00
Sale Djenic a9f179cab3 StatusSyntaxHighlighter added 2022-07-07 23:23:09 +02:00
Sale Djenic 922a38108d feat(@desktop/cpp-app): base structure for new cpp app
- applied new project structure
- new cmake scripts organizations
- conan script for adding gtest and boost::di
- boost::di introduced
- gtest introduced

Fixes #4894 #4834
2022-07-07 23:23:09 +02:00
Richard Ramos 75a3ff858c feat: check for updates (using status-go) 2022-07-07 09:54:55 -04:00
Jonathan Rainville f5d2d9d0ac fix(MessageView): slow chat switching because of height recalculation 2022-07-06 14:05:06 -04:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Michal Iskierko 45448db90a feat(@desktop/general): Change user statuses
Handle user statuses from status-go: Always Online, Automatic, Inactive.
Handling updating own status on member list.

Issue #5886
2022-07-06 09:38:11 +02:00
Patryk Osmaczko 0e3c20fb22 chore: remove duplication 2022-07-05 17:10:15 +02:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Patryk Osmaczko 51aa4a6d86 chore: extract Utils.elideText() 2022-07-05 17:08:36 +02:00
Lukáš Tinkl 94bf0a0f88 fix(gif popup): fix the popup after sending a GIF
Close #6083
2022-07-05 12:37:56 +02:00
Lukáš Tinkl 6d8cee9541 fix(gif/emoji popup): pre-focus the search field
Close #6165
2022-07-05 10:16:52 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
Khushboo Mehta e6f809b921 feat(@desktop/wallet): Using Floating Buttons in the Send Modal
fixes #6228
2022-07-04 15:28:35 +02:00
Anthony Laibe 9b298e4ace fix(@wallet): Always display snt/eth/dai
fixes #6160
2022-07-04 11:12:50 +02:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Igor Sirotin 36a079aea8 fix(icons): Updated arrow icons 2022-07-01 17:43:13 +04:00
Stefan 37ab1a5513 chore(CPP/CI): basic CI setup for linux cmake build
Linux dockerized build and AppDir generation for compilation errors

Also added AppImage TODOs, basic setup for MacOS and Windows but they
still need work to have at least validation running

Temporary disable CPP windows/mac until limitations are
addressed in a follow up commit

Extra: add build configuration fixes for rest of the platforms

closes: #5998
2022-07-01 14:41:28 +02:00
Igor Sirotin eb7fa5be8b fix(ChatButtonsPanel): Added pin/unpin and delete buttons 2022-07-01 12:59:03 +04:00
Stefan 1e8c851283 chore(CPP): Basic project configuration setup using Qt6
Considerations

- Use versioned files. Versioned Qt CMake APIs are disabled to force explicit calls and say that we don't support older `QT`s
- Don't use blobbing. Use `target_sources` and `qt_target_qml_sources`
- Distribute `CMake` definitions closer to the context: main folders with their own `CMakeLists.txt`
- Everything in libraries under `Status` namespace for cleaner code.
- Includes are exposed with Module folder externally and without prefix internally
- File/Folders name matches definitions they contain for uniformity that leads to cleaner code
- All source files (cpp, qml, js ...) have to be added to one of the CMakeLists.txt files to be tracked by CMake build system.
- Use BUILD_DEBUG, BUILD_RELEASE and BUILD_DEVELOPMENT variables from Helpers library
- Avoid Include directories. Not needed anymore CMake `target_*` APIs handles this through `INTERFACE`, `PUBLIC` and `PRIVATE` scope identifiers
- `StatusQ` is meant to be compiled as an external library, therefore StatusQ tests are kept inside its own directory
- Forced CMake version to `3.21` for the latest features and fixes. It is desired to be kept as recent as possible due to its backward compatibility. Following Qt's shipped version might be an option
- Depends on status-go changes to allow forcing of arm for apple silicon

Found limitations to CMake Qt API with Qt 6.3

- Having `0` as major version when using `qt_add_qml_module` doesn't work. Qml engine reports loading the `qmldir` but won't load the plugin library and no error is reported outside that exposed types are not found.
- `qt_target_qml_sources` doesn't work now, it generate a double copy error when deploying qml files in bin-directory. For now we stick with adding files using `qt_add_qml_module` central place
  - Need to add `OUTPUT_DIRECTORY` to `qt_add_qml_module` to use the workaround
- If `MACOSX_BUNDLE` target property is set breaks importing of QML files. Disabled until fixed or workaround found
- For an unknown reason application executable tries to include the `QML_ELEMENT` include files, therefore for now I include all the C++ qml elements in INTERFACE
2022-06-30 12:16:33 +02:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Khushboo Mehta 6deb900ac5 hotfix(@desktop/chat): Removed the condition that was causing the chat highlight animation to run each time it was visible 2022-06-29 14:18:40 -04:00
MishkaRogachev 3271aff7c7 fix(@desktop): Hotfix Popup's margins
This is a combination of 2 commits.

fix(@desktop): Hotfix Popup's margins

chore: bump statusq
2022-06-29 14:09:33 -04:00
Jonathan Rainville ce51a29119 hotfix(USerImage): user image not showing because binding not working 2022-06-29 18:40:03 +02:00
Jonathan Rainville 8685ad92c9 fix(chat): fix switching back to chats is very slow
Fixes #5615
2022-06-28 16:24:49 -04:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00
MishkaRogachev a9b2459d79 fix(@desktop): Remove nested popups in create community
Close #6027
2022-06-27 13:12:52 -04:00
Noelia 70383a51bd feat(CommunitiesPortal): Enable Communities portal & update chat menu
- Removed 'Communities Portal' toggle from the advanced settings and enable it by default.
- Removed dropdown menu. The button opens directly the join public chat modal.
- In the portal, "Import community" button is now clickable and opens the import community modal.
- In the portal, "Create community" button is now clickable and opens the create community modal.
- Enabled navigation to the clicked community.

Closes #6099
2022-06-27 10:28:36 +02:00
Anthony Laibe c34ee41971 fix(@wallet): address input keep loading
In case of a public key, the loader was always visible and an ephemeral
notification was display but it should not

Also, the show not found is disabled if there is no contact list being
displayed
2022-06-27 08:57:10 +02:00
Jonathan Rainville 8c1024354e fix(CompactMessage): fix message height and spacing
Fixes #6169
2022-06-22 16:45:57 -04:00
Sale Djenic 60ed62231e fix(@desktop/wallet): estimated time for transaction is always Unknown
Fixes #5938
2022-06-22 16:02:25 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Jonathan Rainville 9ebe9ec2c5 fix: fix blurry chat identifier and expose large image in contact proc
Fixes #6190
2022-06-22 15:33:11 -04:00
Jonathan Rainville 6f14921c9b chore(community): replace plus button by adhoc btn
Fixes #5677
2022-06-22 09:01:45 -04:00
MishkaRogachev 95326620c3 fix(@desktop): Send contact request from profile
Close #6125
2022-06-21 14:20:49 -04:00
Sale Djenic 8f4e9bb3da fix(@desktop/chat): filter paid stickers if the wallet is not enabled
Fixes: #5923
2022-06-21 13:18:43 -04:00
Anthony Laibe 2112135c6f fix(@communities): remove totally the toggle for experimental feature
fixes #6175
2022-06-21 12:12:09 -04:00
Anthony Laibe c2555a7650 fix(@chat): handle image placeholder
fixes #5934

Mobile still send the placeholder so we need to handle this case
manually by removing text if this is exactly equal to the placeholder
2022-06-21 11:35:23 -04:00
Alexandra Betouni 65d90cbc51 fix(LoginView/AboutView): Update status logo image
Closes #6051
2022-06-21 11:06:03 -04:00
Sale Djenic 3aba152206 fix(@desktop/general): multiple ui issues fixed
- Channel is blank on first time joining - fixes: #6131
- Contacts list is empty when trying to invite/share community - fixes: #6139
- The same name is shown for all invited contacts - fixes: #6105
- The names and avatars of contacts are empty in the Contact requests - fixes: #6084
- 'Invite friends' dialog doesn't look good in the minimized app mode - fixes: #6106
2022-06-21 16:16:55 +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
Noelia b039e9d67d fix(Chat): The text and emoji are not vertically aligned in the chat message
Added top margin in message text.
Fixes #5953
2022-06-15 12:56:58 -04:00
Patryk Osmaczko 6743bee1aa fix(@desktop/chat): extract chat menu items
It removes duplication and unifies menu items across the app.

fixes: #5985
2022-06-15 12:56:32 -04: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
Igor Sirotin 1870e9a0ce fix: Moved `StatusTabButton` to StatusQ 2022-06-15 12:23:19 -04:00
mishkarogachev 7a14cf5640 fix(@desktop/profile): Contact requests should support a message
Close #5846
2022-06-15 11:56:05 -04:00
Patryk Osmaczko cdd06b05eb feat(@desktop/group-chat): remove explicit join for groups
closes: #5717
2022-06-14 15:21:56 -04:00
Boris Melnik 954acf0df4 fix(StatusChatInput): Fix emoji button click arguments
Closes: #3565
2022-06-14 14:34:34 -04:00
Boris Melnik d8b00bef02 fix(Chat): Messages with GIF not display the url
Closes: #6005
2022-06-14 14:32:11 -04:00
Boris Melnik 260f10a83e feat(CommunityOverview): Add Community Overview banners
Closes: #5978
2022-06-14 14:31:39 -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
Noelia 16dec86cef fix(Community/InvitationBubble): Community invitation doesn't look good
Bubble redesign by using `ColumnLayout`.

Fixes #5987
2022-06-13 13:17:53 +02:00