mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-08 03:28:51 +01:00
📧 feat: Mention "@" Command Popover (#2635)
* feat: initial mockup * wip: activesetting, may use or not use * wip: mention with useCombobox usage * feat: connect textarea to new mention popover * refactor: consolidate icon logic for Landing/convos * refactor: cleanup URL logic * refactor(useTextarea): key up handler * wip: render desired mention options * refactor: improve mention detection * feat: modular chat the default option * WIP: first pass mention selection * feat: scroll mention items with keypad * chore(showMentionPopoverFamily): add typing to atomFamily * feat: removeAtSymbol * refactor(useListAssistantsQuery): use defaultOrderQuery as default param * feat: assistants mentioning * fix conversation switch errors * filter mention selections based on startup settings and available endpoints * fix: mentions model spec icon URL * style: archive icon * fix: convo renaming behavior on click * fix(Convo): toggle hover state * style: EditMenu refactor * fix: archive chats table * fix: errorsToString import * chore: remove comments * chore: remove comment * feat: mention descriptions * refactor: make sure continue hover button is always last, add correct fork button alt text
This commit is contained in:
parent
89b1e33be0
commit
b6d6343f54
35 changed files with 1048 additions and 217 deletions
|
|
@ -182,3 +182,92 @@
|
|||
.rotate {
|
||||
animation: tuning 2.1s 1;
|
||||
}
|
||||
|
||||
@-webkit-keyframes slideUpAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateY(2px);
|
||||
transform:translateY(2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateY(0);
|
||||
transform:translateY(0)
|
||||
}
|
||||
}
|
||||
@keyframes slideUpAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateY(2px);
|
||||
transform:translateY(2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateY(0);
|
||||
transform:translateY(0)
|
||||
}
|
||||
}
|
||||
.radix-side-bottom\:animate-slideUpAndFade[data-side=bottom] {
|
||||
-webkit-animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1);
|
||||
animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1)
|
||||
}
|
||||
@-webkit-keyframes slideRightAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateX(-2px);
|
||||
transform:translateX(-2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateX(0);
|
||||
transform:translateX(0)
|
||||
}
|
||||
}
|
||||
@keyframes slideRightAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateX(-2px);
|
||||
transform:translateX(-2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateX(0);
|
||||
transform:translateX(0)
|
||||
}
|
||||
}
|
||||
.radix-side-left\:animate-slideRightAndFade[data-side=left] {
|
||||
-webkit-animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1);
|
||||
animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1)
|
||||
}
|
||||
@keyframes slideLeftAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateX(2px);
|
||||
transform:translateX(2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateX(0);
|
||||
transform:translateX(0)
|
||||
}
|
||||
}
|
||||
.radix-side-right\:animate-slideLeftAndFade[data-side=right] {
|
||||
-webkit-animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1);
|
||||
animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1)
|
||||
}
|
||||
@keyframes slideDownAndFade {
|
||||
0% {
|
||||
opacity:0;
|
||||
-webkit-transform:translateY(-2px);
|
||||
transform:translateY(-2px)
|
||||
}
|
||||
to {
|
||||
opacity:1;
|
||||
-webkit-transform:translateY(0);
|
||||
transform:translateY(0)
|
||||
}
|
||||
}
|
||||
.radix-side-top\:animate-slideDownAndFade[data-side=top] {
|
||||
-webkit-animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1);
|
||||
animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue