sabaimran
f136214290
Improve the nav menu in the not logged in experience
2024-08-03 09:44:04 +05:30
Debanjum Singh Solanky
d8fe677933
Prevent overflow on Search page by search results
2024-08-03 07:07:35 +05:30
Debanjum Singh Solanky
f3765a20b9
Improve content alignment on automation page for small screens
...
- Left align email, location, timezone pills on small screens
- Indent user enabled automations to improve delineation between
sections
2024-08-03 07:05:15 +05:30
Debanjum Singh Solanky
a6e1b2c7cb
Style nav menu button and expand nav menu item click area to full-width
...
Style profile pircture button on nav menu
- Use primary colored ring around subscribed user profile on nav menu
- Use gray colored ring around non-subscribed user profile on nav menu
- Use upper case initial as profile pic for user with no profile pic
- Click anywhere on nav menu item to trigger action
Previously the actual clickable area was smaller than the width of
the nav menu item
2024-08-03 05:43:24 +05:30
Debanjum Singh Solanky
eed9e401a2
Improve alignment of title bar elements
2024-08-03 04:11:58 +05:30
sabaimran
f188396395
Prompt to login when authenticated, click on suggestion card
...
- Improve styling for the side panel when not logged in
2024-08-03 01:42:32 +05:30
sabaimran
9c5ff1699a
Use new nav menu alignment in the settings page
2024-08-03 01:42:32 +05:30
sabaimran
b1d3979ed9
Fix navmenu in settings, share/chat pages
2024-08-03 01:42:21 +05:30
sabaimran
5f8b76c8f2
Fix layout/styling of the factchecker app
2024-08-03 01:07:59 +05:30
sabaimran
1bb746aaed
Adjust spacing when side panel is opened
2024-08-03 01:07:59 +05:30
sabaimran
07b3bdf181
Update nav menu styling to include everything in one header
...
- Move the nav menu into the chat history side panel component, so that they both show up on one line
- Update all pages to use it with the new formatting
- in mobile, present the sidebar button, home button, and profile button evenly centered in the middle
2024-08-03 01:07:55 +05:30
Debanjum Singh Solanky
e62888659f
Only show greeting once userConfig is fetched from server
...
- Pass userConfig from Home as prop to chatBodyData component with
loading state
- Pass loading state of userConfig to allow components to handle
rendering dependent elements once it is loaded
2024-08-02 20:25:09 +05:30
Debanjum Singh Solanky
0adee07d40
Update home page greetings to use user name, when available
2024-08-02 20:25:09 +05:30
sabaimran
5a8ea884a9
Use new HTTP stream format within the new UX
...
Use updated format for HTTP streamed responses from the Khoj server in the new chat UX
Remove references to the websocket connected field, as websocket use has been deprecated
2024-08-02 02:35:10 -07:00
Debanjum Singh Solanky
02b46a1784
Render references after chat response is streamed for smoother render
...
Otherwise the Khoj's chat response is filling up in between the
streamed message and already rendered references section at the bottom
of the message
Define OnlineContext type to simplify typing online context param
across other interfaces and functions
2024-08-02 14:11:34 +05:30
Debanjum Singh Solanky
a733e5c1d4
Remove unused handleCompiledReferences chat functions
2024-08-02 13:18:55 +05:30
Debanjum Singh Solanky
7858aff2e2
Trigger welcomeConsole only once on chat, shared chat page load
2024-08-02 13:18:01 +05:30
Debanjum Singh Solanky
cab0957fd3
Just show Khoj logo on title bar on small screens
...
Continue to show logo + text on larger screens
2024-08-02 13:18:01 +05:30
Debanjum Singh Solanky
3f607b3978
Add icons, improve description of home, chat & search page metadata
2024-08-02 13:18:01 +05:30
Debanjum Singh Solanky
4f783b911c
Update DOMPurify imports correctly to resolve compilation warnings
2024-08-02 13:18:01 +05:30
sabaimran
4492017b96
Move processmessagechunk file into a common chat function
2024-08-02 12:31:43 +05:30
sabaimran
1b2cad2a2c
Use af in the default state and configure the phone number input styling
2024-08-01 17:04:57 +05:30
sabaimran
723b37955a
Disable input for phone number only if its pending verification
2024-08-01 16:45:38 +05:30
sabaimran
84dd1b57fe
Use an intl phone input number field and fix the whole verification flow
...
- There were some state mismatches in configuring a whatsapp number. This commit fixes those issues and uses an external library for phone number validation
2024-08-01 16:44:17 +05:30
sabaimran
ed16914ac3
Remove deprecated fields and fix erroneous export in settings page
2024-08-01 14:45:54 +05:30
sabaimran
7941f4d54d
Remove references to deprecated setupwebsocket function
2024-08-01 14:43:17 +05:30
sabaimran
db93ac5d4b
Merge branch 'features/big-upgrade-chat-ux' of github.com:khoj-ai/khoj into features/use-new-sse-in-new-chat-ux
2024-08-01 14:41:50 +05:30
sabaimran
fd0e0405af
Fix logic for setting and sending the initial chat message from the home page
...
- Load agents only once when the page loads, rather than triggering constant re-renders
2024-08-01 13:53:16 +05:30
sabaimran
9a43622cef
Remove usages of the websocketconnected variable
2024-08-01 13:14:23 +05:30
sabaimran
bfeb64b48f
Migrate the shared chat page to also use the new SSE streaming format
2024-08-01 13:14:09 +05:30
sabaimran
cd85a51980
Ingest new format for server sent events within the HTTP streamed response
...
- Note that the SSR for next doesn't support rendering on the client-side, so it'll only update it one big chunk
- Fix unique key error in the chatmessage history for incoming messages
- Remove websocket value usage in the chat history side panel
- Remove other websocket code from the chat page
2024-08-01 12:50:43 +05:30
Debanjum Singh Solanky
32ce564b7c
Remove unused Files Connect button and setup Github content card
2024-07-30 18:55:14 +05:30
Debanjum Singh Solanky
ecb873c488
Only allow search model to be updated without being subscribed
...
Do not make fetch request to server if user is not subscribed
2024-07-30 18:50:57 +05:30
Debanjum Singh Solanky
f0bb6883f8
Improve Delete experience on Files Card in Settings Page
...
Improve placeholder text for notion API key and Whatsapp
number (mention country code required)
2024-07-30 15:25:14 +05:30
sabaimran
4a7efdc552
Use patch in place of put in the indexer API call, ensure that files are not being required in the indexer path
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
ffbf57292c
Create synced files management modal on the settings page
...
Use a Command Dialog to allow easier filtering of files to view
without having to leave the settings page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
9d86cb57ac
Build UX to Connect and Manage Notion Integration via Settings Page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
7ee179ee1f
Return user's Notion token in API call for detailed user settings
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
00a908ae12
Move subscription card to Profile settings section. Remove Billing section
...
- Why
Profile section and billing section looked too empty (1 card each).
Combining them makes the setting page look more complete. Shows
subscription options early on
- Details
- Made Futurist text orange
- Made Unsubscribe a down button instead of cloud slash
- Updated toast title to subscription
- Improve Futurist trial title and description
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
058c902dc7
Delete unused npm package-lock.json as Web app uses yarn.lock instead
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
b8c9b3ffa3
Reduce padding height of input area on new home page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
8a447107dd
Set user name on clicking Save button on settings page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
44e0b20202
Align Content, Client & Billing settings sections with new designs
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
51e83bcc26
Improve responsive behavior of settings cards
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
efcad4996d
Add phone number verification for Whatsapp to new settings page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
48548684c0
Add card to connect Whatsapp to Khoj on settings page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
8ec90f194f
Add title icons for each content section card on settings page
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
60cdf61737
Create billing section for managing subscription on settings page
...
- Replicate behavior on current settings.html page
- Improve text for each subscription state to make it more informative, fun
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
2e165a0e0a
Create client API keys section on settings page
...
- Add table shadcn component to use in API keys settings section
- In dev mode, route requests to auth to khoj server at localhost:42110
2024-07-30 15:25:14 +05:30
Debanjum Singh Solanky
00fa4fa0fa
Save model on selecting model in dropdown. No extra save action reqd
...
- Remove now unnecessary button to Save in Card with dropdown
- Use toast to show success, failure (not working)
- Rename language to search, Move it to features section. Add icon to
the card
2024-07-30 15:25:14 +05:30