mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-23 12:08:53 +00:00
document one one chats
This commit is contained in:
parent
873d1ef02e
commit
9d32803b82
devuser_guide/content
dev_guide
docs
@ -12,13 +12,68 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[User Docs for this section](/docs/chat/one_on_one/)
|
||||
|
||||
## sending images
|
||||
|
||||
### with upload button
|
||||
|
||||
### with drag & drop
|
||||
|
||||
## transactions
|
||||
|
||||
### send transaction
|
||||
|
||||
### request payment
|
||||
|
||||
## start new 1 on 1 Chat
|
||||
|
||||
key source file: [`ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml#L36)
|
||||
|
||||
key source file: [`ui/app/AppLayouts/Chat/ContactsColumn.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/app/AppLayouts/Chat/ContactsColumn.qml#L50)
|
||||
|
||||
key source file: [`ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml#L9)
|
||||
|
||||
key source file: [`ui/shared/ContactsListAndSearch.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/shared/ContactsListAndSearch.qml#L7)
|
||||
|
||||
### with existing contact
|
||||
|
||||
key source file: [`ui/shared/ContactsListAndSearch.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/shared/ContactsListAndSearch.qml#L141)
|
||||
|
||||
key source file: [`ui/shared/ExistingContacts.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/shared/ExistingContacts.qml#L37)
|
||||
|
||||
key source file: [`src/app/profile/view.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/profile/view.nim#L26)
|
||||
|
||||
key source file: [`src/app/profile/views/contact_list.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/profile/views/contact_list.nim#L21)
|
||||
|
||||
key source file: [`src/app/profile/core.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/profile/core.nim#L67)
|
||||
|
||||
key source file: [`src/app/profile/core.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/profile/core.nim#L67)
|
||||
|
||||
key source file: [`src/status/contacts.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/status/contacts.nim#L52)
|
||||
|
||||
key source file: [`src/status/libstatus/contacts.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/status/libstatus/contacts.nim#L26)
|
||||
|
||||
### by ENS username
|
||||
|
||||
key source file: [`ui/shared/ContactsListAndSearch.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/shared/ContactsListAndSearch.qml#L51)
|
||||
|
||||
key source file: [`src/app/chat/view.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/chat/view.nim#L801)
|
||||
|
||||
key source file: [`ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml#L37)
|
||||
|
||||
The ENS search uses a debouce of 500ms to avoid unnecessary searches, and calls [`chatsModel.resolveENS(ensName)`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/shared/ContactsListAndSearch.qml#L29)
|
||||
|
||||
// TODO: describe how thread pool works
|
||||
|
||||
### by chat key
|
||||
|
||||
key source file: [`ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/app/AppLayouts/Chat/components/PrivateChatPopup.qml#L37)
|
||||
|
||||
key source file: [`src/app/chat/view.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/app/chat/view.nim#L588)
|
||||
|
||||
key source file: [`src/status/chat.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/status/chat.nim#L131)
|
||||
|
||||
key source file: [`src/status/libstatus/chat.nim`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/src/status/libstatus/chat.nim#L21)
|
||||
|
||||
The chat is initialized with `chatsModel.joinChat(pubKey, Constants.chatTypeOneToOne)`, on the backend this calls the `saveChat` RPC method
|
||||
|
@ -12,6 +12,8 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[User Docs for this section](/docs/onboarding/initial/)
|
||||
|
||||
## Disclaimer
|
||||
|
||||
key source file: [`ui/onboarding/Intro.qml`](https://github.com/status-im/status-desktop/blob/65a0cfbcd30eb7bde4e24cdb1680b3e03d8b1992/ui/onboarding/Intro.qml#L9)
|
||||
|
@ -12,6 +12,8 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[User Docs for this section](/docs/onboarding/login/)
|
||||
|
||||
key source file: [`ui/onboarding/Login.qml`]()
|
||||
|
||||
## login process
|
||||
|
@ -12,6 +12,8 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[Dev Docs for this section](/dev_guide/chat/one_on_one/)
|
||||
|
||||
## sending images
|
||||
|
||||
Sending images works on 1 on 1 chats (and in Communities), you can send an image by pressing the upload image button or by drag and dropping an image into the chat
|
||||
|
@ -12,6 +12,8 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[Dev Docs for this section](/dev_guide/onboarding/initial/)
|
||||
|
||||
## Disclaimer
|
||||
|
||||

|
||||
|
@ -12,6 +12,8 @@ menu:
|
||||
toc: true
|
||||
---
|
||||
|
||||
[Dev Docs for this section](/dev_guide/onboarding/login/)
|
||||
|
||||

|
||||
|
||||
## multiple accounts
|
||||
|
Loading…
x
Reference in New Issue
Block a user