aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-07-02 16:39:47 -0500
committerDhravya Shah <[email protected]>2024-07-02 16:39:47 -0500
commit31bc48fa4f73fd12e7af09162088c87c5b99c1a9 (patch)
tree8cd48591670afdd61e9efcc4694fa711bff4016e
parentadd sharedtypes back to package.json (diff)
downloadarchived-supermemory-31bc48fa4f73fd12e7af09162088c87c5b99c1a9.tar.xz
archived-supermemory-31bc48fa4f73fd12e7af09162088c87c5b99c1a9.zip
attempt to make the add modal more accessible
-rw-r--r--apps/cf-ai-backend/src/index.ts2
-rw-r--r--apps/web/app/(dash)/menu.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/cf-ai-backend/src/index.ts b/apps/cf-ai-backend/src/index.ts
index 2c756dcc..31ee520f 100644
--- a/apps/cf-ai-backend/src/index.ts
+++ b/apps/cf-ai-backend/src/index.ts
@@ -203,7 +203,7 @@ app.get(
const preparedContext = normalizedData.map(
({ metadata, score, normalizedScore }) => ({
- context: `Website title: ${metadata!.title}\nDescription: ${metadata!.description}\nURL: ${metadata!.url}\nContent: ${metadata!.text}`,
+ context: `Title: ${metadata!.title}\nDescription: ${metadata!.description}\nURL: ${metadata!.url}\nContent: ${metadata!.text}`,
score,
normalizedScore,
}),
diff --git a/apps/web/app/(dash)/menu.tsx b/apps/web/app/(dash)/menu.tsx
index b72efce1..11738391 100644
--- a/apps/web/app/(dash)/menu.tsx
+++ b/apps/web/app/(dash)/menu.tsx
@@ -178,7 +178,7 @@ function Menu() {
</div>
</div>
- <DialogContent className="sm:max-w-[425px] rounded-2xl bg-[#161f2a]/40 backdrop-blur-md">
+ <DialogContent className="sm:max-w-[425px] rounded-2xl bg-background z-[39] backdrop-blur-md">
<form
action={async (e: FormData) => {
const content = e.get("content")?.toString();