mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-31 06:45:17 +01:00
* style: AgentCard and AgentGrid UI with improved layout and accessibility - Updated AgentCard component to improve layout, including flexbox adjustments for better responsiveness and spacing. - Added aria-label for agent description to enhance accessibility. - Introduced a new translation key for agent description in the localization file. - Modified AgentGrid to include horizontal margins for better alignment on various screen sizes. * style: Update AgentCard description line clamp for improved readability - Increased the line clamp for agent descriptions in the AgentCard component from 3 to 5 lines, enhancing the display of longer descriptions while maintaining a clean layout. * feat: Integrate Agent Detail Dialog in AgentCard Component - Enhanced the AgentCard component to include an OGDialog for displaying detailed agent information. - Introduced AgentDetailContent to manage the content of the dialog, allowing users to view agent details and initiate chats directly from the card. - Updated AgentGrid to utilize the new onSelect prop for agent selection, improving the interaction flow. - Removed deprecated code related to agent detail handling in the Marketplace component for cleaner implementation. * ci: Enhance AgentCard and Accessibility Tests with Improved Mocks and Keyboard Interaction - Updated AgentCard tests to utilize the new onSelect prop for better interaction handling. - Introduced comprehensive mocks for hooks and components to streamline testing and avoid testing internal implementations. - Improved accessibility tests by ensuring keyboard interactions are properly handled and do not throw errors. - Enhanced the overall structure of tests to support better readability and maintainability. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||