collaction_app
collaction_app copied to clipboard
[DEFECT]: Align Chips with design
Describe the defect The Chips Widgets used on CrowdAction Cards are not aligned with the design.
We will only display text inside the Chip, and the text style must be aligned with caption 2 (See Figma).
Depending on the Status of the CrowdAction, the label should change accordingly:
CrowdActionStatus.joinable => "Now open"
CrowdActionStatus.active => "Currently running"
CrowdActionStatus.ended => "Finished"
~~This ticket is not in TO-DO at the moment, as the required logic has not been mapped.~~
This is ready, it should be rather easy.
isOpen ? "Now open" : (isEnded ? "Finished" : "Currently running")