sabaimran
a3d75e5241
When in mobile view, don't use the hover card in the model selector
2025-02-02 12:22:45 -08:00
sabaimran
08bc1d3bcb
Improve sizing / spacing of side bar
2025-02-01 14:25:45 -08:00
sabaimran
f3b2580649
Add back hover state with collapsed references
2025-02-01 14:03:17 -08:00
sabaimran
641f1bcd91
Only open the side bar automatically when there is no chat history && no pending messages.
2025-01-30 16:07:27 -08:00
sabaimran
98e3f5162a
Show generated diagram raw code if fails rendering
2025-01-29 21:49:33 -08:00
sabaimran
b5f99dd103
Rename custom instructions -> instructions
2025-01-29 15:06:22 -08:00
sabaimran
0ff33d4347
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls
2025-01-29 14:58:15 -08:00
sabaimran
d640299edc
use is_active property for determine user subscription status
2025-01-29 14:10:59 -08:00
sabaimran
e2bfd4ac0f
Change name of teams section to teams
2025-01-29 12:52:10 -08:00
sabaimran
58f77edcad
Make conversation sessions rounded-lg
2025-01-29 12:47:36 -08:00
sabaimran
0b2305d8f2
Add an animation to opening and closing the thought process
2025-01-29 12:47:14 -08:00
sabaimran
01faae0299
Simplify the train of thought UI
2025-01-28 22:00:09 -08:00
sabaimran
59f0873232
Rename train of thought button
2025-01-28 21:32:21 -08:00
sabaimran
272764d734
Simplify the chat response / user message bubbles
2025-01-28 21:17:56 -08:00
sabaimran
b61226779e
Simplify references section with icons in chat message
2025-01-28 18:13:26 -08:00
sabaimran
58879693f3
Simplify nav menu and add a teams section
2025-01-28 18:12:50 -08:00
sabaimran
e076ebd133
Make tools section of sidebar a popover to prevent increasing height
2025-01-28 18:12:13 -08:00
sabaimran
dc6e9e8667
Skip showing hidden agents in the all conversations agent filter
2025-01-21 12:43:34 -08:00
sabaimran
e3e93e091d
automatically open the side bar when a new chat is created with the default agent.
2025-01-21 11:56:06 -08:00
sabaimran
c43079cb21
Add merge migration and add a new button for new convo in sidebar
2025-01-21 11:01:08 -08:00
sabaimran
5a36360408
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls
2025-01-21 10:32:47 -08:00
sabaimran
f96e5cd047
Allow file filter dropdown to pop up automatically when typing "file:"
2025-01-21 08:30:40 -08:00
sabaimran
6d1b16901d
Fix the naming of framework > file
2025-01-21 07:24:43 -08:00
Debanjum
7fad1f43f6
Fix text quoting and format web app search page with prettier
2025-01-21 18:18:44 +07:00
sabaimran
8022f040d2
Fix spacing of pagination buttons
2025-01-20 17:23:14 -08:00
sabaimran
3b381a5fe8
Improve default state when no documents are found yet
2025-01-20 17:19:15 -08:00
sabaimran
8ad60f53d3
Remove export from filefiltercombo box
2025-01-20 15:26:32 -08:00
sabaimran
9f18d6494f
Add a file filter combobox for easier file filter selection
2025-01-20 14:39:29 -08:00
sabaimran
d36f235da5
Rename API to get all files, minor UI updates
2025-01-20 13:30:10 -08:00
sabaimran
849b7c7af6
Refresh current page after file deleted
2025-01-20 13:12:37 -08:00
sabaimran
edfed2d571
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-a-knowledge-base-page
2025-01-20 13:11:45 -08:00
sabaimran
b661d2cba7
Merge pull request #1030 from Yash-1511/feat/autocomplete-file-query
...
## Description
Added file path autocompletion to enhance the search experience in Khoj. Users can now easily search for specific files by typing "file:" followed by the file name, with real-time suggestions appearing as they type.
## Changes
- Added new API endpoint `/api/file-suggestions` to get file path suggestions
- Enhanced search UI with dropdown suggestions for file paths
- Implemented debounced search to optimize API calls
- Added keyboard (Enter) and mouse click support for selecting suggestions
## Features
- Type "file:" to trigger file path suggestions
- Real-time filtering of suggestions as you type
- Top 10 alphabetically sorted suggestions
- Case-insensitive matching
- Keyboard and mouse interaction support
- Clear visual feedback with a dropdown UI
2025-01-20 12:35:43 -08:00
sabaimran
0c29c7a5bf
Update layout and rendering of share page for hidden agent
2025-01-20 12:02:07 -08:00
sabaimran
000580cb8a
Improve loading state when files not found and fix default state interpretation for model selector
2025-01-20 11:47:42 -08:00
sabaimran
235114b432
Fix agent data import across chat page +
2025-01-20 11:04:48 -08:00
sabaimran
d681a2080a
Centralize use of useUserConfig and use that to retrieve default model and chat model options
2025-01-20 10:59:02 -08:00
sabaimran
a3fcd6f06e
Fix import of AgentData from agentcard
2025-01-20 10:36:11 -08:00
sabaimran
d7800812ad
Fix default states for the model selector
2025-01-20 10:18:09 -08:00
sabaimran
98baa93a31
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls
2025-01-20 09:36:42 -08:00
sabaimran
1f59afe962
Merge branch 'master' of github.com:khoj-ai/khoj into features/add-a-knowledge-base-page
2025-01-20 08:32:17 -08:00
sabaimran
83d856f97d
Add some basic pagination logic to the knowledge page to prevent overloading the Api or the client
2025-01-19 22:48:36 -08:00
sabaimran
59ee6e961a
Only set hasmodified to true during model select if different from original model
2025-01-19 18:19:48 -08:00
sabaimran
e982398c2c
Weird spacing issue resolve (it was because of the footer in the collapsed state still having some width)
2025-01-19 18:16:43 -08:00
sabaimran
dbce039033
Revert the fixed hack to hide horizontal spacing issue with sidebar because it breaks the animation on closed. Sigh.
2025-01-19 18:11:53 -08:00
sabaimran
0d38cc9753
Handle further edge cases when setting chat agent data and fix alignment of chat input / side panel
2025-01-19 17:59:37 -08:00
sabaimran
b248123135
Hook up hidden agent creation and update APIs to the UI
...
- This allows users to initiate hidden agent creation from the side bar directly. Any updates can easily be applied to the conversation agent.
2025-01-19 17:36:30 -08:00
sabaimran
f10b072634
update looks & feel of chat side bar with model selector, checkboxes for tools, and actions (not yet implemented)
2025-01-19 12:13:37 -08:00
sabaimran
7837628bb3
Update existing agentData imports
2025-01-19 12:12:23 -08:00
sabaimran
00370c70ed
Consolidate the AgentData Type into the agentCard
2025-01-19 12:06:54 -08:00
Debanjum
2d4633d298
Use encoded email, otp in login URL in email & web app sign-in flow
...
Previously emails with url special characters would not get
successfully identified for login. Account creation was fine due to
email being in POST request body. But login with such emails did not
work due to query params not being escaped before being sent to server
This change escapes both the code and email in login URL sent to
server. So login with emails containing special characters like
`email+khoj@gmail.com ' works. It fixes both the URL web app sent by
web app directly and the magic link sent to users to their email
This change also fixes accessibility issue of having a DialogTitle in
DialogContent for screen readers.
Resolves #1090
2025-01-19 13:11:23 +07:00