Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Rainville d511c25d2e
remove old code about ID verification and fix trustStatus bug ()
* chore: remove old code about ID verification

* refactor(trust): remove untrustowrthy and isVerified from items and use trustStatus

* chore(status-go): up status-go to get fix for trustStatus reseting

Fixes 

* chore: remove verified/trusted profile showcase category
2024-10-29 14:08:12 -04:00
Michał Cieślak 02993196e9 References to Global.userProfile removed from multiple components 2024-10-16 23:02:02 +02:00
Michał Cieślak 8fb9440235 ContactsStore: getProfileContext simplified 2024-10-16 23:02:02 +02:00
Iuri Matias 96d0760488 refactor ProfileContextMenu to make it a functional component
refactor ProfileContextMenu to make it a functional component

refactor ProfileContextMenu to make it a functional component

refactor ProfileContextMenu to make it a functional component

This refactor ProfileContextMenu to make it a functional component by:

refactored out direct calls to backend, and passing backend data structures and moved this logic to the callers, also refactored common calls between the callers
common types of context menus have been extracted to their sub components which removes a lot of logic too and makes the behaviour very clear
user verification workflow (which was already disabled) has been removed

refactor: use signals and call singletons on the parent instead

remove unused code for now from profile context menu

refactor profile context menu into two components; add property to storybook

extract blocked profile context menu and self profile context menu

use profileType instead of individual bools

refactor to pass trustStatus as an argument

make contact type a parameter

remove unnecessary method from RegularProfileContextMenu

add ensVerified property to ProfileContextMenu components

add onlineStatus property to ProfileContextMenu components

move ProfileContextMenu storybook controls to the right sidebar

move contactDetails logic up from the view

add local nickname property to ProfileContextMenu components

fix issue with missing signal; fix logs in storybook

use constant for profileType instead of string

refactor common code into a single method

refactor getProfileContext

remove references to contactDetails which are not longer needed

remove unnecessary comments

fix bridged constant

refactor into a single ProfileContextMenu component

refactor into a single ProfileContextMenu component

refactor into a single ProfileContextMenu component

simplify imports

remove unused store field

move methods from utils to contacts store

remove onClosed signal

remove unused param

rename ProfileContextMenu variables

simplify signals in ProfileContextMenu

remove ;

refactor: do early return

simplify ifs

move ProfileContextMenu to its own storybook page

fix wrong params

fix profile context menu separator

add missing signals to profile context menu on the members tab panel
2024-09-24 10:04:10 -04:00
Michał Cieślak 9c3b8fc34b Use ClipboardUtils.text instead of backend-dependent getFromClipboard 2024-08-29 15:46:17 +02:00
Alex Jbanca afcb7608e0 refactor(contactDetailsAsJson): Adding `ContactDetails` component to replace `getContactDetailsAsJson`
This component has live data and its purpose is to replace getContactDetailsAsJson

+ adding storybook page
+ adding tests
2024-06-14 17:17:18 +03:00
Andrey Bocharnikov b5dbac2e74
fix(Profile flow): ID verification cannot be removed ()
fix(UserListPanel): hide the verification icon for yourself

fixes 

* split function for reseting trust status and verification+trust status

* rename function to removeTrustVerificationStatus
2024-04-18 20:09:27 +04:00
Michal Iskierko 62c48a0072 chore(desktop): upgrade status-go
Issue 
2024-04-08 11:22:51 +03:00
Mikhail Rogachev 839f2c6b21
Feat: New showcase models for a contact ()
* Feat: New showcase models for a contact

* feat(ProfileShowcase): Integrate the new profile showcase backend

* fix(Storybook): Fix ProfileShowcaseModelsPage

* fix: fetch only requested profile showcase data

Support PR for https://github.com/status-im/status-go/pull/4982

* feat: Load and validate profile showcase for a contact in two steps

* fix: fetching criteria for profile showcase collectibles

