Skip to content

Empty screens drawn like the host's - #16

Merged
gdarko merged 1 commit into
mainfrom
feat/empty-states
Sep 23, 2026
Merged

gdarko merged 1 commit into
mainfrom
feat/empty-states

Conversation

@gdarko

@gdarko gdarko commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

The host's empty states now show line drawings (InvoiceShelf/InvoiceShelf#810). This gives the module's empty screens drawings of their own in the same style, in place of the grey icon: tasks, the board with no statuses, projects, unbilled time and reports.

They use the placeholder's default slot and the host's CSS colour variables, both available on every host from 3.0.0-alpha.2, so older hosts show them too. The host's new faded placeholder rows aren't used, because older hosts don't have them.

The host's empty states now show a small line drawing in the logo's
style. The module's empty screens (tasks, the board without statuses,
projects, unbilled time and reports) get drawings of their own in the
same style, in place of a grey icon.

They go in the empty placeholder's default slot, which every host in
the compatibility range renders, and take their colours from the
host's CSS variables, so they follow light and dark without relying on
anything newer than 3.0.0-alpha.2.
@gdarko
gdarko merged commit d1bcbf4 into main Sep 23, 2026
1 check passed
@gdarko gdarko mentioned this pull request Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant