You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [front/components/assistant] - refactor: replace ElementModal with Sheet component in AssistantDetails
- Introduced useState hook for tracking the Sheet's open state and useEffect hook to set this state based on the assistantId
- Updated AssistantDetails to use the Sheet component for modal functionality, enhancing the UX with a new sliding panel design
- Removed the now-obsolete ElementModal import and related attributes in favor of Sheet related components and attributes
* [front/assistant] - refactor: streamline AssistantDetails component state management
- Removed unused isOpen state variable and useEffect for setting modal open state
- Modified conditionals to use optional chaining for cleaner access to agentConfiguration properties
- Ensure Sheet component open state is dependent on the existence of an assistantId
- Conditional rendering of the AssistantUsageSection now checks for the existence of agentConfiguration directly
0 commit comments