Profile popup
The profile popup configuration.
Available actions
Target | Description |
---|---|
mobile |
Mobile phone |
email |
|
follow |
Follow user |
profile |
Visit the users profile page |
managedChannel |
Open managed channel with user; requires managed channel id |
chat |
Open direct chat with user |
Available tabs
- program
- programs
- admin-labels
- devices
- statistics
- layout
- activity
- dispatches
- attributes
- groups
- edit
- labels
- self
- admin
- dispatch-properties
- program-tickets
General syntax
Tab component syntax for all tabs. Either show or condition can be used to determine when the tab is visible.
{
"title": "Title",
"condition": ".. optional rule ..",
"show": "always"|"admin"|"self"|"other"|"self-or-admin",
"display": "..component..",
"options": {
... options ...
}
}
Styles
Styles can be set for the native version:
Components
Layout
{
.. other attributes ..
"display": "layout",
"options": {
"layoutId": "..valid uuid"
}
}
Statistics
{
.. other attributes ..
"display": "statistics",
"options": {
"stats": [
{
"title": "Last 30 days",
"query": "...",
"lines": [
{
"handles": ["journal"],
"title": "Journal entries",
"icon": "fal fa-pen"
},
{
"handles": ["workout"],
"title": "Workout sessions",
"icon": "fal fa-weight-hanging"
}
]
}
]
}
}