twenty
twenty copied to clipboard
Add empty states for show relations
Current Behavior
- There is a strange feeling of emptiness (no empty state).
- There is a strange horizontal bar
- We display "All(0)" even when there are no records.
Desired Behavior
For 1. and 2. if an object has no associated relations, display a placeholder like this: For 3. don't display "All(0)" when there is no associated records
https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=21021-176578&mode=design&t=jdnR7W1zF159eKJw-11
Thanks @jeet1desai 🙏
I didn't mention it, but the icons for the empty state represent the related object, such as 🎯 for opportunities. Also, display the singular name of the object in the empty state, like "no opportunity" instead of "no opportunities."