Make description
field optional for Highlghted Cards
#1657
Closed
carlosgarciaibanez
started this conversation in
Proposals
Replies: 1 comment
-
We agree to include description as optional prop! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
We want to simplify the management of this type of components, it doesn't seem to make much sense to have a mandatory description in a component like this.
Context
We are currently using the Highlighted Cards for modules that do not require a description, like our Airtime Rewards module:
To achieve this, we are currently setting the description field to a blank space, but this is a brittle and problematic solution.
The proper way to go would be to make the field completely optional.
Impact
This will simplify things and will allow us to remove some dirty hacks.
Discussion Questions
Additional considerations
No response
Do you have a visual proposal?
No response
Beta Was this translation helpful? Give feedback.
All reactions