Commit Graph

3158 Commits

Author SHA1 Message Date
Lukáš Tinkl e50223e507 fix(Onboarding): align the 'Before you get started' popup with design
port to StatusDialog
2022-07-15 03:40:31 +02:00
Lukáš Tinkl 47818346e3 fix(Onboarding): align the 'Before you get started' popup with design
correct sizing, fonts, spacings, margins, etc

Fixes #6020
2022-07-15 03:40:31 +02:00
Patryk Osmaczko 280e29ad23 chore: remove *.qm files
*.qm files are build artifacts
2022-07-14 22:04:33 +02: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
Jonathan Rainville 4f3a6b46d3 fix(AppMain): put dropRectangle in a Loader, active when dragging
Fixes #6023
2022-07-14 09:44:20 -04:00
Alexandra Betouni 8433ed9545 fix(CreateChatView): fixed no contacts text alignment
Closes #6354
2022-07-14 16:00:30 +03: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
Kamil K d97ee7a7cd fix(@desktop/onboarding): replace placeholder text to Password
fixes: #6052
2022-07-13 23:45:55 +02:00
Kamil K 7dbc713dd8 fix(@desktop): correct spelling of you-r
fixes: #6229
2022-07-13 23:43:35 +02:00
Khushboo Mehta 864bdd63fa fix(@desktop/wallet): Fix for Wallet icon background color seems off in wallet settings under dark mode
fixes #6059
2022-07-13 13:20:29 +02:00
Lukáš Tinkl 1a2eb84ace fix(MyProfileSettingsView): fingerprint entry should fill the full width
Fixes #6361
2022-07-13 12:07:06 +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
Igor Sirotin 50de4594a5 fix(LoginView): Fixed arrow icon size 2022-07-12 16:59:15 -04:00
Lukáš Tinkl fa8c3c6efd fix(BackupSeed): backup seed phrase form is not centered
Fixes #6387

TLDR; since this is a GridView, it needs a width/height set and then
centered on top of the parent component (as opposed to `anchors.fill`)

Also added a scroll indicator in case the window height is not tall
enough and fixed some small warnings
2022-07-12 18:52:34 +02:00
Khushboo Mehta 5d6f2df145 fix(@desktop/wallet): Fix visual issues in add account modal
1. Alignment of the Inputs
2. Background color of the derived address panel

There is another issue pening which is already reported separately as https://github.com/status-im/status-desktop/issues/6315

fixes #6257
2022-07-12 15:14:35 +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 5bbc80091a chore(@desktop/general): Bump StatusQ version
Issue #6090
2022-07-12 11:03:31 +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 23cec98ab7 fix: correctly center the edit nickname popup 2022-07-12 09:40:20 +02:00
Lukáš Tinkl ebff2538fa fix: add forgotten qsTr() 2022-07-12 09:40:20 +02:00
Lukáš Tinkl 61ea1d41cd fix(ContactsColumnView): fix layout issues to match design
Closes #6343 and #6344

- basically switch over to a column + row layout(s), bringing consistent
margins and paddings, scratches a lot of redundant code
- fix the icon colors
- fixed another bug when opening the create chat panel, and then clicking
on an existing channel in the list, doesn't close this create panel
- remove unused signals and connections
2022-07-12 09:39:22 +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
Alexandra Betouni 353110d4ae fix(AddAccountPopup): layout issues
Closes #6315
2022-07-08 14:41:28 +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
Boris Melnik edb014bf12 fix(Community): Add check for admin permissions for context menu
Closes: #6162
2022-07-08 13:02:41 +03: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
Lukáš Tinkl aa804ffaef fix(CreateChatView): hide the Contacts label when no contacts
- hide the TagSelector's `listLabel` and disable the `textEdit` when the
  contacts model is empty
