Telefonica / mistica-design

Mística Design System (only design)
https://brandfactory.telefonica.com/mistica
20 stars 4 forks source link

Support toggle in card top actions #1679

Closed aweell closed 3 months ago

aweell commented 4 months ago

Tasks

Discussed in https://github.com/Telefonica/mistica-design/discussions/1540

Originally posted by **LucasAlbuquerque0** October 30, 2023 ### Goal Request the evolution of the Postar Card to meet a need. - Add Subtitle field - Add the Icon Button to the Top Actions (right of the Card) _Would you like to confirm if the Icon Button has a Loading status?_ ### Context Within the Smart Journey flow, there was a need for a Card that has two different interactions, one when directly clicking on it (Information Expansion) and another for a quick action that will be on and off (switch). ### Impact It will allow the user to activate and control connected smart devices in their home. ### Discussion Questions It is important that this Action Button has loading as one of the states. Guaranteeing time for functionality to access the data necessary for action. Can you confirm this information? And the possibility of this implementation, if necessary? ### Additional considerations _No response_ ### Do you have a visual proposal? https://www.figma.com/file/6Sp4S0krZaG1daAFaNh54k/Evolu%C3%A7%C3%A3o-do-Poster-Card?type=design&node-id=407-7914&mode=design&t=abdKEn1MID7QbbYw-4