Problem/Motivation
#3574244: Add SDC Components Views Format style plugin to Varbase Components
Views-based components (Grid, List, Summary, Table, Unformatted) are implemented as SDC components but are not consistently exposed in the Views UI component selector.
Without an explicit indicator, these components may not appear in the list of available components when configuring a View display. This limits their usability and creates confusion when integrating component-driven rendering with Views.
Additionally, some of the rows slots were loosely defined and did not follow a structured schema, which may impact consistency with component metadata validation.
Proposed resolution
- Introduce a
use_in_views: true flag in the following Views components:
views-view-grid
views-view-list
views-view-summary
views-view-table
views-view-unformatted
- Ensure these components are properly detected and listed in the Views component selection UI.
- Normalize the rows slot definition to:
- Explicitly declare it as
type: array
- Define items as
type: object
- Provide consistent title and description values
This ensures:
- Views components are properly exposed in the UI.
- Metadata follows structured schema standards.
- Component-driven Views integration works cleanly with Drupal Canvas and Varbase Component architecture.
Remaining tasks
- ✅ File an issue about this project
- ❌ Addition/Change/Update/Fix to this project
- ❌ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Code review from 1 Varbase core team member
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ❌ Update Release Notes
- ❌ Release
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
API changes
Data model changes
Release notes snippet
Comments
Comment #2
rajab natshahComment #5
rajab natshah