Implement logger screen
User description
- Added RightArrow icon to Sidebar for expanding/collapsing functionality.
- Refactored Sidebar to handle item clicks and mouse events more efficiently.
- Updated accordion sections to include total items count.
- Adjusted Sidebar positioning and transition effects for smoother interactions.
feat: Refactor StatCard component to accept multiple cards
- Modified StatCard to accept an array of card items for dynamic rendering.
- Updated styling for better layout and responsiveness.
- Introduced border color mapping for card items.
feat: Enhance Accordion component with item count display
- Added totalItems property to AccordionSection interface.
- Updated CustomAccordion to display item counts in the header.
fix: Update Button component loading state handling
- Improved loading state rendering in Button component.
fix: Adjust DateRangePicker z-index for better visibility
- Increased z-index of DateRangePicker dropdown for improved accessibility.
fix: Refine Pagination component styling and functionality
- Updated button sizes and styles for better usability.
- Adjusted text sizes for consistency across the component.
feat: Implement SelectInput component with improved styling
- Refactored SelectInput to enhance usability and appearance.
- Removed unnecessary elements for cleaner design.
feat: Create Table component for displaying logs
- Implemented a reusable Table component with sorting and pagination.
- Integrated Badge component for displaying log statuses.
feat: Add Toast component for notifications
- Created Toast component for displaying success/error messages.
feat: Introduce Badge component for status indicators
- Developed Badge component with different styles based on type.
feat: Implement LoggerResponse model for API integration
- Created interfaces for handling log data responses from the API.
feat: Add LogsFilterSection and Logs page for log management
- Developed LogsFilterSection for filtering logs based on criteria.
- Implemented Logs page to display logs with filtering and pagination.
PR Type
Enhancement
Description
-
Implement comprehensive logger screen with filtering and pagination
-
Add new UI components: Badge, Toast, SearchBar, Table
-
Refactor existing components for better functionality
-
Update styling and configuration for improved UX
Diagram Walkthrough
flowchart LR
A["Logger Screen"] --> B["Filter Section"]
A --> C["Stats Cards"]
A --> D["Logs Table"]
B --> E["SearchBar"]
B --> F["DateRangePicker"]
B --> G["Dropdown"]
C --> H["StatCard Component"]
D --> I["Table Component"]
D --> J["Badge Component"]
D --> K["Pagination"]
File Walkthrough
Relevant files | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Formatting | |||||||||||||||||||||||||||||||||
Configuration changes | |||||||||||||||||||||||||||||||||
Enhancement | 16 files
|
||||||||||||||||||||||||||||||||
Tests | 1 files
|
||||||||||||||||||||||||||||||||
Bug fix | |||||||||||||||||||||||||||||||||
Additional files | 1 files
|