diff --git a/Dockerfile b/Dockerfile
index e41b8c1a..40859f65 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,14 +3,11 @@ FROM oven/bun:1.1.3-alpine
# Install dependencies
RUN apk add --no-cache nodejs npm git
-# Clone the repository
-RUN git clone --depth=1 https://github.com/queuelab/MapGPT /app
-
# Set the working directory
-WORKDIR /app/MapGPT
+WORKDIR /app
-# Remove the .git directory
-RUN rm -rf .git
+# Copy local files to the container
+COPY . .
# Verify the presence of package.json
RUN if [ ! -f package.json ]; then echo "package.json not found"; exit 1; fi
diff --git a/app/globals.css b/app/globals.css
index 4005365b..03a49fdb 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -82,10 +82,15 @@
/* Mobile layout specific styles */
@media (max-width: 1024px) {
+ body {
+ overflow: auto;
+ height: auto;
+ }
+
.mobile-layout-container {
display: flex;
flex-direction: column;
- height: 100vh;
+ min-height: 100vh;
width: 100%;
background-color: hsl(var(--background));
}
diff --git a/components/chat.tsx b/components/chat.tsx
index 34e92244..191463a2 100644
--- a/components/chat.tsx
+++ b/components/chat.tsx
@@ -82,9 +82,6 @@ export function Chat({ id }: ChatProps) {
-
-
-
{showEmptyScreen ? (
)}
+
+
+
);
diff --git a/dev.log b/dev.log
index e69de29b..8f954215 100644
--- a/dev.log
+++ b/dev.log
@@ -0,0 +1 @@
+$ next dev
diff --git a/jules-scratch/verification/error.png b/jules-scratch/verification/error.png
new file mode 100644
index 00000000..e656a840
Binary files /dev/null and b/jules-scratch/verification/error.png differ
diff --git a/jules-scratch/verification/verify_mobile_scroll.py b/jules-scratch/verification/verify_mobile_scroll.py
new file mode 100644
index 00000000..f9d36628
--- /dev/null
+++ b/jules-scratch/verification/verify_mobile_scroll.py
@@ -0,0 +1,30 @@
+from playwright.sync_api import sync_playwright, expect
+
+def run(playwright):
+ browser = playwright.chromium.launch(headless=True)
+ context = browser.new_context(
+ viewport={'width': 375, 'height': 667},
+ is_mobile=True,
+ user_agent='Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1'
+ )
+ page = context.new_page()
+
+ try:
+ page.goto("http://localhost:3000")
+
+ # Wait for the page to load by looking for a known element
+ expect(page.locator('.mobile-layout-container')).to_be_visible(timeout=30000)
+
+ # Take a screenshot
+ page.screenshot(path="jules-scratch/verification/verification.png")
+
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ # Take a screenshot even if there is an error to help with debugging
+ page.screenshot(path="jules-scratch/verification/error.png")
+
+ finally:
+ browser.close()
+
+with sync_playwright() as playwright:
+ run(playwright)
diff --git a/package.json b/package.json
index 39be0359..fe503564 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"private": true,
"license": "Apache-2.0",
"scripts": {
- "dev": "next dev --turbo",
+ "dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
@@ -65,7 +65,6 @@
"next-themes": "^0.3.0",
"open-codex": "^0.1.30",
"pg": "^8.16.2",
- "QCX": ".",
"radix-ui": "^1.3.4",
"react": "^19.1.0",
"react-dom": "^19.1.0",