Commit Graph

10861 Commits

Author SHA1 Message Date
Michał Cieślak fd768c0fe8 IsCurrentUser role exposed from user/member models
Additionally, fixed but causing that isCurrentUser was not initialized
via initMemberItem
2024-11-13 09:49:07 +01:00
Michał Cieślak 9bf02aa6ac ProfileContextMenu Storybook page made fully functional 2024-11-13 09:49:07 +01:00
Michał Cieślak 544f749f44 ProfileHeader and related components refactored to use compressed key directly 2024-11-13 09:49:07 +01:00
Michał Cieślak e58a6c83ce ProfileHeader: unused property removed 2024-11-13 09:49:07 +01:00
Michał Cieślak 8fac4bf5de UserImage: unused param pubKey removed 2024-11-13 09:49:07 +01:00
Michał Cieślak e95202ab61 Unused ContactRequestPanel removed 2024-11-13 09:49:07 +01:00
Michał Cieślak f3021ec757 Global signal related to contact popups simplified
Global.openContactRequestPopup
Global.openReviewContactRequestPopup
Global.openNicknamePopupRequested
Global.blockContactRequested/unblockContactRequested
Global.openMarkAsUntrustedPopup
Global.removeContactRequested
Global.openMarkAsIDVerifiedPopup/openRemoveIDVerificationDialog
2024-11-13 09:49:07 +01:00
Michał Cieślak b8f9566116 UserImage refactored to remove dependency on backend via Utils 2024-11-13 09:49:07 +01:00
Anastasiya Semenkevich f02f957bf5 chore: update status-go version 2024-11-12 18:13:20 +03: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 e0b45a81f4 chore(@qml): object names for category 2024-11-11 19:09:24 +03:00
Dario Gabriel Lipicar 3e9e8bfe07 chore: remove unused components 2024-11-08 17:09:14 -03:00
Dario Gabriel Lipicar a53eb6001f feat(activity): remove activity details screen 2024-11-08 17:09:14 -03:00
Anastasiya Semenkevich 9eaf4cc4ea chore(@e2e): improve permission test 2024-11-06 14:58:31 +03:00
Anastasiya Semenkevich 75bf886124 chore(@qml): add object name for navigation bar 2024-11-06 14:58:31 +03:00
Anastasiya Semenkevich 6c10c7c928 chore(@qml): use title as identifier in action button object name 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 1b2f4f3c94 chore(@qml): add object names for memberListItem and checkBox 2024-11-05 18:13:29 +03:00
Jonathan Rainville d6d546739d fix skipping hidden chats 2024-11-05 11:33:35 +01:00
Lukáš Tinkl 3dd94f4b72 fix[Chat] Jump to popup missing channel emojis
- add `emoji` to the channel list model
- WIP fix hiding unavailable channels due to permissions

Fixes #16623
2024-11-05 11:33:35 +01: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
Michał Cieślak 5238074ed3 Settings list simplified
- UI simplified, made independent from the backend
- dedicated model created, filtering on the level of model instead of
  per delegate
- using ListView instead of mutliple Repeaters
- UI models removed from ProfileSectionStore

Closes: #16675
2024-11-04 13:53:28 +01:00
Michał Cieślak b62aad6b34 Windows installer: remove bin dir as a first step of installation
It fixes problem with unwanted qmldir in 2.31 which is in `bin/StatusQ`
when overriding 2.30.1 or older installation.

Closes: #16693
2024-11-04 13:03:05 +01:00
Sale Djenic 6ffbf38b0a fix: bridging tx improvements 2024-11-04 12:27:34 +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
Lukáš Tinkl 84017104f4 fix(StatusPageIndicator): fix rendering of last page button text
- do not hardcode the button width as that might get elided for large
values, and display erroneously "..." instead of the value
2024-11-04 12:24:33 +01:00
Sale Djenic e3128587d8 fix: fill missing fees in tx object received from dApp
Fixes #16528
2024-11-04 11:32:19 +01:00
Lukáš Tinkl 623333ab8c fix: improve image type detection
- use the same approach as status-go to detect the image type, relying
on "magic" type matching instead of looking at the file extension (now
using C++ and QMime*)
- add a little error popup when the user tries to upload an unsupported
image type while creating/editing a community
- expose all the image related properties from the C++ backend instead
of constructing and duplicating them in QML
- cleanup some unused/dead code

Fixes #16668
2024-11-04 10:29:01 +01:00
Michał Cieślak e3238b3fd2 Monitoring Tool: possibility of nested objects inspection 2024-11-02 22:49:57 +01:00
Jonathan Rainville 27ececad63
perf(contacts): make initial contacts fetching async (#16560)
* perf(contacts): make initial contacts fetching async 

Fixes #16509

* fix: don't fetch contact if we don't have it in cache

Fixes #16509

* feat: add a visible loading indicator when the chats are not ready yet
2024-11-01 10:32:20 -04: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
Dario Gabriel Lipicar ea94065c57 fix(swap): invalidate old uuid and route when a new route request is made
Fixes #16574
2024-10-31 12:12:28 -03:00
Jonathan Rainville 5aa5390b6c
fix(curated): only load curated communities once (#16657) 2024-10-31 11:07:05 -04: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
Michał Cieślak c009321ba2 chore: unused, outdated code removed from ContactsView
Closes: #16650
2024-10-31 11:11:30 +01:00
Michał Cieślak ba80ba97f7 compressedPubKey exposed via backend models, usages of Utils.getCompressedPk removed, SB pages simplified 2024-10-31 11:11:30 +01:00
Michał Cieślak 2853284751 Makefile: link nim tests to status-go and bump nim-tests docker image 2024-10-31 11:11:30 +01:00
Michał Cieślak 28f6bee90e Utils.getCompressedPk removed from multiple components 2024-10-31 11:11:30 +01:00
Michał Cieślak 0f98244e1f UserListPanel simplified, dependency on utilsStore removed 2024-10-31 11:11:30 +01:00
Michał Cieślak 0db6fe2701 Invite flow: compressedKey added to the model, api simplified 2024-10-31 11:11:30 +01:00
Michał Cieślak 143cf63dc0 Community invite flow: dependency on stores reduced 2024-10-31 11:11:30 +01:00
Michał Cieślak ff5e1654ec Unused hasAddedContacts property removed from multiple components 2024-10-31 11:11:30 +01:00
Michał Cieślak adc8f5bc3a ContactPanel api simplified 2024-10-31 11:11:30 +01:00
Michał Cieślak 9b5b5a4a60 ContactPanel delegate made backend-independent 2024-10-31 11:11:30 +01:00
Jonathan Rainville 189d016694
fix(members): fix list showing all members when missing encryption keys (#16654)
Fixes #16614

The problem was that I was missing encryption keys for some channels, but since I'm an admin, I still have access, so I could see the member list and it was showing me all members because of a missing condition in the code
2024-10-30 15:02:58 -04:00
Jonathan Rainville 9e70e69faf
fix(mentions): fix wrong user list given to mentions model (#16656)
Fixes #16602

This was broken when we refactored the members to use a single model for public channels. Those public channels then didn't have any members in their model they used for suggestions.
This is fixed by putting the logic in the UsersStore and reusing that store whenever we need a list of the members.
2024-10-30 15:02:46 -04:00