You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show helpful empty states with a call to action on People, Companies and Meetings #35
When a workspace has no people, companies or meetings, those views show only a title such as "No people match this view." above an empty table header. They do not distinguish "nothing here yet" from "your filters exclude everything", and they offer nothing to click.
src/components/views/people-view.tsx, companies-view.tsx and meetings-view.tsx render <EmptyState title={...} compact /> without an action.
EmptyState in src/components/ui/states.tsx already accepts an action.
src/components/views/actions-view.tsx shows the pattern to follow ("Your workspace is ready" with buttons).
Done when
With no records at all, each view explains what belongs there and offers a primary button (Add person, Add company, Add meeting).
With records hidden by filters, the message says so and offers to clear filters.
The empty table header is not rendered in either case.
Strings live in packages/i18n/translations/en.json; light and dark themes both checked.
Activity