Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vivocha/ps-app
Vivocha Interaction App
https://github.com/vivocha/ps-app
app covisian gaia
Last synced: about 1 month ago
JSON representation
Vivocha Interaction App
- Host: GitHub
- URL: https://github.com/vivocha/ps-app
- Owner: vivocha
- Created: 2024-06-12T15:26:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T12:07:27.000Z (4 months ago)
- Last Synced: 2024-08-28T10:33:21.528Z (4 months ago)
- Topics: app, covisian, gaia
- Language: SCSS
- Homepage: https://github.com/vivocha/vvc-app
- Size: 2.3 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Vivocha Interaction App
- [Features](#features)
- [Hide Text Input](#hide-text-input)
- [Reactive Buttons On Templates](#reactive-buttons-on-templates)
- [Adobe After Effects Support](#adobe-after-effecs-support)
- [Custom Actions](#custom-actions)
- [Set Agent](#set-agent)## Features
### Hide Text Input
This feature hides the text input if no free text is allowed. It’s enabled by default with quick replies and can be configured in templates.
```javascript
{
code: 'message',
type: 'text',
body: '',
template: {
type: 'generic',
hide_text_input: 'true',
[...]
}
}
```Please, keep in mind that both the quick replies and the templates need at least a button with a valid payload to continue the active conversation or users have no more chances to interact.
### Reactive Buttons On Templates
This feature makes buttons on both generic and list templates reactive to run the action of the first clicked and to make them unclickable after the first user choice in the same group pretty like the way quick replies do.
### Adobe After Effects Support
This feature has been developed for lastminute.com and adds support for Adobe After Effects animation exported in JSON via Lottie: a library created and maintained by Airbnb.
Please, compile the [lastminute](https://github.com/vivocha/ps-app/tree/lastminute) branch to get it working as expected by the customer.
### Custom Actions
#### Set Agent
This custom action has been developed for **Smile.CX Gaia** to let [Rocket.Chat](https://www.rocket.chat/) change the agent details via Vivocha Bot SDK.
You should send a message like the following.
```javascript
{
code: 'message',
type: 'action',
action_code: 'setAgent',
args: [
{
avatar: '/path/to/fmoretti/avatar.png',
nickname: 'Federico Moretti',
status: 'Online'
}
]
} as ActionMessage
```All of the keys are of type `string` and the `avatar` key must be a valid image URL.