kit

Switch

Built revision v17.10.0

Phoenix
Topics

Human support

Bring a missing role, layout, or state, or a rendering against the standard, to the session working on kit. Name the package and the entry.

Switch

On Off Off An email each Monday with the week's changes.
On Off On A dot beside your name while you have the app open.
On Off Off A reminder the day before. Add a mobile number to your account to turn this on.
On Off On Your organiser has turned this on for everyone. Teammates see the time, not the details.
Source
<Kit.Phoenix.Roles.FormGroup.form_group id="phoenix-switch-summary">
  <:label>Weekly summary</:label>
  <:control :let={binding}>
    <Kit.Phoenix.Roles.Switch.switch binding={binding} name="summary" checked={false} on_words="On" off_words="Off" />
  </:control>
  <:help>An email each Monday with the week's changes.</:help>
</Kit.Phoenix.Roles.FormGroup.form_group>
<Kit.Phoenix.Roles.FormGroup.form_group id="phoenix-switch-online">
  <:label>Show when I'm online</:label>
  <:control :let={binding}>
    <Kit.Phoenix.Roles.Switch.switch binding={binding} name="online" checked on_words="On" off_words="Off" />
  </:control>
  <:help>A dot beside your name while you have the app open.</:help>
</Kit.Phoenix.Roles.FormGroup.form_group>
<Kit.Phoenix.Roles.FormGroup.form_group id="phoenix-switch-texts">
  <:label>Text me before each booking</:label>
  <:control :let={binding}>
    <Kit.Phoenix.Roles.Switch.switch binding={binding} name="texts" checked={false} on_words="On" off_words="Off" />
  </:control>
  <:help>A reminder the day before.</:help>
  <:error>Add a mobile number to your account to turn this on.</:error>
</Kit.Phoenix.Roles.FormGroup.form_group>
<Kit.Phoenix.Roles.FormGroup.form_group id="phoenix-switch-calendar">
  <:label>Share my bookings with the team calendar</:label>
  <:control :let={binding}>
    <Kit.Phoenix.Roles.Switch.switch binding={binding} name="calendar" checked disabled on_words="On" off_words="Off" reason="Your organiser has turned this on for everyone." />
  </:control>
  <:help>Teammates see the time, not the details.</:help>
</Kit.Phoenix.Roles.FormGroup.form_group>

Switch, processing

On Off Turning on… On An email each Monday with the week's changes.
Source
<Kit.Phoenix.Roles.FormGroup.form_group id="phoenix-switch-processing-summary">
  <:label>Weekly summary</:label>
  <:control :let={binding}>
    <Kit.Phoenix.Roles.Switch.switch binding={binding} name="summary" checked on_words="On" off_words="Off" processing="Turning on…" />
  </:control>
  <:help>An email each Monday with the week's changes.</:help>
</Kit.Phoenix.Roles.FormGroup.form_group>