Commit Graph

10835 Commits

Author SHA1 Message Date
Jonathan Rainville 29ec688689 remove addContact function and use the update function (renamed) 2024-11-22 09:06:18 -05:00
Jonathan Rainville 4eeb681fe3 fix contact request not added because unknown 2024-11-22 08:57:09 -05:00
Michał Cieślak 75b2364d99 ContactsStore: contacts model adaptor moved outside store
Closes #16549
2024-11-19 17:09:03 +01:00
Michał Cieślak cf1ee80dc2 ContactsStore encapsulation improved 2024-11-19 17:09:03 +01:00
Michał Cieślak 6718491198 Chat/RootStore: contactsModel property removed 2024-11-19 17:08:47 +01:00
Michał Cieślak a30e823c25 user_model: sorting by online status no longer needed on nim side 2024-11-19 17:02:54 +01:00
Michał Cieślak c22f33e015 user_model: onItemChanged signal removed 2024-11-19 17:02:54 +01:00
Jonathan Rainville 2ca7fef0bd refactor(contacts): improve updates by not removing and re-adding
We used to update contact items by removing them from the models and re-adding them. This is highly inefficient.
Instead, the proper way is to update only the values that changed.
2024-11-19 17:02:54 +01:00
Jonathan Rainville f09acd1a70 chore(contacts): remove useless and duplicated contact properties
OptionalName and isSyncing were never used.
DefaultDisplayName was not really used and is actually a duplication of preferredDisplayName, so I replaced the limited usages of DefaultDisplayName by preferredDisplayName
2024-11-19 17:02:54 +01:00
Jonathan Rainville 9315dd26e0 refactor(contacts): refactor 5 contact models into one and filter in QML
Fixes #16549

Refactors the 5 types of contact models (all, mutuals, banned, received and sent) into only the `allContacts` and use an Adaptor on the QML side to filter into the needed models.
This cleans the Nim side a lot and makes applying updates to the contacts' model way simpler.

rthh
2024-11-19 17:02:54 +01:00
Lukáš Tinkl 1c255175ab feat(ProfileContextMenu): Add "Mark as Trusted" and "Remove trusted mark"
- enhance and fix the SB page to be able to show all the permutations,
including profile image, emoji hash and ring

Fixes #16586
2024-11-19 15:51:55 +01:00
Anthony 22c4bb2846 feat: hide mercuryo
fix #16757
fix #16765
2024-11-19 11:16:16 +01:00
Alex Jbanca 9352c2ad44 fix: Wrap login error message in login view 2024-11-18 16:49:27 +02:00
Michał Cieślak 325d3588d3 ActivityNotificationMessage/Chat.RootStore: remove dependency on nim model's onItemChanged signal
Closes: #16754
2024-11-14 15:13:24 +01:00
Michał Cieślak ea584f0693 ActivityNotification: unnecessary code removed 2024-11-14 15:13:24 +01:00
Michał Cieślak 109edbe7a1 Storybook: Unused ProfileStore stub removed 2024-11-14 15:13:24 +01:00
Michał Cieślak 6b334a4085 StatusQ: ModelEntryChangeTracker component introduced 2024-11-14 15:13:24 +01:00
Michał Cieślak 8afc80dc18 ModelUtils: persistentIndex method added 2024-11-14 15:13:24 +01:00
Michał Cieślak a06bc1eeaf ModelUtils: indexOf optimized, cpp tests added 2024-11-14 15:13:24 +01:00
Anastasiya Semenkevich 331f23421d chore(@e2e): update verification for public key from online identifier object 2024-11-13 09:49:07 +01:00
Michał Cieślak 32c1d174ad UserListPanel made store-independent, Storybook page fully operable
Closes: #16717
2024-11-13 09:49:07 +01:00
Michał Cieślak 74113cbbe1 ProfileContextMenu.removeNickname signal aligned 2024-11-13 09:49:07 +01:00
Michał Cieślak b09713a53d ProfileContextMenu: unnecessary calls to store removed when opening menu 2024-11-13 09:49:07 +01:00
Michał Cieślak ef8fdd7d54 getProfileType/getProfileType helpers moved from store to Utils 2024-11-13 09:49:07 +01:00
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