-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14124 from nextcloud/feat/14017/sample-conversations
feat(conversations): Add new sample conversation "💡 Let's get started!"
- Loading branch information
Showing
45 changed files
with
615 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Sample conversations | ||
|
||
In Hub 10 (Nextcloud 31) we introduced new sample conversations to better showcase various features of Nextcloud Talk. The default sample conversations are translated just like Nextcloud itself is, so it should be shown to the user in a language they understand. | ||
|
||
## Custom samples | ||
|
||
It is also possible to replace the sample conversations. For this you need to configure the `samples_directory` app config of the spreed app to point to a directory. | ||
```shell | ||
sudo -u www-data php /var/www/nextcloud/occ \ | ||
config:app:set \ | ||
spreed samples_directory \ | ||
--value '/this/is/the/configured/path' | ||
``` | ||
|
||
In the directory you put a subdirectory of each language that you want to support. A directory structure looks like the following: | ||
|
||
``` | ||
/this/is/the/configured/path | ||
├─ de/ | ||
├─ en/ | ||
├─ es/ | ||
└─ fr/ | ||
``` | ||
The chosen language is picked from the user language, falling back to the `default_language` and can be overwritten with the `force_language` system config. It's also falling back from languages like `de_DE` to `de` if the first one is picked but does not exist. | ||
|
||
In each of the languages you can have a unique set of sample Markdown files. | ||
|
||
### Conversation information | ||
|
||
The first section of the Markdown files must contain the following information, prefixed with the matching keyword: | ||
|
||
``` | ||
NAME: Let´s get started! | ||
EMOJI: 💡 | ||
COLOR: #0082c9 | ||
--- | ||
``` | ||
|
||
End this segment with 3 dashes `---`. | ||
|
||
Optionally you can have a description in the second section, indicated by the `DESCRIPTION:` marker as a beginning and ending again with `---`: | ||
|
||
```markdown | ||
DESCRIPTION: | ||
|
||
This is a *sample* description! Including **Markdown** support. | ||
|
||
--- | ||
``` | ||
|
||
Please note that descriptions are currently limited to 2.000 characters. | ||
|
||
### Messages | ||
|
||
Afterwards you can have unlimited amount of messages, each separated by `---`. Messages support markdown and mentions. | ||
|
||
Additionally, the following additional features can be used: | ||
|
||
- Reply: `{REPLY}` (at the start of the message) The message will be posted as a reply to the previous message | ||
- Reactions: `{REACTION:👍}` (anywhere in the message) will be removed and a reaction with the given emoji will be down by the system | ||
- File link: `{FILE:Readme.md}` (anywhere in the message) will be removed from the message and a link to the specified file inside the user's Files app root will be posted | ||
|
||
## Disable samples | ||
|
||
If you don't like the samples we provide, and you don't want to write your own samples, you can also disable them by setting the `create_samples` app config of the spreed app to false: | ||
```shell | ||
sudo -u www-data php /var/www/nextcloud/occ \ | ||
config:app:set \ | ||
spreed create_samples \ | ||
--value false --type boolean | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
NAME: Let´s get started! | ||
EMOJI: 💡 | ||
COLOR: #0082c9 | ||
--- | ||
{DESCRIPTION} | ||
|
||
**Nextcloud Talk** is a secure, self-hosted communication platform that integrates seamlessly with the Nextcloud ecosystem. | ||
|
||
#### Key Features of Nextcloud Talk: | ||
|
||
* Chat and messaging in private and group chats | ||
* Voice and video calls | ||
* File sharing and integration with other Nextcloud apps | ||
* Customizable conversation settings, moderation and privacy controls | ||
* Web, desktop and mobile (iOS and Android) | ||
* Private & secure communication | ||
|
||
Find out more in the [user documentation](https://docs.nextcloud.com/server/latest/user_manual/en/talk/index.html). | ||
|
||
--- | ||
|
||
# Welcome to Nextcloud Talk | ||
|
||
Nextcloud Talk is a private and powerful messaging app that integrates with Nextcloud. Chat in private or group conversations, collaborate over voice and video calls, organize webinars and events, customize your conversations and more. | ||
|
||
--- | ||
|
||
## 🎨 Format texts to create rich messages | ||
|
||
In Nextcloud Talk, you can use Markdown syntax to format your messages. For example, apply **bold** or *italic* formatting, or `highlight texts as code`. You can even create tables and add headings to your text. | ||
|
||
Need to fix a typo or change formatting? Edit your message by clicking "Edit message" in the message menu. | ||
|
||
--- | ||
|
||
## 🔗 Add attachments and links | ||
|
||
Attach files from your Nextcloud Hub using the "+" button. Share items from Files and various Nextcloud apps. Some apps even support interactive widgets, for example, the Text app. | ||
|
||
{FILE:Readme.md} | ||
|
||
--- | ||
|
||
## 💭 Let the conversations flow: mention users, react to messages and more | ||
|
||
You can mention everybody in the conversation @all or mention specific participants by typing "@" and picking their name from the list. | ||
|
||
{REACTION:😍} | ||
{REACTION:👍} | ||
|
||
--- | ||
|
||
{REPLY} | ||
You can reply to messages, forward them to other chats and people, or copy message content. | ||
|
||
--- | ||
|
||
## ✨ Do more with Smart Picker | ||
|
||
Simply type "/" or go to the "+" menu to open the Smart Picker where you can attach various content to your messages. You can configure the Smart Picker to be able to add items from Nextcloud apps, GIFs, map locations, AI generated content and much more. | ||
|
||
--- | ||
|
||
## ⚙️ Manage conversation settings | ||
|
||
In the conversation menu, you can access various settings to manage your conversations, such as: | ||
* Edit conversation info | ||
* Manage notifications | ||
* Apply numerous moderation rules | ||
* Configure access and security | ||
* Enable bots | ||
* and more! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.