- add forgotten `qsTr()`
- remove some no-op positioniers/anchors/width/height bindings (these are
  handled automatically for QQC2 Control's header and contentItem)
2022-07-08 09:40:02 +02:00
Stefan a710558c6b chore(CPP): foundation for user onboarding
Contains minimal account creation and login

Considerations:

- migrated status-go wrapper and login code from the fix/cpp-structure (241eec)
- Minimal refactoring and changes at the moment. Expect further refactoring
follow up to reach the desired state.
- Fix missing keychain initialization
- Fix accounts DB initialization call done by startup -> Controller.openedAccounts -> status-go.OpenAccounts calls
- Small refactoring and todos for other steps
- fix SignalsManager
- fix async access to dereferenced status-go memory from SignalsManager
- fix SignalsManager not starting when registering
- finish dev end to end test for create account and login
- small improvements and added TODOs for future work
- add onboarding test helpers and start messaging test
- Refactoring towards Login UI integration

Closes: #5909
Closes: #6028
2022-07-07 23:23:09 +02:00
Sale Djenic e3b0610b65 single instance handled 2022-07-07 23:23:09 +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
Pascal Precht 04037d1d64 fix(Profile): ensure backup seedphrase warning disappears
The warning to back up the seedphrase should disappear after either
dismissing the message, or in fact backing up the seed phrase.

The latter was not happening because the banner didn't take that
information into account. This commit fixes this by ensuring we let the
banner know whether the seed phrase was already backed up.

Notice that we don't want to render the banner when the seed phrase has
*not* been backed up yet, but was dismissed by the user.

Fixes #6255
2022-07-07 15:18:56 +02:00
Mikhail Rogachev f03d89ad0d Update ui/app/AppLayouts/Profile/popups/BackupSeedModal.qml
Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
2022-07-07 14:47:12 +03:00
MishkaRogachev 6d72e19568 fix(@desktop): Refactor Backupseed modal
Close #6144
2022-07-07 14:47:12 +03:00
Lukáš Tinkl 4e71f813a2 fix(settings): flags are blurred in the Languages list
Fixes #6306

- update the StatusQ components to the latest commit which includes
the StatusIcon fixes
- switch the LanguageStore and CurrenciesStore to use SVG icons for flags
and money icons instead of PNGs
2022-07-06 20:52:48 +02:00
Jonathan Rainville f5d2d9d0ac fix(MessageView): slow chat switching because of height recalculation 2022-07-06 14:05:06 -04:00
Patryk Osmaczko 963374502b chore(translations): update qml_en.ts file 2022-07-06 19:09:50 +02:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Boris Melnik bb2c9e02c2 feat(communities): Add muting category methods
Closes: #5975
2022-07-06 19:48:44 +03: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
Boris Melnik 42fca84c76 fix(chat): Fix chat screen for empty state visibility
Closes: #6199
2022-07-06 09:48:37 +03:00
MishkaRogachev 6fac00673f Hotfix: Community settings tags 2022-07-05 19:29:50 +03: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
Patryk Osmaczko ff747c2a5f chore(@desktop/community): refactor TransferOwnershipPopup 2022-07-05 17:08:36 +02:00
Patryk Osmaczko 1b49fd4c35 fix(@desktop/community): make backup community key field readonly
fixes: #6104
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
Lukáš Tinkl f306ecebfe fix(QtC): QtCreator fixes
- display our own JS files in the Project tree as well
- help QtC detect some more module imports
- QML files are not resources, don't confuse QtC with them
2022-07-05 10:16:52 +02:00
Patryk Osmaczko a2489f4cc3 chore(translations): update qml_en.ts file 2022-07-04 20:23:32 +02:00
Patryk Osmaczko 9baf31c6ea chore(translations): remove *.ts files other than qml_en.ts
Current Lokalise workflow is:
1) Upload strings to translate (qml_en.ts)
2) Translate strings to selected languages (this is driven by Lokalise
   configuration)
3) Export *.ts files with translations (e.g. qml_de.ts, qml_es.ts)
2022-07-04 20:23:32 +02:00
Patryk Osmaczko a57fdf698a chore(translations): fix qml_en.ts locale
Lokalise expects *_en files to be en, not en_US.
2022-07-04 20:23:32 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03: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
Stefan cecfd7f8e8 chore(CPP): base for the window and layouting system
Demo controls migrations to Qt6
POC for an application layout with isolated components

Closes: #5902
2022-07-01 16:57:51 +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
Alexandra Betouni b550a23dfc fix(Wallet): Fixed padding in add account popup
Closes #6245
2022-06-28 16:24:09 -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
Noelia dd2925533e fix(ActivityCenter): Activity center button has not the same size than the other toolbar buttons
Bump statusq: https://github.com/status-im/StatusQ/pull/742

Fixes #6216
2022-06-27 09:02:00 +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
Noelia 65e91fac44 fix(ActivityCenter): Activity center button is not active when activity center is opened
The button is now in highlighted state when it's active.

Fixes #6119
2022-06-27 07:54:13 +02:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Alexandra Betouni 1cda32470b fix(Profile): ContactsView layout and scrolling issues
Closes #5876
2022-06-24 15:24:35 +03:00
Alexandra Betouni 5ca9c9fadf fix(chat): fixed missing pendingRequestsToJoin 2022-06-24 15:23:11 +03:00
Pascal Precht 84abcff65e fix(CommunitySettingsView): add missing membership request modal
Fixes #6141
2022-06-23 15:20:45 -04:00
Alexandra Betouni 385495d74f fix(AppLayout): Window resizing is not adjusting layout
Closes #6222
2022-06-23 15:13:25 -04:00
Noelia ddf21fdb73 chore: bump `StatusQ`
Fixes #6206
2022-06-22 16:56:59 -04:00
Jonathan Rainville 8c1024354e fix(CompactMessage): fix message height and spacing
Fixes #6169
2022-06-22 16:45:57 -04:00
Anthony Laibe 2449c8840e chores(@chat): bring back download messages
fixes #6163
2022-06-22 16:12:24 -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
Pascal Precht b83f45c68b fix(Onboarding): remove unnecessary space in onboarding text 2022-06-21 12:57:46 -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
Boris Melnik eb3b22caef fix(communities): Fix `try/catch` block in communities service
Closes: #6074
2022-06-21 11:25:35 -04:00