LibreChat/client/src/components/Chat/Messages/Content/Parts
Danny Avila 9a7f763714
🔄 refactor: Artifact Visibility Management (#7181)
* fix: Reset artifacts on unmount and remove useIdChangeEffect hook

* feat: Replace SVG icons with Lucide icons for improved consistency

* fix: Refactor artifact reset logic on unmount and conversation change

* refactor: Rename artifactsVisible to artifactsVisibility for consistency

* feat: Replace custom SVG icons with Lucide icons for improved consistency

* feat: Add visibleArtifacts atom for managing visibility state

* feat: Implement debounced visibility state management for artifacts

* refactor: Add useIdChangeEffect hook to reset visible artifacts on conversation ID change

* refactor: Remove unnecessary dependency from useMemo in TextPart component

* refactor: Enhance artifact visibility management by incorporating location checks for search path

* refactor: Improve transition effects for artifact visibility in Artifacts component

* chore: Remove preprocessCodeArtifacts function and related tests

* fix: Update regex for detecting enclosed artifacts in latest message

* refactor: Update artifact visibility checks to be more generic (not just search)

* chore: Enhance artifact visibility logging

* refactor: Extract closeArtifacts function to improve button click handling

* refactor: remove nested logic from use artifacts effect

* refactor: Update regex for detecting enclosed artifacts to handle new line variations
2025-05-01 14:40:39 -04:00
..
AgentUpdate.tsx 🔄 fix: Avatar & Error Handling Enhancements (#6687) 2025-04-02 18:44:13 -04:00
Attachment.tsx 🗃️ feat: Code Interpreter File Persistence between Sessions (#6790) 2025-04-08 23:18:50 -04:00
CodeProgress.tsx 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
EditTextPart.tsx 🎥 feat: YouTube Tool (#5582) 2025-01-31 19:11:04 -05:00
EmptyText.tsx 🔗 feat: Agent Chain (Mixture-of-Agents) (#6374) 2025-03-17 16:43:44 -04:00
ExecuteCode.tsx 🗃️ feat: Code Interpreter File Persistence between Sessions (#6790) 2025-04-08 23:18:50 -04:00
LogContent.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
LogLink.tsx 🗃️ feat: Code Interpreter File Persistence between Sessions (#6790) 2025-04-08 23:18:50 -04:00
Reasoning.tsx 🧠 fix: Handle Reasoning Chunk Edge Cases (#5800) 2025-02-11 11:28:18 -05:00
Stdout.tsx 🗃️ feat: Code Interpreter File Persistence between Sessions (#6790) 2025-04-08 23:18:50 -04:00
Text.tsx 🔄 refactor: Artifact Visibility Management (#7181) 2025-05-01 14:40:39 -04:00