Commit Graph

4579 Commits

Author SHA1 Message Date
Jonathan Rainville 68fbaeadc1 test(community): add test that invites a user to the community 2022-10-26 12:32:52 -04:00
Alexandra Betouni ea9a715602 fix(StatusMessage): Reduced top+bottom margins based on figma spec
Closes #7318
2022-10-26 17:27:52 +03:00
Alexandra Betouni 752574cfdb fix:(Settings): Added bottom row components in header
* Made tab bar in Profile Settings non scrollable with
the rest of the content

Closes #7525
2022-10-26 16:47:03 +03: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
Jonathan Rainville cea4945cba feat(storybook): add browser settings in the storybook 2022-10-25 14:27:50 -04: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 6b90d4d5a6 chore(Storybook): add pages for InviteFriendsToCommunityPopup and related components
Closes: #8004
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
Alexandra Betouni 080bc44971 fix(AppMain): only show banner when disconnected
Closes #7416
2022-10-25 08:26:29 -04:00
Lukáš Tinkl 70e9c89465 fix(AboutView): "Our principles" button not working
as a bonus, add the link to release notes as well

Fixes #8020
2022-10-25 08:26:23 -04: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
Richard Ramos 3b3b737956 feat: encrypt communities 2022-10-25 08:26:10 -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 594983c889 fix(BackUpSeed): Confirm # word input had no focus
Closes #7680
2022-10-24 17:28:36 +03:00
Alexandra Betouni e617c8981f fix(SendRequestModal): fixing spacing issues
Closes #6941
2022-10-24 17:28:17 +03:00
Iuri Matias fbccb31960 chore(@storybook): add language & currency settings view to storybook
chore(@storybook): add language & currency settings view to storybook

chore(@storybook): add language & currency settings view to storybook

fix storybook menu

remove qsTr
2022-10-24 10:25:56 -04: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
Lukáš Tinkl f722dc0761 fix(CommunitiesGridView): don't display header labels when section empty
Do not display the Featured/Popular labels when the corresponding section
is emtpy

Fixes: #7946
2022-10-21 11:40:52 +02:00
Igor Sirotin 5ff2976e80 fix(MessageView): Changed visual borders of message 2022-10-21 00:44:19 +02:00
Pascal Precht 7706a6caea fix(CreateCommunityPopup): reset discord filelist when modal is opened
Prior to this commit we would reset the file list (and categories and
channels) whenever the `CreateCommunityPopup` was closed.

This made sense because at that point we could assume that the user has
decided to somehow stop the process of an import, so the next time the
modal is opened again, we want that data to be reset.

However, it turned out that this introduced a bug in the scenario where
and import is running, and while it's running, when the user decides to
hide the progress modal, it would reset the warnings count, resulting in
the progress banner to show an invalid state until the next progress
signal was emitted.

We don't want to reset this data every time we close the modal. We only
want to reset it when we know there's no import in progress.

Fixes #7787
2022-10-20 12:19:02 +02:00
Lukáš Tinkl 8e307d6c35 chore: minor Discord import related UI fixes
- correct plural in qsTr()
- readonly properties
- remove obsolete/dead/unused code
2022-10-20 10:40:41 +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
Patryk Osmaczko 7111879e04 chore(communities/portal): do not show community banner when not loaded 2022-10-18 21:21:10 +02:00
Patryk Osmaczko fa1f396a86 fix(communities/portal): navigate or spectate community
fixes: #7244
2022-10-18 21:21:10 +02:00
Patryk Osmaczko c805219463 fix(communities/portal): scale banner to fit community card 2022-10-18 21:21:10 +02:00
Patryk Osmaczko a543f46de5 chore(communities/portal): extend curated communites model 2022-10-18 21:21:10 +02:00
Patryk Osmaczko 76f79cda4d chore(communities/portal): remove dummy model 2022-10-18 21:21:10 +02:00
Patryk Osmaczko 83be63c686 chore(StatusQ): base StatusNavigationButton on QQC2.Button 2022-10-18 12:53:41 +02:00
Patryk Osmaczko 27a9133882 feat(communities/portal): add tags filtering 2022-10-18 12:53:41 +02:00
Patryk Osmaczko 534a0d0f45 feat(StatusQ): implement overflow pattern to StatusCommunityCard 2022-10-18 12:53:41 +02:00
Patryk Osmaczko 6893a83c95 feat(StatusQ): extract StatusRollArea 2022-10-18 12:53:41 +02:00
Patryk Osmaczko a2b88d7b77 feat(storybook): extend communities portal cards with tags 2022-10-18 12:53:41 +02:00
Patryk Osmaczko 3aae2603f4 feat(StatusQ): introduce JSONListModel 2022-10-18 12:53:41 +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
Iuri Matias 440d0a9017 chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global
chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global

