Closed JoCa96 closed 2 weeks ago
@JoCa96 Review/approval notes:
features
property breaks the control panel layout. Maybe we should just add a link to the Storybook example?:
sorting changed
action is only logged/emitted for ascending. For descending and reset, nothing is shown/emitted
Depends on
1660
Description
The composable provides the basic API for implementing table features.
This is done by taking the provided user table data and transform and extend it. Every feature can perform some transformations and wrap rendered slots.
In the first step, we implement the basic
useTableFeature
composable. It should be enough to implement aSort
feature.Implementation details
The basic
useTableFeature
composable API should look like this:Reference implementation
Design
https://www.figma.com/design/YfEUBOHk4J4nYrk04geswG/Onyx-Component-Library?node-id=4435-44768&node-type=text&m=dev
Acceptance criteria
useTableFeature
composable is used to create input for the rendererwithSorting
Feature is implemented using the APIDefinition of Done
apps/demo-app/src/views/HomeView.vue
Approval