-
-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show all agents, smart sorted, in carousel on home screen of web app (#…
…943) ## Overview Allow quickly selecting, switching agents from agents pane on home page of web app ## Details - Show all agents in carousel on home screen agent pane of web app - Smart Sort 1. Pin default agent as first for ease of access 2. Show used agents by MRU for ease of access 3. Shuffle unused agents for discoverability - Select most recently used agent to chat with by default - Push smart sort logic down to API - Common logic can be reused across clients - Agent sort was previously done in web app - Focus on chat input on agent select - Double click agent on home page to open edit agent card on agents page
- Loading branch information
Showing
10 changed files
with
1,545 additions
and
1,379 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/interface/web/app/components/agentCard/agentCard.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.agentPersonality p { | ||
white-space: inherit; | ||
overflow: hidden; | ||
height: 77px; | ||
line-height: 1.5; | ||
} | ||
|
||
div.agentPersonality { | ||
text-align: left; | ||
grid-column: span 3; | ||
overflow: hidden; | ||
} | ||
|
||
button.infoButton { | ||
border: none; | ||
background-color: transparent !important; | ||
text-align: left; | ||
font-family: inherit; | ||
font-size: medium; | ||
} |
Oops, something went wrong.