Skip to content

Commit

Permalink
feat(frontend): display all knowledge in a kms (#3411)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
Zewed authored Oct 22, 2024
1 parent f899cd1 commit fe16805
Show file tree
Hide file tree
Showing 156 changed files with 4,250 additions and 4,001 deletions.
2 changes: 1 addition & 1 deletion backend/supabase/seed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ INSERT INTO "public"."user_daily_usage" ("user_id", "email", "date", "daily_requ
--

INSERT INTO "public"."user_identity" ("user_id", "openai_api_key", "company", "onboarded", "username", "company_size", "usage_purpose") VALUES
('39418e3b-0258-4452-af60-7acfcc1263ff', NULL, 'Stan', true, 'Stan', NULL, '');
('39418e3b-0258-4452-af60-7acfcc1263ff', NULL, 'Quivr Local', true, 'Quivr Local', NULL, '');


--
Expand Down
37 changes: 14 additions & 23 deletions frontend/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ import { HelpWindow } from "@/lib/components/HelpWindow/HelpWindow";
import { Menu } from "@/lib/components/Menu/Menu";
import { useOutsideClickListener } from "@/lib/components/Menu/hooks/useOutsideClickListener";
import { SearchModal } from "@/lib/components/SearchModal/SearchModal";
import {
BrainProvider,
ChatProvider,
KnowledgeToFeedProvider,
} from "@/lib/context";
import { BrainProvider, ChatProvider } from "@/lib/context";
import { useBrainContext } from "@/lib/context/BrainProvider/hooks/useBrainContext";
import { ChatsProvider } from "@/lib/context/ChatsProvider";
import { HelpProvider } from "@/lib/context/HelpProvider/help-provider";
Expand All @@ -32,7 +28,6 @@ import { usePageTracking } from "@/services/analytics/june/usePageTracking";

import "../lib/config/LocaleConfig/i18n";
import styles from "./App.module.scss";
import { FromConnectionsProvider } from "./chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/components/FromConnections/FromConnectionsProvider/FromConnection-provider";

if (
process.env.NEXT_PUBLIC_POSTHOG_KEY != null &&
Expand Down Expand Up @@ -106,23 +101,19 @@ const AppWithQueryClient = ({ children }: PropsWithChildren): JSX.Element => {
<UserSettingsProvider>
<HelpProvider>
<BrainProvider>
<KnowledgeToFeedProvider>
<BrainCreationProvider>
<NotificationsProvider>
<MenuProvider>
<OnboardingProvider>
<FromConnectionsProvider>
<ChatsProvider>
<ChatProvider>
<App>{children}</App>
</ChatProvider>
</ChatsProvider>
</FromConnectionsProvider>
</OnboardingProvider>
</MenuProvider>
</NotificationsProvider>
</BrainCreationProvider>
</KnowledgeToFeedProvider>
<BrainCreationProvider>
<NotificationsProvider>
<MenuProvider>
<OnboardingProvider>
<ChatsProvider>
<ChatProvider>
<App>{children}</App>
</ChatProvider>
</ChatsProvider>
</OnboardingProvider>
</MenuProvider>
</NotificationsProvider>
</BrainCreationProvider>
</BrainProvider>
</HelpProvider>
</UserSettingsProvider>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Loading

0 comments on commit fe16805

Please sign in to comment.