Commit graph

22 commits

Author SHA1 Message Date
Michael Telatynski
d81f71f993
Load SAS Emoji translations from @matrix-org/spec ()
* Remove last instance of componentWillMount

* Load SAS Emoji translations from @matrix-org/spec

* Fix import

* Test normalisation on both sides

* update comment for @richvdh

* Delint
2023-08-21 08:15:22 +00:00
Richard van der Hoff
7516c7f420
settings.md: Fix formatting in an example () 2022-12-14 18:34:23 +00:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Dominik Henneke
ae883bb94b
Update the documentation for the show_labs_settings parameter ()
The parameter is actually called `show_labs_settings` but the documentation claims it is `showLabsSettings`.

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2022-10-12 11:58:25 -06:00
Travis Ralston
d8a939df5d
Use & enforce snake_case naming convention on config.json settings ()
* Document and support the established naming convention for config opts

This change:
* Rename `ConfigOptions` to `IConfigOptions` to match code convention/style, plus move it to a dedicated file
* Update comments and surrounding documentation
* Define every single documented option (from element-web's config.md)
* Enable a linter to enforce the convention
* Invent a translation layer for a different change to use
* No attempt to fix build errors from doing this (at this stage)

* Add demo of lint rule in action

* Fix all obvious instances of SdkConfig case conflicts

* Fix tests to use SdkConfig directly

* Add docs to make unset() calling safer

* Appease the linter

* Update documentation to match snake_case_config

* Fix more instances of square brackets off SdkConfig
2022-03-18 10:12:36 -06:00
David Teller
6b870ba1a9
MSC3531 - Implementing message hiding pending moderation ()
Signed-off-by: David Teller <davidt@element.io>
2022-01-17 16:04:37 +01:00
Travis Ralston
f4f30a3274 Introduce a concept of UI features, using it for URL previews at first
Fixes https://github.com/vector-im/element-web/issues/15176

This is effectively the base for all of https://github.com/vector-im/element-web/issues/15185
2020-09-14 22:28:02 -06:00
Travis Ralston
0fef86cc74 Fix find & replace error 2020-08-19 11:52:02 -06:00
Travis Ralston
2c0e6c859a Update settings documentation for features 2020-08-17 13:32:33 -06:00
Bruno Windels
66aea5eea5 Merge branch 'develop' into bwindels/settings-config-doc 2020-04-01 11:43:03 +02:00
Bruno Windels
ce8f7eaace
Apply suggestions from code review
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-01 09:37:17 +00:00
Bruno Windels
50bb556bc7
Update docs/settings.md
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-01 09:36:50 +00:00
Bruno Windels
9e60e4b669
Update docs/settings.md
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2019-10-02 09:00:24 +00:00
Bruno Windels
026733304e add doc for where default settings go in config file now we're here 2019-10-01 17:00:41 +02:00
Bruno Windels
9e4d8e7dfe document settingDefaults 2019-05-31 15:00:26 +02:00
J. Ryan Stinnett
147c287acd
Fix typo in Settings docs 2019-04-26 10:45:13 +01:00
Travis Ralston
fbffd3e97e Make the settings documentation fit within 120 characters per line 2019-02-26 12:52:59 -07:00
Travis Ralston
93673eff12 Use a global WatchManager for settings
Fixes https://github.com/vector-im/riot-web/issues/8936

Watchers are now managed by the SettingsStore itself through a global/default watch manager. As per the included documentation, the watch manager dispatches updates to callbacks which are redirected by the SettingsStore for consumer safety.
2019-02-26 12:52:59 -07:00
Travis Ralston
7ea4008daa Implement support for watching for changes in settings
This implements a dream of one day being able to listen for changes in a settings to react to them, regardless of which device actually changed the setting. The use case for this kind of thing is extremely limited, but when it is needed it should be more than powerful enough.
2019-02-22 17:09:07 -07:00
Travis Ralston
7515a3124a
Explain feature states in a lot more detail 2018-10-11 10:22:28 -06:00
Travis Ralston
f0000f7400 Update documentation
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-05 14:33:40 -07:00
Travis Ralston
6f8523081b Some documentation
Far from complete, and probably needs a bit of work, but it's a start.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-30 21:09:24 -06:00