Skip to content

Generic table#20

Merged
jwchavarrro merged 15 commits into
devfrom
generic-table
Dec 28, 2025
Merged

Generic table#20
jwchavarrro merged 15 commits into
devfrom
generic-table

Conversation

@jwchavarrro

Copy link
Copy Markdown
Owner

No description provided.

jwchavarrro added 15 commits December 28, 2025 03:29
- Updated the Message component to include a gap between elements for better spacing.
- Adjusted the icon size for improved visual consistency.
- Enhanced the description text styling to ensure better readability on smaller screens.
…ality and associated components

- Eliminated the FilterModalComponent and related filter logic from the GenericTable.
- Updated PageHeaderComponent to remove filter-related props and UI elements.
- Adjusted GenericTableProps to reflect the removal of column filter options.
- Cleaned up unused imports and components to streamline the codebase.
…ure and clarity

- Removed unused components and types related to the GenericTable, including actions-cell, pagination, and table-body.
- Updated the GenericTable component to streamline imports and enhance readability.
- Refactored the index files to ensure proper exports and organization.
- Cleaned up whitespace and improved formatting across various components for consistency.
- Moved TableComponent import to a dedicated fragments directory for better organization.
- Cleaned up whitespace and formatting across various components for improved readability.
- Updated index files to streamline exports and removed unnecessary type utilities.
- Enhanced the useGenericTable hook with clearer type definitions and improved comments.
- Implemented UsersPage component to display user data using GenericTable.
- Defined column configurations for user attributes including ID, name, email, and creation date.
- Integrated API call to fetch all users and display them in the table.
- Added a new button for creating a new user, with a placeholder for future implementation.
- Updated index exports for generic table components and added new button type definition.
- Removed the obsolete PageHeader component to streamline the structure.
- Simplified column configuration by utilizing CONFIG_COLUMNS for better maintainability.
- Updated new button functionality to dynamically display the 'New User' text based on keywords.
- Removed obsolete column definitions and streamlined imports for improved code clarity.
- Enhanced type definitions in GenericTableProps to make the title optional.
…ity and structure

- Integrated ROUTES_PAGES for dynamic navigation in the UsersPage component.
- Updated GenericTable to utilize TableSkeleton and TableError for better loading and error handling.
- Streamlined imports in GenericTable and its related components for improved organization.
- Refactored NewButton component to simplify rendering logic.
- Enhanced TableHeaderComponent with SortIndicator for better sorting functionality.
…and functionality

- Added Text component for consistent text styling in TableHeaderComponent.
- Updated header rendering logic to handle potential undefined values safely.
- Enhanced header cell styling with background color and improved layout for better user experience.
- Modified TableComponent to include overflow handling for better responsiveness.
…g and layout

- Integrated Text component for consistent text styling in PaginationComponent and TableBodyComponent.
- Updated pagination buttons and layout for better responsiveness and user experience.
- Enhanced no results message in TableBodyComponent for improved clarity.
- Updated MessageProps interface to improve type definitions.
- Added DeleteAction to user table configuration for enhanced functionality.
- Refactored EditAction to utilize ButtonAction for better consistency and clarity.
- Streamlined exports in fragments index to include DeleteAction.
- Added Info icon and ButtonAction for improved user guidance in the search area.
- Adjusted layout for better spacing and responsiveness in the header component.
- Updated Input styling for a more consistent appearance.
- Cleaned up whitespace and formatting in UsersPage and related components.
- Streamlined imports in ButtonAction and other fragments for better organization.
- Enhanced ButtonAction component structure for clearer prop handling.
- Updated index exports to ensure consistency across generic table components.
@jwchavarrro
jwchavarrro merged commit 489a0c7 into dev Dec 28, 2025
3 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.

1 participant