Commit Graph

4488 Commits

Author SHA1 Message Date
Stefan 5a1f0a3d3a chore(CPP): remove C++ clone of the nim-based architecture
The module based C++ code, will be refactored as qml modules

Updates #5676
2022-06-30 12:21:01 +02: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
Anthony Laibe 49b592daa3 chores: add typing to ui-test 2022-06-30 09:28:37 +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
Boris Melnik 6adb809ba0 fix(backend): Add some text to image message
Closes: #6094
2022-06-29 17:08:59 +03:00
Richard Ramos 813cddfb1f feat: support compressed pubkey mentions 2022-06-29 08:20:39 -04: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
Patryk Osmaczko 0bfc51d4a9 fix(Makefile): ensure `pkg` target rebuilds status client
Otherwise `make pkg` would deploy already built status client,
regardless of its initial configuration.

`make clean` is not required before `make pkg` anymore.

fixes: #6241
2022-06-28 13:47:41 +02:00
MishkaRogachev a9b2459d79 fix(@desktop): Remove nested popups in create community
Close #6027
2022-06-27 13:12:52 -04:00
Boris Melnik 35eee24ab4 fix(chat): Open chat when contact request was accepted
Closes: #6127
2022-06-27 11:19:32 -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
Stefan 9fe369a1e7 chore(Build): raise awareness of brew download failed 2022-06-27 10:10:29 +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
femi 46d47e3746 feat(@DesktopApp): Refactor Login Steps
https://github.com/status-im/status-desktop/issues/6101

Refactor Login Steps
2022-06-23 13:47:11 +01:00
femi 02e63a5eee feat(@DesktopApp): Refactor Login Steps
https://github.com/status-im/status-desktop/issues/6101

Refactor Login Steps
2022-06-23 13:47:11 +01:00
Noelia e4558c3a05 fix(Chat): `ReplyTo` messages with missing message information
Removed code that removed messages marked as `repliedTo` in the corresponding service `handleMessagesUpdate` method.

It solves the following use case:
- New account, join public channel, replay massages shown there.

Fixes #6138
2022-06-23 09:12:24 +02: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
Boris Melnik 58eff9adf2 fix(communities): Fix broken `Request to join required` property
Closes: #6073
2022-06-21 13:55:57 -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
Khushboo Mehta ad4b2c5e6f fix(@desktop/wallet): Fix for Coins balance is copypasted
fixes #6091
2022-06-21 12:12:58 -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
Alexandra Betouni 0bcba8e487 fix(Onboarding): Centered onboarding layouts
Closes #6066
2022-06-21 11:14:54 -04:00
Anthony Laibe ea1b53b34d fix(@activity_center): filter contact request notification
fixes #6126
2022-06-21 11:12:16 -04:00
Michal Iskierko 0cb3de69f3 fix(@desktop/general): Fix application not reponding on close
Changing timer interval to smaller value in order to close it correctly on shutdown.

Issue #5938
2022-06-21 11:07:49 -04:00
Alexandra Betouni 65d90cbc51 fix(LoginView/AboutView): Update status logo image
Closes #6051
2022-06-21 11:06:03 -04:00
Alexandra Betouni 7acacee80e fix(CreateChatView): clicking new group chat duplicates contacts
Closes #6135
2022-06-21 11:02:26 -04:00
Boris Melnik 301e89ef48 fix(Onboarding): Save selected profile image for next steps
Closes: #6161
2022-06-21 11:01:40 -04:00
Sale Djenic 22d5f2d126 fix(@desktop/chat): intermittent with community invites
Fixes: #6170
2022-06-21 10:56:46 -04:00