Generic table#20
Merged
Merged
Conversation
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.
…eamline codebase.
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.