Commit Graph

3128 Commits

Author SHA1 Message Date
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
Alexandra Betouni 0bcba8e487 fix(Onboarding): Centered onboarding layouts
Closes #6066
2022-06-21 11:14:54 -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
Noelia 5feef166f8 fix(Onboarding): User is able to bypass validation of username when using keyboard
Fixes #6012
2022-06-21 10:25:59 -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
Boris Melnik 266e10026d fix(settings): Fix visibility community settings view
Closes: #6100
2022-06-21 16:33:35 +03:00
MishkaRogachev bef3fea774 feat(@desktop): Stop playing invisible animation
Close #6172
2022-06-21 09:08:49 -04:00
Alexandra Betouni af2f387961 fix(GroupChatPanel): drop down was showing empty entries
Closes #5955
2022-06-17 13:55:06 +03: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
Boris Melnik d58c6eb577 feat(notifications): Add notification icon to create chat view
Closes: #5628
2022-06-15 13:04:31 -04:00
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
Alexandra Betouni a9dabe5df9 fix(Popups): Some modals are misaligned in master
Closes #6002
2022-06-14 17:10:11 -04:00
Iuri Matias 1d86a963ab chore: bump statusq 2022-06-14 16:57:55 -04:00
Patryk Osmaczko 52f5a0f4fd fix(@desktop/chat): show compressed pubkey in members list
fixes: #5950
2022-06-14 16:49:53 -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 7cacadd9be chore(experemantal_features): Remove activity center settings and enable by default
Closes: #5922
2022-06-14 13:03:51 -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
Patryk Osmaczko 19235e2b79 chore(CreateCommunityPopup): ensure popup occupies optimal height
Modal should go to the full height of the window if the window isn't
tall enough to display the content without scrolling.
2022-06-13 21:24:23 +02: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
Patryk Osmaczko 524c91dbab fix(@desktop): post user model refactor issues 2022-06-13 10:53:58 +02:00
Patryk Osmaczko 4a4cee7da7 chore(commonuty/popups): remove needless CommunityProfilePopup features
CommunityProfilePopup is deprecated and will be removed. Members
list and notifications are already covered by new community settings.
2022-06-12 15:45:49 +02:00