fix storybook menu
2022-10-17 10:03:17 -04:00
Lukáš Tinkl 7a407662e2 feat: New Profile Modal
Fixes: #7360
2022-10-17 12:05:54 +02:00
Stefan 057d0c565e fix(Wallet): fix import seed in account creation
Remove the workaround, to the approach of using the complete last word event,
for three letters seed-words. The three letters condition introduced
another side effect when completing the "sentence" and made the
_internal.mnemonicInput contain an extra duplicate word.

Unify the event `doneInsertingWord` generation for the internal purpose
with the external. This will trigger a secondary for some usage but
I see no problem with even in other usages.

Fix corner case when user enters a correct seed word that is not singular
and uses the mouse to jump. In that case the doneInsertingWord is not triggered

Fixes: #7715
2022-10-14 14:20:35 +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
Sale Djenic 86a2d963ad chore(@desktop/keycard): appropriate margin set for title for all views in settings 2022-10-13 19:24:04 +02:00
Lukáš Tinkl 813dbc57c0 feat: notification through notify-send on Linux
plus some minor UI changes in the Notifications settings; notably
toggling the exemptions was broken

Closes #2520
2022-10-13 17:28:46 +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
Michał Cieślak 948dc8e747 fix(AppMain): Community color shown in left bar
Closes: #7763
2022-10-13 13:05:47 +02:00
Michał Cieślak 174f33cda3 feat(StatusQ): StatusCenteredFlow
Standard Flow component doesn't support center alignment. This
component dispite of some limitations tries to amend this gap.

