* init input and button changes
* clean up
* button now active state when dropdown or popover active
* Update TableEditorMenu.tsx
* Update TableEditorMenu.tsx
* fix hover issues
* Update SchemaSelector.tsx
* Start
* Refactor code and remove unused imports
* Refactor SchemaFlowHandler and UserChat components
* Refactor code and remove unused files
* Refactor Thread component and remove CurrentThreadName import
* Remove oldest_messages view from supabase.ts
* Refactor supabase.ts file
* Hook up loading state ChatInput component and remove old route handlers
* Add updated prompt
* Refactor chat form component and remove unused code
* Make the suspense work when fetching messages.
* Small refactor in the chat assistant form component.
* Experimenting with streaming responses. WIP.
* Move all components to thread_id/message_id folder.
* Massive refactor but uses Nextjs app router properly.
* Add a conditional submit which is used if the user haven't been logged in.
* Add a typecheck command to db-new app.
* Minor fixes.
* Bunch of minor fixes.
* Clean up more code.
* Refactor the AssistantChatForm to use the new React forms features.
* Run fitView after 50 milliseconds because it didn't run in some cases.
* Style and flow nudges
* Prettier
* Delete old file
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* Change all imports in the ui package which import via the @ui shortcut.
* Add a new ui-patterns package. Add it to all apps.
* Migrate PrivacySettings from ui to ui-patterns.
* Migrate ConsentToast from ui to ui-patterns.
* Remove providers folder from ui package.
* Move GlassPanel.
* Migrate IconPanel.
* Migrate TweetCard.
* Migrate ThemeImage.
* Remove LWXCountdownBanner.
* Migrate CountdownWidget.
* Migrate SchemaTableNode.
* Migrate ExpandableVideo.
* Migrate ThemeToggle.
* Fix bunch of imports in the docs app.
* Revert some unnecessary changes.
* Expand the README.md.
* Fix the tailwind configs, they were using old folder structure.
* Fix leftover merge conflicts.
* Remove a deleted page in master.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Add vercel/ai. Commit additional next types.
* Add a API route in /app for streaming responses.
* Make the components work with streaming response.
* Add a dummy page to /app folder to fix a linking bug.
* Fix the dummy page.
* Fix the dummy page again.
* Add an empty layout to the app folder.
* Make the code snippets in the chat read-only.
* Remove queries and mutations for suggest.
* Reset the chat when closing the panel.
* Make the AI instructions a bit better.
* Don't render empty code blocks.
* Try to use remark for rendering the code. Style fixes for CodeBlock in AI assistant panel.
* Fix the styling of the definitions when sending them to OpenAI.
* Fix the css styling of the messages and code blocks.
* Move the suggest API route from app to pages folder.
* Revert the change for app API routes.
* Make the API route look like the rest of the API routes.
* Use Pre instead of Code because the <code> tags aren't working if between spans.
* Minor leftovers.
* Revert to using app route handlers.
* Change the wording on the diff header.
* Add nextjs types.
* Fix a missing import.
* Move AssistantChatForm back to db-new.
* Fix a build error.
* Rename the suggest route to assistant.
* Fix Joshen's comments.
* First
* Fix the parsing of SQL.
* Get thread data action
* Remove old page
* Wait for data to complete
* SSR everywhere
* Remove unused
* Add monaco settings
* update loaders
* Add sorting
* supress hydration warnings
* Fix profile layout
* more server action action
* fixes
* Update page.tsx
* Update actions.ts
* Update AssistantChatForm.tsx
* init
* add polling
* Update actions.ts
* redirect to message id
* Update page.tsx
* Update page.tsx
* handle run loading states with use client state with valtio
* reduce first load JS
* test action v1
* test action v2
* server action test 3
* test action 4
* test action 5
* test 6
* test 7
* test 7
* test 8
* test 9
* test 10
* test 11
* TEST 12
* TEST 13
* try and make it work
* Update page.tsx
* Update actions.ts
* redirect added in
* Update page.tsx
* Update SchemaFlow.tsx
* Update SchemaFlowHandler.tsx
* 14
* Update SchemaFlow.tsx
* move parse tables to client
* a11y fixes
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
* First
* Fix the parsing of SQL.
* Get thread data action
* Remove old page
* Wait for data to complete
* SSR everywhere
* Remove unused
* Add monaco settings
* update loaders
* Add sorting
* supress hydration warnings
* Fix profile layout
* more server action action
* fixes
* Update page.tsx
* Update actions.ts
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
* Migrate database-new to use server actions.
* Revert the package-lock.json changes, leftover from a rebased commit.
* Add server actions config back
* Cleanup
* Cleanup
* Undo
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Midway doing something
* Small refactor
* Some mobile responsiveness
* bit fix
* Update name
* One more name
* One more name, again
* Footer and faqs
* Fix
* Style fixes
* Style fixes
* Add titles
* Add CTAs to copy, download or load SQL in supabase
* Styling
* mobile
* Add suggestions
* Add delete action
* Cleanup
* Add delete thread and edit thread modals
* Restore server action
* Fix build error
* Import common theme switcher
* Add file
* Restore thread list
* force revalidating profile path
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>