sabaimran
9cf52bb7e4
Update automations UX for more consistency ( #856 )
...
* Update the automations UI to be a more suitable color distribution based on new designs
* Use accented colors for the metadata, update dark mode colors
* Update form to use icons as well and render more pretty inline form labels
2024-07-21 12:22:23 +05:30
Debanjum Singh Solanky
a1c362a4f7
Expose web, desktop settings page under /settings, not /configure
...
- Update references to the settings page to use new url across docs
and code
- Rename desktop and web settings page to settigns.html instead of
config[ure].html
2024-07-17 13:17:29 +05:30
Debanjum Singh Solanky
7316e6b9d3
Pass isMobileWidth prop to SidePanel via chat share interface
2024-07-16 16:13:27 +05:30
Debanjum Singh Solanky
a5c16ad600
Move Web client config page to /configure from /config url path
...
Update docs, clients and error messages to point to /configure
instead of /config
2024-07-16 16:13:27 +05:30
Debanjum Singh Solanky
de15a7a3fc
Rename API path /api/config to /api/configure
...
- Update clients calling /api/config to call /api/configure instead
2024-07-16 16:13:27 +05:30
Debanjum Singh Solanky
dd31936746
Make config api endpoint urls consistent
...
- Consistently use /content/ for data. Remove content-source from path
- Remove unnecessary /data/ prefix for API endpoints under /config
2024-07-16 16:13:27 +05:30
sabaimran
1a5405e24c
Fix interpretation of day of week in automation form
2024-07-16 10:12:30 +05:30
sabaimran
c837f3779e
Update the agents page with new UX ( #850 )
...
- Use icons/colors for setting the styling of agents
- Update automations page to use the shadcn cards: https://github.com/shadcn-ui/ui
2024-07-16 10:10:55 +05:30
sabaimran
1c6ed9bc6d
Migrate the existing automations page to use React ( #849 )
...
Migrates the Automations page to React, mostly keeping the overall design consistent with organization. Use component library, with some changes in color. Add easier management with straightforward form and editing experience.
Use system preference for determining dark mode if not explicitly set.
2024-07-15 21:42:33 +05:30
Debanjum Singh Solanky
6c630bc6c3
Constrain chat messages to stay in view port across screen sizes
...
- Constrain chat messages max width to view port across screen sizes
- Wrap references on smaller screens, use tailwind, not js to apply styling
2024-07-15 21:00:50 +05:30
sabaimran
9a5bf4c701
Fix rendering of teaser reference panel in mobile width
2024-07-15 19:40:55 +05:30
sabaimran
2e9275c0f3
Remove side panel padding in desktop view. Fix width in mobile view
2024-07-15 19:33:12 +05:30
Debanjum Singh Solanky
ba0ba6b59f
Merge branch 'features/big-upgrade-chat-ux' of github.com:khoj-ai/khoj into document-styling-on-chat-ux
2024-07-15 10:42:56 +05:30
sabaimran
06dce4729b
Make most major changes for an updated chat UI ( #843 )
...
- Updated references panel
- Use subtle coloring for chat cards
- Chat streaming with train of thought
- Side panel with limited sessions, expandable
- Manage conversation file filters easily from the side panel
- Updated nav menu, easily go to agents/automations/profile
- Upload data from the chat UI (on click attachment icon)
- Slash command pop-up menu, scrollable and selectable
- Dark mode-enabled
- Mostly mobile friendly
2024-07-14 23:18:06 +05:30
Debanjum Singh Solanky
6dd90931e8
Fix closing side panel on mobile when click open a chat session
2024-07-14 22:54:49 +05:30
Debanjum Singh Solanky
47b754c07b
Only open side panel as drawer in mobile view
2024-07-14 14:08:41 +05:30
Debanjum Singh Solanky
b47f30ad77
Make Khoj icon appropriately sized and side panel arrow bold
2024-07-14 14:06:36 +05:30
Debanjum Singh Solanky
e6b21144e2
Conversations list should resize to take max space on side panel
2024-07-14 13:49:36 +05:30
Debanjum Singh Solanky
c2bf405489
Make loading message, styling configurable. Do not show agent when no data
...
- Pass Loading message, class name via props to both inline and normal
loading spinners
- Pass loading conversation message to loading spinner when chat
history is being fetched
2024-07-14 13:00:36 +05:30
Debanjum Singh Solanky
63719747cb
Show agent profile card with description when hover on agent in chat view
...
- Create profile card componennt. Use it for agent profile card
- Pass agent persona from khoj server via API
- Put link to agent profile page in the hover card to make it 2 clicks
away. Othewise inadvertent clicks on agent in chat view lead away to
agent page
- Use tailwind line-clamp extension to clamp card to first two lines
2024-07-14 12:20:11 +05:30
Debanjum Singh Solanky
dbbd4b9777
Show action bar on last chat message without hover
2024-07-14 10:32:31 +05:30
Debanjum Singh Solanky
a0f38e079f
Improve Train of Thought icons spacing and loading circle
2024-07-14 09:35:15 +05:30
Debanjum Singh Solanky
e9567741eb
Improve mobile friendly styling of chat session side panel
2024-07-14 00:57:08 +05:30
Debanjum Singh Solanky
b26a6e25d1
Show chat message action buttons without hover on mobile interfaces
...
This is because hover maybe hard to do on mobile devices
2024-07-14 00:54:23 +05:30
Debanjum Singh Solanky
f69f9e3523
Close chat sessions side panel on click open a chat session
2024-07-14 00:53:16 +05:30
Debanjum Singh Solanky
d51011314f
Improve styling of chat input, references UI across screen sizes
...
Use tailwind screen breakpoints shorthand instead of js to apply
different styling for different screen sizes
2024-07-13 20:45:34 +05:30
Debanjum Singh Solanky
2668e42e7f
Center cursor in chat input. See upto 2 lines for multi-line context
...
- Reuse class name when get slash command icons
- Previous chat input styling didn't have the cursor centered in the
chat input text area. But it did allow seeing multi line chat inputs
for context
2024-07-13 02:51:29 +05:30
Debanjum Singh Solanky
aeaebfb515
Show chat message timestamp on hover in chat view
2024-07-13 02:51:19 +05:30
Debanjum Singh Solanky
e00c6b486e
Add hover text descriptions of action buttons on chat message in web view
2024-07-12 15:40:51 +05:30
Debanjum Singh Solanky
5fccccfdff
Do not render references with broken links in chat view
2024-07-12 15:14:11 +05:30
Debanjum Singh Solanky
b98a0cfe1b
Render inline png, webp images generated by Khoj in chat view
...
Add spacing between chat message paragraphs
2024-07-12 15:13:19 +05:30
sabaimran
3e7e73ddd6
Switch from using dynamic routes to static routes and extracting slug from URL manually. See https://github.com/vercel/next.js/discussions/64660 for limitations with static export / dynamic routes
2024-07-11 23:06:27 +05:30
sabaimran
bea0aa5445
Improve the logged out share experience
2024-07-11 20:11:21 +05:30
sabaimran
6f1d799759
Modularize code and implemenet share experience
2024-07-10 23:08:16 +05:30
sabaimran
1b4a51f4a2
Remove print statement for debugging timestamps
2024-07-10 14:54:22 +05:30
sabaimran
0369eb6e0e
Fix timestamp bug for pending message and expand CSP for thumbnails
2024-07-10 14:53:31 +05:30
sabaimran
375685530f
Add content security policy to the chat page
2024-07-10 11:18:41 +05:30
sabaimran
c5cfd0f2cf
Remove unused slash command-related useeffect hook
2024-07-10 10:03:58 +05:30
sabaimran
e1a5c17775
Add DOMPurify for rendering md text. Add a easter egg in the console
2024-07-10 10:03:08 +05:30
sabaimran
e358723baa
Fix image rendering and unique key for pending message?
2024-07-09 21:55:54 +05:30
sabaimran
c8c5d50b1a
Improve command bar slash experience
2024-07-09 21:39:13 +05:30
sabaimran
c25bf97831
Update hover styling for see all button
2024-07-09 20:55:54 +05:30
sabaimran
23b71b0dff
Remove shadow from the slash command bar
2024-07-09 20:52:38 +05:30
sabaimran
998e2aec30
Update dark mode, fix chat message time stamp, fix rendering for new message
2024-07-09 20:50:20 +05:30
sabaimran
cc22e1b013
Add pop-up module for the slash commands
2024-07-09 19:46:17 +05:30
sabaimran
5b69252337
Add hover effects for chat messages
2024-07-09 14:56:57 +05:30
sabaimran
609e7ee19c
Fix width of side panel
2024-07-09 12:02:01 +05:30
sabaimran
6f8a65c529
References, mobile friendly chat sessions and file filter
2024-07-07 15:42:29 +05:30
sabaimran
aec44a0b89
Add dark mode toggle! And improve experience for train of thought
2024-07-04 18:29:21 +05:30
sabaimran
465ef0b772
Add a loading experience when waiting for khoj response
2024-07-04 13:49:51 +05:30