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

Create Settings Page in new Web App #872

Merged
merged 28 commits into from
Jul 30, 2024

Conversation

debanjum
Copy link
Member

@debanjum debanjum commented Jul 29, 2024

Details

  • Add Profile Client, Content Sections
  • Make Multi Step Cards for Whatsapp, Files, Notion Integrations
  • Align Settings page with new Baraabar UX

src/interface/web/app/settings/page.tsx Show resolved Hide resolved
src/interface/web/app/settings/page.tsx Outdated Show resolved Hide resolved
src/interface/web/app/settings/page.tsx Outdated Show resolved Hide resolved
src/interface/web/app/settings/page.tsx Show resolved Hide resolved
debanjum and others added 25 commits July 30, 2024 15:25
- Include side pane but with only the account info in it
- Replicate styling of the old config page
- Update references in new and old web client settings
- Arrange new client settings props and add header comments similar to
- config response for code readability
- Ensure model name doesn't stretch or shrink dropdown width from
  parent card width
- Ensure buttons flex wrap on smaller displays
- 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
- Add table shadcn component to use in API keys settings section
- In dev mode, route requests to auth to khoj server at localhost:42110
- Replicate behavior on current settings.html page
- Improve text for each subscription state to make it more informative, fun
…ction

- 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
- Rearrange DELETE content API definitions order to go from more
  specific to more general
- Create batched file deletion DB adapter
Use a Command Dialog to allow easier filtering of files to view
without having to leave the settings page
Improve placeholder text for notion API key and Whatsapp
number (mention country code required)
@debanjum debanjum force-pushed the create-config-pages-in-nextjs branch from 1549692 to f58cff5 Compare July 30, 2024 10:41
Do not make fetch request to server if user is not subscribed
@debanjum debanjum requested a review from sabaimran July 30, 2024 13:24
@debanjum debanjum force-pushed the create-config-pages-in-nextjs branch from 2c76981 to 32ce564 Compare July 30, 2024 13:46
@debanjum debanjum merged commit 60870a7 into features/big-upgrade-chat-ux Jul 30, 2024
5 checks passed
@debanjum debanjum deleted the create-config-pages-in-nextjs branch August 1, 2024 06:55
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