3️Defining clear, logical rules
Last updated
Last updated
In the case where there is just no information on a profile that fits we need to come up with a rule that defines what to do in this case. The simplest way to do this is to simply create a rule that says: "if this section is missing, don't show it and resize the section to fit the content that's there."
Whatever the rule may be, it must be communicated to the developers using this card:
A good example is character limits. The default rich description field is 5000 characters which could be long for a website. You could implement a rule that limits the section to 1000 characters and then adds a read more button at the end of it which expands to show the whole content.
Each rule must have:
The condition for the rule to be applied (if the content contains more than 1000 characters)
What happens when the rule applies (cut off content at 1000 characters, show read more button which reveals the entirety of the content)
Try to keep these rules as simple as they can be, it'll help in lots of ways and avoid misunderstandings during development