Feature Toggle
Toggle is a feature that allows world owners to hide specific pieces of content from viewers in their worlds. This can be useful for things like hiding the article vignette or the prompt linked articles, and can also help with reducing clutter. The toggle can be enabled or disabled in the worlds cog icon menu under global options. The toggle is available in both new and existing worlds.
Toggles enforce a mutually exclusive state, either on or off. Toggles are a good choice for use in user interfaces because they allow the user to decide their preference without impacting the system state (unless the toggle is pressed multiple times in a row). Toggles can be used with or without the help of context, but it is important that the current state of the toggle is obvious to the users. This is typically achieved through high contrast color, and consideration of societal or cultural implications of the toggle’s state.
Savvy teams view the Feature Toggles in their codebase as inventory which comes with a carrying cost, and they seek to keep that inventory as low as possible. One way to do this is to be proactive about removing the toggle when it is no longer needed, such as after a test has run. Another way is to add a task to the team’s backlog to remove the toggle, or to put an “expiration date” on the toggle such that it will fail a test (or even refuse to start the application!) once it is past its expiration.