-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: january 1st release #345
Merged
Changes from all commits
Commits
Show all changes
131 commits
Select commit
Hold shift + click to select a range
9a08482
devops: force deploy
gaboesquivel 6758e45
devops: trigger automated build
gaboesquivel b1f3a0c
devops: trigger automated build
gaboesquivel 34aa4a0
devops: trigger automated build
gaboesquivel 78b49e6
devops: trigger automated build
gaboesquivel c5334b5
devops: trigger automated build
gaboesquivel cb71ca4
devops: trigger automated build
gaboesquivel d735ab2
devops: trigger automated build
gaboesquivel 2d77927
impr(masterbots.ai): add return to browse on bot thread page view (#204)
sheriffjimoh db62b93
feat: ai gen 404 image for custom 404 error page (#210)
sheriffjimoh fbf1ba8
Merge branch 'develop' of github.com:bitcashorg/masterbots into develop
AndlerRL 5ccb735
fix(masterbots.ai): terms page visibility and access
AndlerRL 954c3fd
feat(masterbots.ai): consistent og image style design and dynamic met…
sheriffjimoh 13fb902
fix(masterbots.ai): OG not redering (#224)
sheriffjimoh f422aa5
fix(masterbots.ai): share function (#225)
TopETH 5ace035
feat(hasura): update user db schema for pro users (#227)
TopETH b38d1b0
feat(hasura): add Ai Model Tracker To Threads (#229)
TopETH 234e779
[masterbots.ai] feat: multi AI models integration (#228)
Bran18 fd2c050
docs: site map diagram
AndlerRL 576e49a
[masterbots.ai] fix: multi AI models guard (#235)
Bran18 4732d2f
chore(masterbots.ai): update payment terms & conditions (#233)
sheriffjimoh b43433e
feat(masterbots.ai): pro subscription payment + wizard (#226)
sheriffjimoh c48ef72
[masterbots.ai] fix: llama3 models (#236)
Bran18 a38d894
[masterbots.ai] impr(fix): ui tweaks (#237)
AnoukRImola dce0371
fix(masterbots.ai): payment feedbacks (#240)
sheriffjimoh bef3b8c
fix(masterbots.ai): update env variable (#244)
sheriffjimoh 5d3cc8a
feat: sitemap (#238)
TopETH bc35b62
fix(masterbots.ai): show first question & answer in thread list (#246)
TopETH 0073cd1
fix: subscription mobile responsive tweaks (#245)
sheriffjimoh a9ef61a
fix(impr): models enum table migrations (#247)
AndlerRL e31f8c2
fix(hasura): models_enum pk
AndlerRL 244e278
fix(hasura): ci/cd default regional log bucket
AndlerRL 888e08d
docs: bun to requirements (#250)
Nemunas b699518
feat: next auth, email/pw strategy (#249)
Bran18 1fd3f00
docs: mb sytem diagram v1.0a
AndlerRL ed6cfa6
feat(impr): next auth environment helper function (#251)
Bran18 0ff85c5
impr(masterbots.ai): sign up form + sign in session data
AndlerRL 41a1218
docs: claude3 project knowledge docs
AndlerRL 70b69d8
fix(masterbots.ai): devMode conditional
AndlerRL d43bb36
chore(masterbots.ai): rm console.log
AndlerRL 5bab96c
Merge branch 'main' into develop
AndlerRL 6f6d987
chore: upt default hardcoded gpt model
AndlerRL f2ff85a
fix: toSlug imports
AndlerRL 4e05831
fix: typo
AndlerRL 69f11d2
Merge branch 'main' into develop
AndlerRL 50774a9
fix(hasura): seeds
AndlerRL eeabe20
chore(impr): MB seeds update and upgrade (#253)
AndlerRL bc786a7
fix: prompt row typo
AndlerRL e911dc1
chore(hasura): seeds update default thread publicity
AndlerRL 09a8cb3
fix(masterbots.ai): adjust arrow direction in thread list (#255)
TopETH 4447b2b
feat(impr): Vercel AI SDK Update (#256)
Bran18 70dbedf
Leandro/develop (#257)
leandrogavidia 41b6aec
impr(masterbots): components folder structur (#259)
Bran18 834b102
fix(masterbots): google signIn (#260)
AndlerRL ad83c1d
fix(masterbots.ai): fix thread-component loop (#261)
Bran18 9a6333b
fix:(masterbots.ai) add useScroll hook (#263)
Bran18 abec687
feat(masterbots.ai): chat sidebar filtering (#264)
AndlerRL 42c33fc
fix(masterbots.ai): bot button redirect change (#265)
AnoukRImola 973fa71
wip(masterbots.ai): seo data impr (#267)
AndlerRL 20c7a3b
feat: add chat publicity trigger (#258)
sheriffjimoh b86a2d1
feat(masterbots.ai): user messages ai refactor (#266)
Bran18 42d829e
wip: browse sidebar
AndlerRL b9aa09e
impr(masterbots.ai): browse sidebar (#270)
AndlerRL 4940a30
chore: upt signup default profile pic
AndlerRL 83642b2
chore: seeds upt (#269)
AndlerRL 1f64926
Merge branch 'main' into develop
AndlerRL 198af13
fix(hasura): thread param permission
AndlerRL 9cc628f
fix(masterbots.ai): typo
AndlerRL b32e59d
fix(masterbots.ai): allow svg content-type
AndlerRL 69ac378
fix: chat + browse layout
AndlerRL 9bb504f
style: clean up
AndlerRL 0d5ac44
Merge branch 'main' into develop
AndlerRL 96e76f6
Seo data (#273)
luighis d86292f
impr(masterbots.ai): title impr prompt
AndlerRL 469bb0b
impr(masterbots.ai): improve current features v2 (#274)
Bran18 14ee814
Masterbots/fix redirects (#275)
AnoukRImola 2eb35f9
[masterbots.ai] feat: wordware api (#276)
Bran18 ab2a2a3
doc: mb system diagram upt
AndlerRL d4b5274
wip: icl calls integrations
AndlerRL 9463de8
impr(masterbots.ai): permission for thread & user action mode (#281)
sheriffjimoh af10a55
feat(masterbots.ai): create password recovery (#282)
Bran18 1ed9365
[masterbots.ai] impr: WW API sanitize and keep alive (#284)
Bran18 544e598
wip(masterbots.ai): impr createImprovementPrompt
AndlerRL 31a0d9c
style(masterbots.ai): chat loading states comments
AndlerRL 07826f5
feat(masterbots.ai): add admin mode to approve thread (#283)
sheriffjimoh 9d45428
impr(masterbots.ai): alpha metadata chatbot labels (#288)
AndlerRL 1a67709
style(impr): cleanPrompt + followingQuestionsPrompt relocation & cleanup
AndlerRL d1da839
doc: map system (simplified)
AndlerRL 0affecc
fix(masterbots.ai): sideBar updating URL (#286)
AnoukRImola 8ac19ef
feat: thread options (#287)
sheriffjimoh 01b623a
[masterbots.ai] feat: email verification (#289)
Bran18 3b4957f
feat(hasura): create social following table. (#292)
mledezma 5cf5bef
chore(masterbots.ai): guard WordWare for prod routing
AndlerRL af490d7
Merge branch 'main' into develop
AndlerRL a290dbc
[masterbots.ai] fix: public/private tag bg on dark mode (#294)
sheriffjimoh 72b1a89
fix(hasura): upt user permissions (#296)
sheriffjimoh 99c1bdf
fix(hasura): build error (#297)
sheriffjimoh 4100858
[masterbots.ai] feat: thread list display + components comments for a…
Bran18 c845fc9
[masterbots.ai] feat: chatbot search tool v0.1a (#295)
AndlerRL b753122
[masterbots.ai] feat: reorganize navigation menu for mobile view (#298)
AnoukRImola f808b94
[masterbots.ai] feat: UI + Logic Improvements (#301)
Bran18 4058ca9
[masterbots.ai] fix: restore desktop navigation link - browse section…
Bran18 19e906b
[masterbots.ai] fix(impr): browse and chat content search (#304)
Bran18 cf7fd91
[masterbots.ai] impr: seo sitemap (#306)
luighis 9d5fa3d
[masterbots.ai] impr: ai tools (#302)
AndlerRL 02adc39
[masterbots.ai] wip(impr): web search (#309)
AndlerRL c4a500c
feat: profile page (#300)
sheriffjimoh a0ca3b8
[masterbots.ai] fix: shallow routing for category & chatbots for cha…
sheriffjimoh 8219716
[masterbots.ai] feat: update ChatChatbotDetails (#314)
Bran18 7deaff3
[masterbots.ai] feat: include custom settings options (#317)
Bran18 4f4143a
[masterbots.ai] feat: integrate drizzle ORM (#320)
Bran18 56b2eaf
Merge branch 'main' into develop
AndlerRL 8af1880
chore: webSearch feature flag + use cloudinary upload preset
AndlerRL a000740
fix: responsive sidebar fix
AndlerRL 04bc55f
fix: ts chk build
AndlerRL 76ddeeb
fix: sidebar async call
AndlerRL b2c7f67
fix: ts build
AndlerRL ac3631a
chore: typo
AndlerRL 4bc86d8
[masterbots.ai] fix: browse category navigation (#316)
sheriffjimoh 619166f
fix: hasura thread delete + user dup permissions (#330)
AndlerRL 5efbec9
Merge branch 'main' into develop
AndlerRL fceb2c6
[masterbots.ai] feat: onboarding bot profile variants (#324)
Bran18 4ed5de7
feat: user following (#319)
sheriffjimoh 882e6b7
[masterbots.ai] impr: new sonner (#334)
luighis d72a578
chore: bun pkg mngr upt
AndlerRL 31cb573
Standardize url building using urlbuilders utility (#341)
sheriffjimoh 5243d24
[masterbots.ai] impr: og Image api dynamic to be useful without threa…
sheriffjimoh 6661cef
[masterbots.ai] docs: hook useSonner (#343)
luighis b5e2910
impr: web search response (#310)
AndlerRL 72b3574
[masterbots.ai] refactor: prelaunch ux/ui changes (#336)
Bran18 0485f81
Merge branch 'main' into develop
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 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 |
---|---|---|
|
@@ -5,5 +5,6 @@ node_modules | |
.DS_Store | ||
_dev | ||
.vercel | ||
__dev | ||
.vercel | ||
__dev | ||
.vercel | ||
.vscode/ |
This file contains 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 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 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
5 changes: 5 additions & 0 deletions
5
...734184725302_delete_fk_public_social_following_social_following_followee_id_fkey/down.sql
This file contains 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"."social_following" | ||
add constraint "social_following_followee_id_fkey" | ||
foreign key ("followee_id") | ||
references "public"."user" | ||
("user_id") on update restrict on delete restrict; |
1 change: 1 addition & 0 deletions
1
.../1734184725302_delete_fk_public_social_following_social_following_followee_id_fkey/up.sql
This file contains 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"."social_following" drop constraint "social_following_followee_id_fkey"; |
4 changes: 4 additions & 0 deletions
4
apps/hasura/migrations/masterbots/1734184748787_run_sql_migration/down.sql
This file contains 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 social_following | ||
-- DROP CONSTRAINT IF EXISTS social_following_followee_id_fkey; |
2 changes: 2 additions & 0 deletions
2
apps/hasura/migrations/masterbots/1734184748787_run_sql_migration/up.sql
This file contains 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 social_following | ||
DROP CONSTRAINT IF EXISTS social_following_followee_id_fkey; |
1 change: 1 addition & 0 deletions
1
...rbots/1734196561972_alter_table_public_social_following_alter_column_follower_id/down.sql
This file contains 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"."social_following" rename column "follower_id_n" to "follower_id"; |
1 change: 1 addition & 0 deletions
1
...terbots/1734196561972_alter_table_public_social_following_alter_column_follower_id/up.sql
This file contains 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"."social_following" rename column "follower_id" to "follower_id_n"; |
1 change: 1 addition & 0 deletions
1
...ots/1734196575364_alter_table_public_social_following_alter_column_follower_id_n/down.sql
This file contains 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"."social_following" rename column "follower_id" to "follower_id_n"; |
1 change: 1 addition & 0 deletions
1
...rbots/1734196575364_alter_table_public_social_following_alter_column_follower_id_n/up.sql
This file contains 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"."social_following" rename column "follower_id_n" to "follower_id"; |
1 change: 1 addition & 0 deletions
1
...a/migrations/masterbots/1734292953319_set_fk_public_social_following_followee_id/down.sql
This file contains 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"."social_following" drop constraint "social_following_followee_id_fkey"; |
5 changes: 5 additions & 0 deletions
5
...ura/migrations/masterbots/1734292953319_set_fk_public_social_following_followee_id/up.sql
This file contains 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"."social_following" | ||
add constraint "social_following_followee_id_fkey" | ||
foreign key ("followee_id") | ||
references "public"."user" | ||
("user_id") on update restrict on delete restrict; |
4 changes: 4 additions & 0 deletions
4
...1734300490458_alter_table_public_social_following_add_column_followee_id_chatbot/down.sql
This file contains 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"."social_following" add column "followee_id_chatbot" integer | ||
-- null; |
2 changes: 2 additions & 0 deletions
2
...s/1734300490458_alter_table_public_social_following_add_column_followee_id_chatbot/up.sql
This file contains 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"."social_following" add column "followee_id_chatbot" integer | ||
null; |
1 change: 1 addition & 0 deletions
1
...ions/masterbots/1734300526426_set_fk_public_social_following_followee_id_chatbot/down.sql
This file contains 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"."social_following" drop constraint "social_following_followee_id_chatbot_fkey"; |
5 changes: 5 additions & 0 deletions
5
...ations/masterbots/1734300526426_set_fk_public_social_following_followee_id_chatbot/up.sql
This file contains 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"."social_following" | ||
add constraint "social_following_followee_id_chatbot_fkey" | ||
foreign key ("followee_id_chatbot") | ||
references "public"."chatbot" | ||
("chatbot_id") on update restrict on delete restrict; |
1 change: 1 addition & 0 deletions
1
...rbots/1734356983533_alter_table_public_social_following_alter_column_followee_id/down.sql
This file contains 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"."social_following" alter column "followee_id" set not null; |
1 change: 1 addition & 0 deletions
1
...terbots/1734356983533_alter_table_public_social_following_alter_column_followee_id/up.sql
This file contains 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"."social_following" alter column "followee_id" drop not null; |
This file contains 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 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 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 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,57 @@ | ||
import { endpoints } from "mb-env" | ||
import { UUID } from '@/types/types' | ||
|
||
export async function getThreadForOG(threadId: UUID) { | ||
|
||
const env = process.env.NEXT_PUBLIC_APP_ENV | ||
if (!env || !['prod', 'test', 'local'].includes(env)) { | ||
throw new Error('Invalid environment configuration') | ||
} | ||
const endpoint = endpoints[env as 'prod' | 'test' | 'local'] | ||
if (!endpoint) { | ||
throw new Error('API endpoint not configured') | ||
} | ||
|
||
try { | ||
const response = await fetch(endpoint, { | ||
method: 'POST', | ||
headers: { | ||
'Content-Type': 'application/json', | ||
}, | ||
body: JSON.stringify({ | ||
query: ` | ||
query GetThread($threadId: uuid!) { | ||
thread(where: {threadId: {_eq: $threadId}}) { | ||
chatbot { | ||
name | ||
avatar | ||
categories { | ||
category { | ||
name | ||
} | ||
} | ||
} | ||
user { | ||
username | ||
profilePicture | ||
} | ||
messages { | ||
content | ||
role | ||
} | ||
} | ||
} | ||
`, | ||
variables: { threadId } | ||
}) | ||
}) | ||
const data = await response.json() | ||
if (data.errors) { | ||
throw new Error(data.errors[0].message) | ||
} | ||
return data.data | ||
} catch (error: any) { | ||
throw new Error('Unknown error occurred while fetching thread') | ||
} | ||
} | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (bug_risk): Consider preserving original error details instead of using a generic message
The generic error message makes debugging harder. Consider including the original error details in the thrown error message:
throw new Error(
Failed to fetch thread: ${error.message})