Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fit and finish updates for the new UX #877

Merged

Conversation

sabaimran
Copy link
Member

  • Use a more standardized navmenu pattern. In full screen mode, it's left aligned and also has the profile component fixed on the right side. In mobile mode, the side panel button, the khoj logo, and the profile component are all on one row, evenly spaced.

sabaimran and others added 16 commits August 2, 2024 17:46
- 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
- Improve styling for the side panel when not logged in
- 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
- Improve styling for the side panel when not logged in
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
- Left align email, location, timezone pills on small screens
- Indent user enabled automations to improve delineation between
  sections
@debanjum debanjum force-pushed the features/fit-and-finish-new-ux branch from bbe7491 to d8fe677 Compare August 3, 2024 01:42
debanjum and others added 23 commits August 3, 2024 13:52
- Show informative toast messages on copy, delete of API keys
- Onle show API keys card in non anonymous mode. API keys aren't
  required (and is disabled on server side) in anon mode. Not showing
  card at all in anon mode reduces chance of unnecessary confusion
Allows tab search by looking at standard prefix. Still allows
page title based identification of different Khoj chat sessions
Previously the footer's right border wasn't visible on small screens
due to usage of w-full

Use mr-1 on send button instead of px-1 on chat input parent to
eualize chat footer buttons spacing
Previously the rename wasn't updating the chat session title. We'd
have to refresh the page or side pane to get latest chat session names
after rename action.
Previously between 00:00 - 04:00 it'd trigger afternoon insteead of
evening
Installing Khoj as PWA was supported in previous web UX as well. This
just adds link to the existing webmanifest to continue support for
installing Khoj as PWA with new web UX
- Create better styling for the input area buttons, resizing in mobile and creating more even height with a more minimal send button
- Remove x axis footer padding on small screens to preserve space,
  keep equal spacing between footer items
- Add 1rem margin to buttons to not have overlap in boundary
- Add 1rem y-axis padding to chat footer to not have focus boundary
  leave the footer boundary on smaller screens
- Remove invalid call to styles.main
- Remove unnecessary top padding above side pane to keep side pane at
  consistent position across web app
- Use same pageLayout styles and styling structure on agent like
  automation
- Vertically center automation section and page title on it's row
- Fix applying flex vs grid with tailwind
Utilize chat footer space more efficiently. This is especially useful
on small screens

- Send button is anyway only enabled when there is text in chat input
- Otherwise voice message button is better to show by default
@debanjum debanjum force-pushed the features/fit-and-finish-new-ux branch from c7d729f to dcf810d Compare August 4, 2024 14:34
@debanjum debanjum force-pushed the features/fit-and-finish-new-ux branch from dcf810d to b744dff Compare August 4, 2024 15:34
@sabaimran sabaimran merged commit 69c3635 into features/big-upgrade-chat-ux Aug 4, 2024
5 checks passed
@sabaimran sabaimran deleted the features/fit-and-finish-new-ux branch August 4, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants