Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): collapse the resting composer #7855

Mergedchrisdeeming(GitHub profile, opens in a new tab)merged 57 commits intomain fromrefs/pull/7855/headmerged by juliusmarminge View on GitHub

Showing 33 changed files with 2 additions and 0 deletions (loading 32).

x
0 of 33 viewed, 33 left
2 additions and 0 deletionsapps/web/src/components/chat/AssistantCitationChip.tsxModified
View file
@@ -23,6 +23,7 @@
import { Popover, PopoverPopup, PopoverTrigger } from "../ui/popover";
import { AssistantCitationCommentEditor } from "./AssistantCitationCommentEditor";
import { observeAssistantCitationCommentSource } from "./AssistantCitationSource";
+import { composerFloatingLayerProps } from "./composerEventScope";
​
const CITATION_ACTION_BUTTON_CLASS_NAME = cn(
COMPOSER_INLINE_CHIP_DISMISS_BUTTON_CLASS_NAME,
@@ -135,6 +136,7 @@
</PopoverTrigger>
{commentEditor.open ? (
<PopoverPopup
+ {...composerFloatingLayerProps}
side={sourceAnchor ? "bottom" : "top"}
align="end"
anchor={popupAnchor}
apps/web/src/components/chat/ChatComposer.tsxModified
View file
Loading the diff
apps/web/src/components/chat/CompactComposerControlsMenu.tsxModified
View file
Loading the diff
apps/web/src/components/chat/ComposerControl.test.tsxAdded
View file
Loading the diff
apps/web/src/components/chat/ComposerControl.tsxModified
View file
Loading the diff