Skip to content

Add compound-components feature flag#104

Merged
ryanoneill merged 1 commit intomainfrom
fix/compound-feature-gates
Mar 2, 2026
Merged

Add compound-components feature flag#104
ryanoneill merged 1 commit intomainfrom
fix/compound-feature-gates

Conversation

@ryanoneill
Copy link
Owner

Summary

  • Adds a new compound-components feature flag that gates all 8 compound components: Form, SearchableList, SplitPanel, DataGrid, LogViewer, ChatView, MetricsDashboard, Chart
  • The feature transitively enables input-components, data-components, and display-components (the dependencies compound components need)
  • Added to the full feature, so default behavior is unchanged
  • Users who only need basic component groups can now skip compiling compound components

Test plan

  • cargo check --all-features passes
  • cargo check --no-default-features compiles (compound components excluded)
  • cargo check --no-default-features --features input-components compiles clean
  • cargo test --all-features passes (2882 unit + 267 doc)
  • cargo clippy --all-features -- -D warnings clean

🤖 Generated with Claude Code

Gates all 8 compound components (Form, SearchableList, SplitPanel,
DataGrid, LogViewer, ChatView, MetricsDashboard, Chart) behind a new
`compound-components` feature flag. This feature transitively enables
its dependencies: input-components, data-components, and
display-components.

The `full` feature now includes `compound-components`, so default
behavior is unchanged. Users who only need specific component groups
can now avoid compiling compound components they don't use.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.82%. Comparing base (ff80ab6) to head (f6663f0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage   92.82%   92.82%           
=======================================
  Files          94       94           
  Lines        9471     9471           
=======================================
  Hits         8791     8791           
  Misses        680      680           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ryanoneill ryanoneill merged commit 4a40fe8 into main Mar 2, 2026
11 of 12 checks passed
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