* fix: review fixes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-03-29 12:43:49 +01:00
Mikhail Rogachev f934615752
feat: Add api for getting full pending CR object () 2024-02-29 12:49:37 +03:00
Mikhail Rogachev 6ac2f92200
feat: add `markAsTrusted` endpoint ()
Close 
2024-02-28 16:50:40 +03:00
Lukáš Tinkl 4a3eb4ce18 feat(Profile flow) Mark as untrusted
- add new popup for marking a person as untrusted
- optionally display checkboxes to remove ID verification or the contact
- emit toasts

Fixes 
2024-02-19 14:25:35 +01:00
Lukáš Tinkl 2fa65968c0 fix(Profile flow): Send a contact request (CR)
- make `SendContactRequestModal.qml` use the common dialog, use the
contact details if we already have it
- make some minimal changes to the "Send ID verification" flow since it
shares the same dialog
- simplify the `CommonContactDialog.qml` footer/buttons handling
- adjust the menu item texts
- emit toasts when the action is performed
- display a tooltip over the compressed elided key

Fixes 
2024-02-16 16:47:45 +01:00
Lukáš Tinkl 275d4fb349 fix(Profile flow): Adding/changing/removing a nickname
- introduce a shared `CommonContactDialog.qml` component, to be used in
all profile/contact related flows
- make `NicknamePopup.qml` use the common dialog
- adjust the menu item text and add a new "Remove nickname" item
- remove unused `DisplayNamePopup.qml`
- emit toasts when the nickname changes

Fixes 
2024-02-16 10:52:58 +01:00
Boris Melnik c3c74b9f61 feat(new-links-format): Adds new links to UI
Part of: 
2023-07-17 14:41:22 +03:00
Emil Sawicki f42f48b247 fix(@desktop/wallet); Refresh transaction wallet address 2023-05-23 07:44:29 -04:00
MishkaRogachev e160e70121 fix(Contacts): Remove lagecy `removeContactRequestRejection`
Close 
2023-05-02 13:56:36 -04:00
MishkaRogachev 2160b53e33 fix(ActivityCenter): Use ContactRequestId for accpeting and declining CRs from AC
Close 
2023-04-25 16:16:32 +04:00
Igor Sirotin 7ebfcd0183
fix(SendContactRequestModal): Implemented contact info request and loading UI () 2023-04-06 10:56:50 +03:00
Sale Djenic 8cc80694e2 fix(@desktop/general): qml warnings caused by undefined context props handled 2023-02-17 12:25:44 +01:00
MishkaRogachev ddf27d3038 feat(Contacts): Handle cancel identity verification on the reciever side
Close 
2022-12-15 15:44:45 +04: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 
2022-07-06 10:43:33 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close 
2022-06-22 15:50:59 -04:00
mishkarogachev 7a14cf5640 fix(@desktop/profile): Contact requests should support a message
Close 
2022-06-15 11:56:05 -04:00
Sale Djenic e2cdff1a98 fix(@desktop/chat): adding a contact with chat key should not immediately open a 1 on 1 chat or should block input
Fixes 
2022-05-24 15:58:47 -04:00
Sale Djenic 3cdc1358ba fix(@desktop/contacts): multiple contact related issues fixed
Fixes   
2022-04-13 16:40:34 -04:00
Sale Djenic 57fb0882aa fix(@desktop/chat): contact lists should only shown mutual contacts
Fixes 
2022-04-01 14:00:21 +02:00
Sale Djenic 149ff69310 fix(@desktop/contacts): contacts updated to match more closely to requested design 2022-04-01 14:00:21 +02:00
Sale Djenic e83e5670a4 feat(@desktop/contacts): support sending contact request to chat key
Fixes 
2022-03-30 18:35:49 +02:00
Jonathan Rainville 738a3ba93e feat(profile): re-design Contacts setting view
Fixes 
2022-03-18 11:37:26 -04:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes 
2022-03-11 14:31:51 -05:00
Sale Djenic e220599612 refactor(@desktop/general): necessary changes applied due to refactored `Contacts` sub-section of the `Settings` section 2022-02-01 11:47:46 +01:00
Sale Djenic da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00