LibreChat/client/src/components
Marco Beretta 79f9cd5a4d
💬 feat: assistant conversation starter (#3699)
* feat: initial UI convoStart

* fix: ConvoStarter UI

* fix: convoStarters bug

* feat: Add input field focus on conversation starters

* style: conversation starter UI update

* feat: apply fixes for starters

* style: update conversationStarters UI and fixed typo

* general UI update

* feat: Add onClick functionality to ConvoStarter component

* fix: quick fix test

* fix(AssistantSelect): remove object check

* fix: updateAssistant `conversation_starters` var

* chore: remove starter autofocus

* fix: no empty conversation starters, always show input, use Constants value for max count

* style: Update defaultTextPropsLabel styles, for a11y placeholder

* refactor: Update ConvoStarter component styles and class names for a11y and theme

* refactor: convostarter, move plus button to within persistent element

* fix: types

* chore: Update landing page assistant description styling with theming

* chore: assistant types

* refactor: documents routes

* refactor: optimize conversation starter mutations/queries

* refactor: Update listAllAssistants return type to Promise<Array<Assistant>>

* feat: edit existing starters

* feat(convo-starters): enhance ConvoStarter component and add animations

    - Update ConvoStarter component styling for better visual appeal
    - Implement fade-in animation for smoother appearance
    - Add hover effect with background color change
    - Improve text overflow handling with line-clamp and text-balance
    - Ensure responsive design for various screen sizes

* feat(assistant): add conversation starters to assistant builder

- Add localization strings for conversation starters
- Update mobile.css with shake animation for max starters reached
- Enhance user experience with tooltips and dynamic input handling

* refactor: select specific fields for assistant documents fetch

* refactor: remove endpoint query key, fetch all assistant docs for now, add conversation_starters to v1 methods

* refactor: add document filters based on endpoint config

* fix: starters not applied during creation

* refactor: update AssistantSelect component to handle undefined lastSelectedModels

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
2024-08-31 13:42:20 -04:00
..
Artifacts 🪄 feat: Code Artifacts (#3798) 2024-08-27 17:03:16 -04:00
Audio ⚓ fix: Export Button Content Shift; chore: bump axios and add logging (#3668) 2024-08-16 18:03:27 -04:00
Auth 📩 feat: invite user (#3012) 2024-08-18 00:23:38 -04:00
Bookmarks 💬 feat: assistant conversation starter (#3699) 2024-08-31 13:42:20 -04:00
Chat 💬 feat: assistant conversation starter (#3699) 2024-08-31 13:42:20 -04:00
Conversations 💬 feat: assistant conversation starter (#3699) 2024-08-31 13:42:20 -04:00
Endpoints 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
Files 🤲 a11y: Keyboard Accessibility for Account Settings (#3666) 2024-08-16 15:09:03 -04:00
Input 🎛️ fix: Improve Frontend Practices for Audio Settings (#3624) 2024-08-13 02:42:49 -04:00
Messages 🚨 feat: Implement INPUT_LENGTH Error Type (#3866) 2024-08-30 15:01:29 -04:00
Nav 👐 a11y: Accessible Conversation Menu Options (#3864) 2024-08-30 13:39:30 -04:00
Plugins ⌨️ style(a11y): kb access for LLM endpoint menu; refactor: style (#3714) 2024-08-21 18:19:33 -04:00
Prompts 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
Share 🅰️ feat: Dynamic Font Size (#3568) 2024-08-07 14:23:33 -04:00
SidePanel 💬 feat: assistant conversation starter (#3699) 2024-08-31 13:42:20 -04:00
svg 🔖 feat: Enhance Bookmarks UX, add RBAC, toggle via librechat.yaml (#3747) 2024-08-22 17:09:05 -04:00
Tools 💬 feat: assistant conversation starter (#3699) 2024-08-31 13:42:20 -04:00
ui 👐 a11y: Accessible Conversation Menu Options (#3864) 2024-08-30 13:39:30 -04:00
index.ts