2019-03-13 17:54:46 +00:00
|
|
|
# riot-web Labs features
|
|
|
|
|
2019-03-22 14:49:44 +00:00
|
|
|
Some notes on the features you can enable by going to `Settings->Labs`. Not exhaustive, chat in
|
|
|
|
[#riot-web:matrix.org] for more information.
|
2019-03-13 17:54:46 +00:00
|
|
|
|
2019-03-22 14:49:44 +00:00
|
|
|
**Be warned! Labs features are not finalised, they may be fragile, they may change, they may be
|
|
|
|
dropped. Ask in the room if you are unclear about any details here.**
|
2019-03-13 17:54:46 +00:00
|
|
|
|
|
|
|
## Render simple counters in room header
|
|
|
|
|
|
|
|
Allows rendering of labelled counters above the message list.
|
|
|
|
|
|
|
|
Once enabled, send a custom state event to a room to set values:
|
|
|
|
|
|
|
|
1. In a room, type `/devtools` to bring up the devtools interface
|
|
|
|
2. Click "Send Custom Event"
|
|
|
|
3. Toggle from "Event" to "State Event"
|
|
|
|
4. Set the event type to: `re.jki.counter` and give it a unique key
|
|
|
|
5. Specify the content in the following format:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"link": "",
|
|
|
|
"severity": "normal",
|
|
|
|
"title": "my counter",
|
|
|
|
"value": 0
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
That's it. Now should see your new counter under the header.
|
|
|
|
|
2019-05-01 18:13:44 +00:00
|
|
|
## Reactions
|
|
|
|
|
|
|
|
`feature_reactions` allows reacting to messages with emoji and displaying
|
|
|
|
reactions from other people. This feature is currently under active development,
|
|
|
|
and only portions have been implemented so far.
|
|
|
|
|
|
|
|
[#riot-web:matrix.org]: https://matrix.to/#/#riot-web:matrix.org
|