Closes: #7883
2022-10-13 11:55:38 +02:00
Sale Djenic 4153489ade fix(@desktop/keycard): onboarding - typo
Fixes: #7880
2022-10-13 11:04:19 +02: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 2a019f330a chore(@desktop/keycard): `quaternary` and `quinary` actions introduced 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 eb5ad8c911 fix(@desktop/keycard): onboarding flow `I'm new to Status` -> `Import a seed phrase` -> `Import a seed phrase into a new 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
Lukáš Tinkl 7f944c09be fix: unbreak the "Jump to" menu item
qrc:/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml:143:
  TypeError: Cannot call method 'jumpToMessage' of undefined
2022-10-12 11:16:10 -04:00
Michał Cieślak d5a4ab5967 feat(Storybook): LoginView - initial setup
Closes: #7865
2022-10-12 10:54:55 -04:00
Boris Melnik 4cfa4e5451 fix(replies): Fire dataChanged when contact changed in reply
Closes: #7687
2022-10-12 10:54:24 -04:00
Stefan 6cfcd92c00 fix(Keycard): disable unfinished onboarding keycard login feature
This workflow doesn't save the keystore files which are required in order
to create new wallet accounts. It is not yet clear how to proceed with
saving the keystore files without an accountId.
See `setupAccountKeycard` which is missing `storeAccount*` calls vs
working workflow done in `setupAccount`

Closes: #7867
2022-10-12 10:49:50 -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
Lukáš Tinkl 76d50b5b90 fix(StatusChatListItem): fix online status badge hover color
Fixes: #7755
2022-10-12 01:22:02 +02:00
Igor Sirotin 293981b0b2 fix(SplashScreen): Fixed blurry animation 2022-10-11 19:29:35 +03:00
Michał Cieślak a893d100ab fix(LinksMessageView): Reload images when back online
Closes: #7665
2022-10-11 17:01:30 +02:00
Michał Cieślak 553f1f5beb fix(ChatHeaderContentView): Unreachable buttons in community header at min width
Closes: #7647
2022-10-11 16:58:41 +02:00
Noelia 2716e8a7c9 fix(Chat/CommunityColumn): Create new chat button looks inconsistent across views
Added consistency between chat / community views: Colour and button position modified to be the same.

Fixes #7648
2022-10-11 16:05:35 +02:00
Stefan de2c421b5e fix(Wallet): allow to edit name and color for a new account before authentication
There is no good reason to keep user entering information before authenticating

Also fix typo

Fixes: #7714
2022-10-10 16:54:46 +02:00
Lukáš Tinkl daa264c366 fix: chat view channels are too thin
Closes #7682
2022-10-10 16:01:25 +02:00
Michał Cieślak 2b6150177b feat(Storybook): First sample page (CommunitiesPortalLayout) 2022-10-10 15:09:12 +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
MishkaRogachev 2710d02fea Fix(Communities): Fix cropped list in invite users to community popup
Close #7798
2022-10-10 13:17:12 +04:00
Michał Cieślak 4c03e67089 feat(Utils): Tracer can be used directly in layouts 2022-10-07 20:15:48 +02:00
Noelia 11fcd82b82 fix(Language): App crashes when language is changed
Enabled restart info popup after language is changed --> Workaround to temporary resolve the crash we have when language is changed (`startupModule` is null and some qml bindings are still calling this dead pointer) so, change language will not retranslate and instead, also on mac and win, the app will need a restart to apply the new language.

Disabled retranslations for all os on the corresponding service.

Will temporary fix #7709
2022-10-07 18:45:41 +02:00
MishkaRogachev 238e7fa104 Fix(Communities): Change cursor shape on hovering ColorPicker
Close #7778
2022-10-07 17:02:15 +04:00
MishkaRogachev c4496483d3 feat(ActivityCenter): handle notification's updates via response 2022-10-07 15:09:56 +04: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
Patryk Osmaczko 953fab1c57 chore(translations): update translations 2022-10-06 17:20:45 +02:00
Alexandra Betouni ae7d49c9b1 fix(Invitation+LinksBubble): fixed button radius corners
Closes #7308
2022-10-06 15:47:04 +03:00
Alexandra Betouni 2ec0b5330a fix(SearchPopup): displaying comm channel's emojis
Closes #7702
2022-10-06 15:46:45 +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
PavelS 2da05c0025 fix(@desktop/chat): update toast message logic
Fixes #7487
2022-10-06 11:43:35 +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
Noelia bc1b2735ca fix(Community/Settings): Second Nav of community differs from the Design
- 'Settings' title removed and it is shown instead the Community name and number of members
- Overview icon updated according to the design
- Icon of members size updated according to the design
- The spaces between edges of the Secondary Nav tab and items updated according to the design

Fixes #6785
2022-10-06 09:31:16 +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
Richard Ramos ed8c0815e2 feat: correct storenode query behavior and remove useless menu item 2022-10-05 10:21:53 -04:00
Boris Melnik e93890d04e fix(StatusMessageReply): Remove overwrite for text height
Closes: #7750
2022-10-05 10:03:28 -04:00
Noelia 92c62bdbdd fix(Community/Settings): Community overview/settings layout broken
Fixed top margin and content type.

Removed right margin in central panel.

Fixed #7666
2022-10-05 15:15:31 +02:00
Igor Sirotin f32e551c75 fix(InviteFriendsToCommunityPopup): Created single global instance. Fixed profile icons. 2022-10-05 14:37:36 +03:00
Michał 80bcb15bc3 Revert "fix(ChatMessagesView): unbreak closing reply bubble"
This reverts commit d7710ce135.
2022-10-05 13:33:49 +02:00
Michał a6beeee3e7 Revert "fix(ChatMessageView): delayed binding for proper msg height calculation"
This reverts commit 53a3a769d9.
2022-10-05 13:33:49 +02: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
Michal Iskierko e28163a771 fix(@desktop/chat): Fix sending request to ens account.
Fix #7699
2022-10-04 13:27:34 -04: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
MishkaRogachev 9d103e5b07 feat(ActivityCenter): Fix unreadNotificationsCount availability on every section
Close #7674
2022-10-04 17:05:47 +04:00
MishkaRogachev 1784a98df3 feat(ActivityCenter): AC topbar panel fixes
Close #7656 and #7635
2022-10-04 17:05:47 +04:00
Igor Sirotin 7d08c06524 fix(chat): Connected font sizes to Theme properties 2022-10-04 15:14:04 +03:00
Lukáš Tinkl 1aff57abff fix: Reply to sticker adds message advising user to upgrade
Closes #7724
2022-10-04 14:07:23 +02:00
Igor Sirotin b65023bf45 fix(PinnedMessagesPopup): Fixed reply messages displaying 2022-10-04 14:09:19 +03:00
Alexandra Betouni 3e3ad7fef5 fix(Community): big space in invite friends popup
Closes #7707
2022-10-04 13:38:50 +03:00
Michał Cieślak 2b8ee35e91 fix(CommunitiesPortal): display banner in community portal cards
Closes #7417
2022-10-04 12:06:23 +02:00
Michał Cieślak a21bbc8ba8 fix(InsertDetailsView): use force flag for getColorHashAsJson to skip ENS check
Closes: #7671
2022-10-04 11:32:51 +02:00
Michał Cieślak 53a3a769d9 fix(ChatMessageView): delayed binding for proper msg height calculation
Direct binding was causing problems with height calculation in some
environments (qt 5.15) and lack of binding in other (5.14). This is
a solution which seems to work in both cases.

Closes: #7703
2022-10-04 11:32:34 +02:00
Noelia b2f927b716 test(suite_messaging): Created new suite_messaging
Created new `suite_messaging` where all related chat tests will be migrated to.
- `tst_ChatFlow` has been moved to new `suite_messaging`. It still contains some broken tests.
- `tst_groupChat` has been moved to new `suite_messaging`. It is now working (but it relies on the mailserver so could fail sometimes).
- `tst_statusLoginPassword` has been moved to new `suite_onboarding`.
- It has been needed to move some object definitions from `chat_names.py` to `global_names.py` since they are shared between different suites.
- Some other minor object and steps definitions have been moved to fit with the new structure.

Closes #7624
2022-10-04 11:17:47 +02:00
Noelia 03691ba4b1 test(GroupChat): Broken tests updated
The create a group chat related objects have been updated according to new qml changes.
Now these tests are working (if they don't work it is bc of mailserver reliability).
2022-10-04 11:17:47 +02: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 4452574c24 feat(CommunitiesPortal): show placeholder when no search results
Closes: #7299
2022-10-04 11:09:40 +02:00
Michał Cieślak e70fecaf2d feat(CommunitiesPortal): implement text search using mocked model
Additionally:
- communities grid made scrollable
- filtering done using SortFilterProxyModel
- various adjustments to the design
- clear input button added to the search input

Closes: #6360
2022-10-04 11:09:40 +02:00
Lukáš Tinkl 37b9cf39c8 fix(StatusSearchPopup): images in search results are broken
Closes: #7658
2022-10-04 10:20:45 +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
Lukáš Tinkl e657b311aa fix: Import tool date picker is somewhat broken
Adjust the button padding and font weight after changes to
StatusBaseButton

Closes #7684
2022-09-30 12:26:37 +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
Michał Cieślak b34b9fb347 fix(Popups): clipping area fixed in various popups
Closes: #7601
2022-09-29 10:39:07 -04:00
Stefan 39527a5739 fix(wallet): fix never fetching transactions
The RootStore was calling checkRecentHistory on the wallet section View
instead of the transaction View.

Still the workflow is broken due to the 20 minutes timer that calls
the checkRecentHistory and hangs the the main thread (UI) for a long time

Fixes: #7266
2022-09-29 10:45:27 +02:00
Michał Cieślak b984b04c70 fix(ContactsColumnView): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
Michał Cieślak f48aee2e44 fix(UserListPanel): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +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
Lukáš Tinkl 2fd9877ba5 fix(StatusChatInfoButton): space between # and channel name
lower the spacing to better match the designs

Closes #7592
2022-09-28 10:53:07 -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
Noelia 751d61df8b fix(Communities/Settings): Cropped bottom panel in Community Overview
Footer buttons anchored to `leftPanel` bottom.
Improved list view alignment.

Fixes #7322
2022-09-28 12:01:58 +02:00
Alexandra Betouni d45230a6f7 fix(CreateChatView): disable confirm button if no tags added
Closes #7493
2022-09-28 12:53:16 +03: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 08ef68706f feat(@desktop/keycard): login flow wrong keychain pin update 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 4c3aca273a fix(@StatusQ/StatusInput): `dirty` prop set to default value when reset func it called 2022-09-27 20:15:34 +02:00
Sale Djenic db1bbef0e1 fix(@desktop/wallet): validation of a seed phrase if it contains a word of length 3 fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 64f167a32d fix(@desktop/wallet): pasting seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 4bff0b14ed fix(@desktop/wallet): crash adding an account via seed phrase fixed 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 10c3b66336 feat(@desktop/keycard): unlock keycard flow added to the flows which are using it
- factory reset flow updated with unlock keycard flow
- setup new keycard (keycard migrate) flow updated with unlock keycard flow
- authenticate flow updated with unlock keycard flow
2022-09-27 19:03:18 +02:00
Sale Djenic a3b71c7d91 feat(@desktop/keycard): unlock keycard flow added
Fixes: #7031
2022-09-27 19:03:18 +02:00
Igor Sirotin c8bb6ae30e fix(CommunitySettingsView): Fixed sending community invitations 2022-09-27 19:41:23 +03:00
Alexandra Betouni 54076c772c fix(ProfilePopup): popup title was wrong with ens names
Closes #7320
2022-09-27 17:30:51 +03:00
MishkaRogachev ced2454bdc feat(ActivityCenter): Force sorting notifications by timespamp
Close #7492
2022-09-27 18:14:07 +04: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 2681542a98 feat(ActivityCenter): Store AC properties globaly
Close 7489
2022-09-26 15:49:46 +03:00
MishkaRogachev ac9d68b6f5 feat(ActivityCenter): Add ReplyBadge & review fixes
Close 7276
2022-09-26 15:49:46 +03:00
MishkaRogachev b9ca8654a8 feat(ActivityCenter): Fix messages and AC notifications height
Close #7497
2022-09-26 15:49:46 +03:00
MishkaRogachev d4d22f4094 feat(ActivityCenter): Notification badge with community info 2022-09-26 15:49:46 +03:00
MishkaRogachev b923c97773 feat(ActivityCenter): customize badgies for communities and group chats 2022-09-26 15:49:46 +03:00
MishkaRogachev 239563e93b feat(Activity Center): Making mentions AC notifications match design and specs
Close #7275
2022-09-26 15:49:46 +03:00
Alexandra Betouni 7ea19d14d0 fix(CommunityListTags): fixed gradiend on dark theme
Closes #7257
2022-09-26 15:30:14 +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 f884c91e97 fix(@desktop/community): community tags close button adjust
Fixes #7294
2022-09-26 10:25:17 +03:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl 19391d9052 fix(PinnedMessagesPopup): don't show empty replies and reactions
Fixes: #7498
2022-09-22 12:18:04 +02:00
Lukáš Tinkl 19aa32a07e fix(ContactPanel): unbreak showing identicon rings
- unbreak the user icon in the popup menu
- don't show idention ring for ENS names

Fixes: #7496
2022-09-22 11:21:37 +02:00
Lukáš Tinkl 52dbf9b7c8 fix(CommunitiesListPanel): set uniform icon size
we want same icon sizes here, no matter if there's an image or not

Fixes: #7285
2022-09-22 11:18:16 +02:00
Lukáš Tinkl d7710ce135 fix(ChatMessagesView): unbreak closing reply bubble
there was a binding loop warning; but this one also fixes overlapping
messages

Fixes: #7481
2022-09-22 08:37:29 +02:00
Michał Cieślak 824616c32e chore(general): pull_request_template.md updated 2022-09-21 18:20:15 +02:00
Michał Cieślak 88c0e87446 chore(general): add SortFilterProxyModel submodule
It's necessary as a result of StatusQ merge
2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp 71c5e1f4fd fix(StatusListItem): Adding padding in the inline tags (#915) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 367324e422 (StatusSectionLayout): Added back button in StatusChatToolbar (#903)
To be used in header in all sections where it's needed

Needed for https://github.com/status-im/status-desktop/issues/7312
2022-09-21 18:20:15 +02:00
Michał b1d6e73e2f feat(StatusMessage): add 'hideMessage' property to allow hiding main message text (#916) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 060b98a74d fix(StatusChatInfoButton): fix vertical title alignment
do not display the subtitle when it's empty
2022-09-21 18:20:15 +02:00
Michał 8df06ef463 fix(StatusBaseButton): font family and weight fixed (#908) 2022-09-21 18:20:15 +02:00
MishkaRogachev b068deccd4 hotfix(StatusSectionLayout): fix notificationCount availability 2022-09-21 18:20:15 +02:00
Michal Iskierko 42fe647963 fix(StatusMessageSenderDetails): Simplify StatusMessageSenderDetails
StatusMessageSenderDetails contains only displayName and secondaryName.
Correct values are delivered by a model.

Issue #7241
2022-09-21 18:20:15 +02:00
Lukáš Tinkl 819c401579 fix(StatusPinMessageDetails): correct spacing
Fixes status-im/status-desktop#7305
2022-09-21 18:20:15 +02:00
Patryk Osmaczko d707bceb14 fix(StatusBaseButton): align text to horizontal center 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 07a8d91ce5 fix(StatusListItem): unbreak vertical alignment 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 0355f52cd9 hotfix: fix broken notification-muted icon 2022-09-21 18:20:15 +02:00
Alexandra Betouni 6112143a3c fix(StatusChartPanel): updated left spacing (#907) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 61fd7ab8d5 fix(StatusChartPanel): fix #893 PR comments 2022-09-21 18:20:15 +02:00
Igor Sirotin e9bc96e2a1 fix(StatusColorRadioButton): Fixed size as per design (#732) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 8be1af7059 feat(StatusChart): Adding chart component (#893)
Needed for https://github.com/status-im/status-desktop/issues/6490
2022-09-21 18:20:15 +02:00
Sale Djenic 44b6cda99a feat(StatusPinInput): additional spacing for every N-th digit
Two new props exposed so we can sed an extra spacing for every N-th item.
- `additionalSpacingOnEveryNItems` - determines for which item to add an extra space
- `additionalSpacing` - determines the value of extra space which will be added
2022-09-21 18:20:15 +02:00
Michał b85450a3de chore(StatusItemSelector): allow of using icons (#897) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 6549c9f344 fix(StatusChatInfoButton): pinned messages counter
- fix the "pinned messages" counter, add plural handling (Fixes #899)
- modernize using layouts (Fixes #898)
- add some more examples
2022-09-21 18:20:15 +02:00