diff --git a/devuser_guide/content/dev_guide/chat/contact_requests.md b/devuser_guide/content/dev_guide/chat/contact_requests.md new file mode 100644 index 0000000000..b10d9dd64c --- /dev/null +++ b/devuser_guide/content/dev_guide/chat/contact_requests.md @@ -0,0 +1,76 @@ +--- +title : "Contact requests" +description: "" +lead: "" +date: 2020-10-06T08:48:23+00:00 +lastmod: 2020-10-06T08:48:23+00:00 +draft: false +images: [] +menu: + dev: + parent: "chat" +toc: true +--- + +[User Docs for this section](/docs/chat/contact_requests/) + +## Sending a contact request + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L186) + +### From the contact banner + +key source file: [`ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/AddToContactBanner.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/AddToContactBanner.qml#L36) + +### From the contact request message + +key source file: [`ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/ChatRequestMessage.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/ChatRequestMessage.qml#L46) + + +## Seeing contact requests + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L123) + +key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml) + +## Accepting contact request + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L186) + +key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L79) + +## Accepting all contact requests + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L199) + +key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml#L83) + +## Rejecting contact request + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L191) + +key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L64) + +## Rejecting all contact requests + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L194) + +key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml#L69) + +## Block contact request + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L216) + +key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L125) + +## Notification + +key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L90) + +key source file: [`ui/app/AppLayouts/Chat/ContactsColumn.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ContactsColumn.qml#L124) + +## Modifying the setting + +key source file: [`src/app/profile/view.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/view.nim#L137) + +key source file: [`ui/app/AppLayouts/Profile/Sections/PrivacyContainer.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/PrivacyContainer.qml#L118) diff --git a/devuser_guide/content/docs/chat/contact_requests.md b/devuser_guide/content/docs/chat/contact_requests.md new file mode 100644 index 0000000000..508d1ad9a8 --- /dev/null +++ b/devuser_guide/content/docs/chat/contact_requests.md @@ -0,0 +1,50 @@ +--- +title : "Contact requests" +description: "" +lead: "" +date: 2021-05-18T08:48:23+00:00 +lastmod: 2021-05-18T08:48:23+00:00 +draft: false +images: [] +menu: + docs: + parent: "chat" +toc: true +--- + +## Sending a contact request + +To send a contact request to someone, you just have to add them as a contact, either from the contact profile, the Contact section in your profile or from the one to one chat button called "Add to contact". + +![addToContact](/images/chats/contact_requests/addToContact.png) + +## Seeing contact requests + +The contact requests button appears in the contact colmun just above channel. If there is no contact requests, the button is not shown. The number of requests is shown in the badge. + +That list will update when you receive new contact requests in real time or update with past requests when logging in. + +![requestButton](/images/chats/contact_requests/requestButton.png) + +You will also get a notification, if it was enabled in the settings (enabled by default), when you receive a new contact request. + + +In the Contact requests popup, wou will see all your received contact requests. +From there, you can accept or reject requests individually or in bulk. +You can also block a person or see it's profile from the three dots (`...`) button. + +![popup](/images/chats/contact_requests/popup.png) + +## Blocking new contact requests + +You can block new contact requests by going in your Profile in the Privacy section. + +The "Allow new contact requests" is by default turned on, meaning that you will get new contact requests. If you turn it off, you will no longer receive contact requests from anyone. You can still add contacts and get contacted by your contacts however. + +![allowContactSetting](/images/chats/contact_requests/allowContactSetting.png) + +## Blocking contact request notifications + +If you still want to receive contact requests, but don't want the notification, you can disable it in your Profile in the Notifications section. + +![notifySetting](/images/chats/contact_requests/notifySetting.png) diff --git a/devuser_guide/static/images/chats/contact_requests/addToContact.png b/devuser_guide/static/images/chats/contact_requests/addToContact.png new file mode 100644 index 0000000000..1c933bb888 Binary files /dev/null and b/devuser_guide/static/images/chats/contact_requests/addToContact.png differ diff --git a/devuser_guide/static/images/chats/contact_requests/allowContactSetting.png b/devuser_guide/static/images/chats/contact_requests/allowContactSetting.png new file mode 100644 index 0000000000..bc1273f05b Binary files /dev/null and b/devuser_guide/static/images/chats/contact_requests/allowContactSetting.png differ diff --git a/devuser_guide/static/images/chats/contact_requests/notifySetting.png b/devuser_guide/static/images/chats/contact_requests/notifySetting.png new file mode 100644 index 0000000000..ec442cf8cd Binary files /dev/null and b/devuser_guide/static/images/chats/contact_requests/notifySetting.png differ diff --git a/devuser_guide/static/images/chats/contact_requests/popup.png b/devuser_guide/static/images/chats/contact_requests/popup.png new file mode 100644 index 0000000000..c65ce92c37 Binary files /dev/null and b/devuser_guide/static/images/chats/contact_requests/popup.png differ diff --git a/devuser_guide/static/images/chats/contact_requests/requestButton.png b/devuser_guide/static/images/chats/contact_requests/requestButton.png new file mode 100644 index 0000000000..86c2afb79c Binary files /dev/null and b/devuser_guide/static/images/chats/contact_requests/requestButton.png differ