Skip to content

[6.x] Adjust listing skeleton to match configured features#14796

Merged
jasonvarga merged 2 commits into
statamic:6.xfrom
daun:feature/listing-skeleton-conditional
Jun 10, 2026
Merged

[6.x] Adjust listing skeleton to match configured features#14796
jasonvarga merged 2 commits into
statamic:6.xfrom
daun:feature/listing-skeleton-conditional

Conversation

@daun

@daun daun commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This makes the skeleton UI of listings check for configured features. The search bar skeleton is only shown when search is enabled; the column customization button skeleton is only shown if columns can be customized; etc.

Example

Using the Listing component with no filters and presets and columns disabled.

<Listing
  ref="listing"
  :url="endpoint"
  :columns="columns"
  :allow-presets="false"
  :allow-customizing-columns="false"
>

Before

Screenshot 2026-06-10 at 00 50 11

After

Screenshot 2026-06-10 at 00 50 05

@jasonvarga jasonvarga merged commit 2fafd10 into statamic:6.x Jun 10, 2026
18 checks passed
@daun daun deleted the feature/listing-skeleton-conditional branch June 10, 2026 11:01
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.

2 participants