Commit Graph

676 Commits

Author SHA1 Message Date
Lukáš Tinkl 77975e9039
fix: Optimize ContactsView & MembersTabPanel settings pages
- removed nested ListViews inside StackLayouts, in order to reduce the
memory footprint and improve performance, and also to be able to better
manage the scrolling
- no more unrolled multiple listviews, which again hurt the performance;
now the views instantiate the delegates dynamically on the fly
- the tab bar and the search fields now stick to the top of the page,
with the users list view scrolling independently
- both views now uniformly use the common `ContactListItemDelegate`
- the received/sent CRs are now combined into one `pendingContacts`
model
- factored out common search/filter criteria into a new, separate SFPM
`UserFilterContainer` component
- fix an issue where StatusContactVerificationIcons wasn't properly
displaying the "blocked" state/icon
- fix documentation comments, removed relative imports, and updated some

Fixes #16612
Fixes #16958
2024-12-20 13:27:10 +01:00
Anastasiya Semenkevich a13349323b chore(@e2e): fix group chat test and leftover for registering ens name toast 2024-12-04 13:33:02 +03:00
Anastasiya Semenkevich 49b74381e3 chore(@e2e): change notification template, combine tests 2024-11-29 17:22:31 +03:00
Anastasiya Semenkevich 5992054f0d chore(@e2e): fixes for tests according to changes to wallet tab reordering 2024-11-22 12:24:03 +02:00
Anastasiya Semenkevich d4e1539901 chore(@e2e): merge sharing link test to community create one 2024-11-20 13:59:54 +03:00
Anastasiya Semenkevich 246bc897c1 chore(@e2e): remove duplicated verification 2024-11-20 13:59:54 +03:00
Anastasiya Semenkevich 331f23421d chore(@e2e): update verification for public key from online identifier object 2024-11-13 09:49:07 +01:00
Anastasiya Semenkevich e2faa62697 chore(@e2e): fix community link parsing 2024-11-12 15:26:13 +03:00
Anastasiya Semenkevich 38b3e03fe5 chore: simplify new permission class 2024-11-11 19:09:24 +03:00
Anastasiya Semenkevich ebbc55514e chore(@e2e): improve category tests 2024-11-11 19:09:24 +03:00
Anastasiya Semenkevich 9eaf4cc4ea chore(@e2e): improve permission test 2024-11-06 14:58:31 +03:00
Anastasiya Semenkevich e6a7af8708 chore(@e2e): replace clicking listItem with checking checkbox 2024-11-05 18:13:29 +03:00
Anastasiya Semenkevich 5aefbb8446 chore(@e2e): allow account list to load before selecting 2024-11-04 19:27:34 +03:00
Anastasiya Semenkevich 542cd01568 chore(@e2e): fix tests to reflect new settings list 2024-11-04 13:53:28 +01:00
Lukáš Tinkl dd2c65e0fb fix(AddAccountPopup): account list for address selection is empty
- use a similar approach as in the DerivationPath popup; ListView
instead of a Repeater
- some smaller fixes & speedups in the SFPM
- reenable the test

Fixes #16683
2024-11-04 12:24:33 +01:00
Jonathan Rainville 36f2bb79a9
fix(members): fix member count not updating correctly on join (#16680)
* fix(members): fix member count not updating correctly on join

Fixes #16672

The issue was that the requests to join were not handled in time for when the community update came in, so when we udpated the section, we got both the normal member and the pending member still and they clashed and the pending one came on top, meaning that the joined member was not counted.
On a restart it would fix itself.
To fix it, I reordered the parsing of communities and requests, so that the request is updated first, ie deleted because it is now accepted.
I also fixed the function that handles request to that the state gets updated at all times. Before, it would only get updated if it was not accepted, pending or waiting for address.
Finally, there was a weird scenario where as a TM, I saw myself as pending even if I was joined, so I fixed it by removing duplicates.

* chore(@e2e): remove xfail mark from pin messages test

---------

Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2024-11-01 09:45:09 -04:00
Anastasiya Semenkevich 893fe604e8 chore(@e2e): mark test as xfail because of issue
https://github.com/status-im/status-desktop/issues/16683
2024-11-01 14:50:17 +03:00
Anastasiya Semenkevich eae6beab9c chore(@e2e): mark pin messages test with xfail
https://github.com/status-im/status-desktop/issues/16672
2024-10-31 13:18:49 +03:00
Anastasiya Semenkevich 208774d7bc chore(@e2e): remove xfail mark for test, bug is fixed 2024-10-30 16:01:36 +03:00
Anastasiya Semenkevich f1ae8a2652 chore(@e2e): enable toast verification for accepting contact request 2024-10-30 12:40:33 +03:00
Anastasiya ca1182e3f9 chore(@e2e): various fixes for tests 2024-10-29 21:16:40 +03:00
Anastasiya Semenkevich 4409c20264 chore(@e2e): change object name for AccountListItem 2024-10-29 21:16:40 +03:00
Anastasiya Semenkevich 60a1532087 chore(@e2e): remove emojihash property as it is not accessible anymore 2024-10-28 23:16:31 +01:00
Anastasiya 5842600eb0 chore(@e2e): temp disable adding color and emoji for account creation 2024-10-23 13:23:33 +03:00
Anastasiya Semenkevich 7b3936522f chore(@e2e): edit community test improved 2024-10-23 11:31:26 +03:00
Anastasiya Semenkevich 913f92fd98 Update test_messaging_1x1_chat.py 2024-10-22 15:54:31 +02:00
Anastasiya Semenkevich 692e8df49e chore(@e2e): fix assets paths 2024-10-22 15:54:31 +02:00
Anastasiya Semenkevich 6e109ba858 chore(@e2e): change locators 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich f48eed2b28 chore: refactor community tests to use random community data 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich 09524b925a chore(@StatusQ): add object name for community tag 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich 3623807f62 chore: update password range and make change password test required for PRs 2024-10-16 22:24:56 +02:00
Anastasiya Semenkevich eeef165743 chore: fix community tests to have tag filled in 2024-10-15 10:29:31 +03:00
Anastasiya Semenkevich e864897863 chore: filling in tags for community is now required 2024-10-14 11:39:58 +02:00
Anastasiya Semenkevich 5518df3af9 chore(@e2e): enable change password test in nightly 2024-10-14 11:52:23 +03:00
Anastasiya Semenkevich 748b9b94fc chore(@e2e): update test for sharing wallet address 2024-10-14 11:52:23 +03:00
Anastasiya Semenkevich 14637a8709 chore: fix max limit for password to keep it 64 chars 2024-10-11 18:48:37 +02:00
Anastasiya Semenkevich bebeaf2de3 chore: change tests for adding saved address according to new flows 2024-10-11 18:48:37 +02:00
Alex Jbanca 17be3bfb2c chore(E2E): Use `mouseWheel` method to scroll
This makes the scrolling work for any qml type where the child supports scrolling.
By default the cursor is positioned in the middle of the scrollable item and scroll in steps of 30px.
2024-10-11 09:22:16 +03:00
Anastasiya Semenkevich 65798a0046 chore: fix tests 2024-10-11 01:37:10 +03:00
Anastasiya f536c3447f chore: update tests 2024-10-10 10:33:13 +03:00
Anastasiya Semenkevich a4e7b63918 chore: stabilise test for permission management by randomisation 2024-10-09 13:44:06 +03:00
Anastasiya Semenkevich 9c04d2ee9b tests: keypair rename test simplified 2024-10-08 13:10:15 +03:00
Anastasiya Semenkevich 273a960471 chore: update timeouts 2024-10-08 13:10:15 +03:00
Anastasiya Semenkevich 7c5af79b19 chore: update test 2024-10-07 11:08:34 +03:00
Anastasiya Semenkevich 43acfc82ab chore: use driver 2024-10-07 11:08:34 +03:00
Anastasiya Semenkevich ffc5da3805 tests: add better condition when waiting for status change 2024-10-04 12:07:40 +03:00
Anastasiya Semenkevich 4133afb676 chore: squeeze 2 tests into one, so links previews are checked on PR level too 2024-10-02 16:12:43 +03:00
Anastasiya Semenkevich e015fface7 chore: change 1x1 chat to add contacts through settings 2024-10-01 23:57:41 +02:00
Anastasiya Semenkevich 87e91de90c chore: add timeout for clicks 2024-09-30 17:56:27 +03:00
Anastasiya Semenkevich 54afe78b94 tests: update existing test to open send modal from chat message 2024-09-27 21:27:22 +03:00