Content
View differences
Updated by Parimal Satyal 10 months ago
#### **As** a \[enter role of user\]
**I want to** \[enter objective\]
**so that** \[enter desired result\]
**Acceptance criteria**
* Create a new component called '**Email updates switch**' based on the 'Enable calendar updates' right-panel design consisting of:
<br>
**Technical notes**
* A heading (h4)
<br>
**Permissions and visibility considerations**
* Text (with colour: `color-fg-subtle`)
_To whom is this feature visible?_
* An action (by default: Link with leading icon, bold in accent colour)
_When is it not visible?_
**Translation considerations**
* The button operates as a switch (enable/disable). The text indicates the current state.
* Use this component in:
* The Meetings module for 'Email calendar updates' (originally implemented _Key terms and phrases in <mention class="mention" data-id="61773" data-type="work_package" data-text="##61773">##61773</mention>)
* The File storages module, for the 'Email updates to admin' section under the health checks
* Document this component in LookBook (Parimal) key languages_
#### **Technical notes** **Out of scope**
* The original design for this involved the use of toggle swtich. However, because of limitations of that implementation we had <br>
_Set the_ **To be informed/consulted teams** _field to change the design include all teams necessary to something simpler. More context (thanks, <mention class="mention" data-id="78274" data-type="user" data-text="@Mir Bhatia">@Mir Bhatia</mention>):
> I can't use be informed of the toggle switch + confirmation dialog pattern because it isn't possible without changing the primer component. What's happening is that the switch button moves before any data is even sent across, so even if you click "Cancel", the switch is in the moved position already. I tried to work around it by updating the switch itself when it is clicked, but this has a noticeable delay & you can see the switch moving over and back, which doesn't work either
#### **Visuals**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/749217/content"> changes._
**I want to** \[enter objective\]
**so that** \[enter desired result\]
* Create a new component called '**Email updates switch**' based on the 'Enable calendar updates' right-panel design consisting of:
**Technical notes**
**Permissions and visibility considerations**
**Translation considerations**
* Use this component in:
* The Meetings module for 'Email calendar updates' (originally implemented
* The File storages module, for the 'Email updates to admin' section under the health checks
* Document this component in LookBook (Parimal)
#### **Technical notes**
* The original design for this involved the use of toggle swtich. However, because of limitations of that implementation we had
_Set the_ **To be informed/consulted teams** _field
> I can't use
#### **Visuals**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/749217/content">