Open Issues Need Help
View All on GitHubAI Summary: Implement a 'Reset filters' button/link in a React table component. This button should only appear when the current filters differ from the initial filters and, when clicked, should revert the active filters to their initial state. The functionality leverages existing state management within the 'Table Tools' library.
AI Summary: Fix a bug in the `bastilian-tabletools` library where enabling bulk selection with `onSelect: true` throws a `TypeError`. The solution involves preventing the `onSelect` prop from being passed to the `useSelectionManager` within the `useBulkSelect` hook.
AI Summary: Write a guide on building a tree table using the `TableToolsTable` component, including an example of the `tableTree` options object and how to look up group items.
AI Summary: Improve the styling of the "Show more" option in filter dropdowns within the Table Tools library to resemble a link instead of a checkbox. This involves modifying the visual appearance of the element to match the overall design language, likely requiring CSS adjustments.
AI Summary: Implement a new variant of the `TableToolsTable` component using PatternFly's `DataView` components instead of the deprecated `Table` component. This requires adapting existing hooks and their return values to work with the `DataView` API, without altering the hook interfaces themselves.
AI Summary: Configure Jest to handle ESM modules (like `jsonquery`) and write a basic test for `StaticTableToolsTable`, mirroring existing tests for `TableToolsTable`.
AI Summary: Extract the toolbar actions logic from the `useTableTools` hook into a new dedicated hook called `useToolbarActions`. This will improve code organization and maintainability within the 'Table Tools' library, a collection of React hooks and components for building tables based on PatternFly and Red Hat Insights components.
AI Summary: Implement a new story for the Table Tools library that demonstrates asynchronous item loading for a tree table. This involves modifying the existing API to accept a filter parameter for group IDs, returning items only for expanded groups. The story should reflect a realistic scenario where data is fetched on demand rather than pre-loading all items.
AI Summary: Modify the `FilterModalWithProvider` component to pass the complete table state as a prop to the `FilterModal` component. This table state should then be included as an additional parameter when calling the `items` function to enable filter modal item requests based on the current table's state.
AI Summary: Replace the custom array querying in the `FilterModal` component with the `StaticTableToolsTable` component to leverage its existing features and remove the `useFetchItems` hook. This improves code consistency and maintainability.
AI Summary: Add a Storybook story demonstrating the `tableTree` option within the `StaticTableToolsTable` component of the Table Tools library. This involves either creating a new story or modifying an existing one to utilize and showcase this specific feature.
AI Summary: Implement a new "composable" variant of the TableToolsTable component using PatternFly's newer composable table components, while maintaining the existing non-composable version as the default. This involves adding a `composable` prop to switch between variants and adapting existing hooks to provide props for the new composable table. Initially, the composable variant only needs basic table rendering functionality.
AI Summary: Remove all instances of the deprecated `renderFunc` prop from the `bastian-tabletools` library, replacing them with the `Component` or `key` prop where appropriate to render column content.
AI Summary: Enhance the `FilterModal` component within the Table Tools library to accept custom props for its embedded `TableToolsTable` component. This will allow developers to customize the table's appearance and behavior within the modal, such as specifying columns and options like column management, using a configuration object passed via the filter config options.
AI Summary: Modify the `TableTools` library to allow passing an asynchronous function as the `tableTree` option. This function should accept the `serialisedTableState` and `tableState` as parameters, mirroring the existing functionality for the `items` prop. The goal is to enable dynamic loading of tree data for the table.
AI Summary: Standardize the property used to identify items across all hooks within the 'Table Tools' library. Currently, some hooks use 'itemId' while others may use different properties. The task involves reviewing each hook's implementation and ensuring consistent use of an identifier (either a specific property or a function).
AI Summary: Clean up the `Table Tools` project by removing unused props and options from hooks and components, and then namespace the remaining options and hook return values. This involves reviewing each prop and option to determine its necessity and reorganizing the structure for better maintainability before migrating to TypeScript.