-
Notifications
You must be signed in to change notification settings - Fork 1
Feat continuous thread UI functionality #340
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e17d91c
wip: continuos thread logic and functionality.
mledezma e3672fe
feat: updating parent thread functionality.
mledezma 64217ac
feat: continuous thread UI and finalize functionality.
mledezma 7999d29
fix: lowering resolveThreadId logic complexity.
mledezma da07b5e
Update apps/hasura/migrations/masterbots/1736934906237_set_fk_public_…
mledezma d381b9b
Update apps/masterbots.ai/lib/hooks/use-mb-chat.ts
mledezma 31772e2
Merge branch 'develop' into feat-continuous-thread-UI-functionality
AndlerRL fa7735e
fix: ts build
AndlerRL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ions/masterbots/1736934846590_alter_table_public_thread_add_column_parent_thread/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| -- Could not auto-generate a down migration. | ||
| -- Please write an appropriate down migration for the SQL below: | ||
| -- alter table "public"."thread" add column "parent_thread" uuid | ||
| -- null; |
2 changes: 2 additions & 0 deletions
2
...ations/masterbots/1736934846590_alter_table_public_thread_add_column_parent_thread/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| alter table "public"."thread" add column "parent_thread" uuid | ||
| null; |
1 change: 1 addition & 0 deletions
1
apps/hasura/migrations/masterbots/1736934871442_set_fk_public_thread_parent_thread/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_fkey"; |
5 changes: 5 additions & 0 deletions
5
apps/hasura/migrations/masterbots/1736934871442_set_fk_public_thread_parent_thread/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" | ||
| add constraint "thread_parent_thread_fkey" | ||
| foreign key ("parent_thread") | ||
| references "public"."thread" | ||
| ("thread_id") on update restrict on delete restrict; |
5 changes: 5 additions & 0 deletions
5
apps/hasura/migrations/masterbots/1736934906237_set_fk_public_thread_parent_thread/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_fkey", | ||
| add constraint "thread_parent_thread_fkey" | ||
| foreign key ("parent_thread") | ||
| references "public"."thread" | ||
| ("thread_id") on update no action on delete no action; |
5 changes: 5 additions & 0 deletions
5
apps/hasura/migrations/masterbots/1736934906237_set_fk_public_thread_parent_thread/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_fkey", | ||
| add constraint "thread_parent_thread_fkey" | ||
| foreign key ("parent_thread") | ||
| references "public"."thread" | ||
| ("thread_id") on update no action on delete no action; |
5 changes: 5 additions & 0 deletions
5
...tions/masterbots/1736935003381_delete_fk_public_thread_thread_parent_thread_fkey/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" | ||
| add constraint "thread_parent_thread_fkey" | ||
| foreign key ("parent_thread") | ||
| references "public"."thread" | ||
| ("thread_id") on update no action on delete no action; | ||
mledezma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1 change: 1 addition & 0 deletions
1
...rations/masterbots/1736935003381_delete_fk_public_thread_thread_parent_thread_fkey/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_fkey"; |
2 changes: 2 additions & 0 deletions
2
...ons/masterbots/1736935011585_alter_table_public_thread_drop_column_parent_thread/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| alter table "public"."thread" alter column "parent_thread" drop not null; | ||
| alter table "public"."thread" add column "parent_thread" uuid; | ||
mledezma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1 change: 1 addition & 0 deletions
1
...tions/masterbots/1736935011585_alter_table_public_thread_drop_column_parent_thread/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."thread" drop column "parent_thread" cascade; |
4 changes: 4 additions & 0 deletions
4
...s/masterbots/1736935019108_alter_table_public_thread_add_column_parent_thread_id/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| -- Could not auto-generate a down migration. | ||
| -- Please write an appropriate down migration for the SQL below: | ||
| -- alter table "public"."thread" add column "parent_thread_id" uuid | ||
| -- null; |
2 changes: 2 additions & 0 deletions
2
...ons/masterbots/1736935019108_alter_table_public_thread_add_column_parent_thread_id/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| alter table "public"."thread" add column "parent_thread_id" uuid | ||
| null; | ||
mledezma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1 change: 1 addition & 0 deletions
1
...hasura/migrations/masterbots/1736935030050_set_fk_public_thread_parent_thread_id/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_id_fkey"; |
5 changes: 5 additions & 0 deletions
5
apps/hasura/migrations/masterbots/1736935030050_set_fk_public_thread_parent_thread_id/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" | ||
| add constraint "thread_parent_thread_id_fkey" | ||
| foreign key ("parent_thread_id") | ||
| references "public"."thread" | ||
| ("thread_id") on update no action on delete no action; |
5 changes: 5 additions & 0 deletions
5
...hasura/migrations/masterbots/1736937456812_set_fk_public_thread_parent_thread_id/down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_id_fkey", | ||
| add constraint "thread_parent_thread_id_fkey" | ||
| foreign key ("parent_thread_id") | ||
| references "public"."thread" | ||
| ("thread_id") on update no action on delete no action; |
5 changes: 5 additions & 0 deletions
5
apps/hasura/migrations/masterbots/1736937456812_set_fk_public_thread_parent_thread_id/up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| alter table "public"."thread" drop constraint "thread_parent_thread_id_fkey", | ||
| add constraint "thread_parent_thread_id_fkey" | ||
| foreign key ("parent_thread_id") | ||
| references "public"."thread" | ||
| ("thread_id") on update restrict on delete restrict; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.