Skip to content

Commit 11c0e98

Browse files
authored
Merge pull request element-hq#10418 from vector-im/travis/features
Describe our existing features better in documentation
2 parents 55e2f18 + 83da5e6 commit 11c0e98

3 files changed

Lines changed: 24 additions & 8 deletions

File tree

‎config.sample.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
"defaultCountryCode": "GB",
2121
"showLabsSettings": false,
2222
"features": {
23-
"feature_groups": "labs",
24-
"feature_pinning": "labs"
23+
"feature_pinning": "labs",
24+
"feature_custom_status": "labs",
25+
"feature_custom_tags": "labs",
26+
"feature_state_counters": "labs"
2527
},
2628
"default_federate": true,
2729
"default_theme": "light",

‎docs/config.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ For a good example, see https://riot.im/develop/config.json.
2929
which should take priority and therefore the application cannot continue.
3030
1. `features`: Lookup of optional features that may be `enable`d, `disable`d, or exposed to the user
3131
in the `labs` section of settings. The available optional experimental features vary from
32-
release to release. Some of the available features are described in the Labs Feature section
33-
of this README.
32+
release to release. The available features are described in [labs.md](labs.md).
3433
1. `showLabsSettings`: Shows the "labs" tab of user settings even when no `features` are enabled
3534
or present. Useful for getting at settings which may be otherwise hidden.
3635
1. `brand`: String to pass to your homeserver when configuring email notifications, to let the

‎docs/labs.md‎

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
# Labs features
22

33
Some notes on the features you can enable by going to `Settings->Labs`. Not exhaustive, chat in
4-
[#riot-web:matrix.org] for more information.
4+
[#riot-web:matrix.org](https://matrix.to/#/#riot-web:matrix.org) for more information.
55

66
**Be warned! Labs features are not finalised, they may be fragile, they may change, they may be
77
dropped. Ask in the room if you are unclear about any details here.**
88

9-
## Render simple counters in room header
9+
## Message pinning (`feature_pinning`)
10+
11+
Allows you to pin messages in the room. To pin a message, use the 3 dots to the right of the message
12+
and select "Pin".
13+
14+
## Custom status (`feature_custom_status`)
15+
16+
An experimental approach for supporting custom status messages across DMs. To set a status, click on
17+
your avatar next to the message composer.
18+
19+
## Custom tags (`feature_custom_tags`)
20+
21+
An experimental approach for dealing with custom tags. Custom tags will appear in the bottom portion
22+
of the community filter panel.
23+
24+
Setting custom tags is not supported by Riot.
25+
26+
## Render simple counters in room header (`feature_state_counters`)
1027

1128
Allows rendering of labelled counters above the message list.
1229

@@ -28,5 +45,3 @@ Once enabled, send a custom state event to a room to set values:
2845
```
2946

3047
That's it. Now should see your new counter under the header.
31-
32-
[#riot-web:matrix.org]: https://matrix.to/#/#riot-web:matrix.org

0 commit comments

Comments
 (0)