Skip to content

Commit 4a20fec

Browse files
authored
update to main (#36)
1 parent 27568d1 commit 4a20fec

77 files changed

Lines changed: 3183 additions & 869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Use **PNPM** commands in this repo (workspace uses `pnpm-workspace.yaml`).
66
- Always run new/updated tests after creating or changing them.
77
- Prefer focused verification first (targeted package/spec), then broader checks when needed.
8+
- At the end of each proposal when ready for a PR, run `pnpm ci:check` to ensure all checks pass.
89

910
## Quick Repo Orientation
1011

@@ -648,3 +649,11 @@ If you are about to:
648649
- create a ref inside a React component
649650

650651
stop and use one of the standard patterns above instead.
652+
653+
<!-- convex-ai-start -->
654+
This project uses [Convex](https://convex.dev) as its backend.
655+
656+
When working on Convex code, **always read `convex/_generated/ai/guidelines.md` first** for important guidelines on how to correctly use Convex APIs and patterns. The file contains rules that override what you may have learned about Convex from training data.
657+
658+
Convex agent skills for common tasks can be installed by running `npx convex ai-files install`.
659+
<!-- convex-ai-end -->

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- convex-ai-start -->
2+
This project uses [Convex](https://convex.dev) as its backend.
3+
4+
When working on Convex code, **always read `convex/_generated/ai/guidelines.md` first** for important guidelines on how to correctly use Convex APIs and patterns. The file contains rules that override what you may have learned about Convex from training data.
5+
6+
Convex agent skills for common tasks can be installed by running `npx convex ai-files install`.
7+
<!-- convex-ai-end -->

ROADMAP.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ Goal: ship a professional open-source customer messaging platform with strong de
5050
- [p] a CI AI agent to check for any doc drift and update docs based on the latest code
5151
- [ ] convert supportAttachments.finalizeUpload into an action + internal mutation pipeline so we can add real signature checks too. The current finalizeUpload boundary is a Convex mutation and ctx.storage.get() is only available in actions. Doing true magic-byte validation would need a larger refactor of that finalize flow.
5252
- [ ] add URL param deep links for the widget - Go to a url like ?open-widget-tab=home to open the widget to that tab, etc.
53-
53+
- [ ] make web admin chat input field multi line, with scrollbar when needed (currently single line max)
54+
- [ ] make clicking anywhere on the settings headers expand that section, not just the show/hide button
55+
- [ ] add full evals, traces, etc. to the AI agent
5456

5557
apps/web/src/app/outbound/[id]/OutboundTriggerPanel.tsx
5658
Comment on lines +67 to 71

apps/landing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"framer-motion": "^12.34.3",
1818
"geist": "^1.7.0",
1919
"lucide-react": "^0.469.0",
20-
"next": "^15.5.10",
20+
"next": "^15.5.15",
2121
"react": "^19.2.3",
2222
"react-dom": "^19.2.3",
2323
"tailwind-merge": "^2.1.0"

apps/mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@opencom/convex": "workspace:*",
1919
"@opencom/types": "workspace:*",
2020
"@react-native-async-storage/async-storage": "^2.1.2",
21-
"convex": "^1.32.0",
21+
"convex": "1.35.1",
2222
"expo": "~54.0.33",
2323
"expo-clipboard": "^8.0.8",
2424
"expo-constants": "~18.0.0",

apps/web/e2e/global-teardown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function globalTeardown() {
4646
args: {
4747
secret: adminSecret,
4848
name: "testing/helpers:cleanupE2ETestData",
49-
mutationArgs: {},
49+
mutationArgsJson: JSON.stringify({}),
5050
},
5151
format: "json",
5252
}),

apps/web/e2e/helpers/test-data.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ async function callInternalMutation<T>(path: string, args: Record<string, unknow
3737
},
3838
body: JSON.stringify({
3939
path: "testAdmin:runTestMutation",
40-
args: { secret: getAdminSecret(), name: path, mutationArgs: args },
40+
args: {
41+
secret: getAdminSecret(),
42+
name: path,
43+
mutationArgsJson: JSON.stringify(args),
44+
},
4145
format: "json",
4246
}),
4347
});

apps/web/e2e/helpers/widget-helpers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ export async function waitForSurveyVisible(page: Page, timeout = 10000): Promise
315315
export async function submitNPSRating(page: Page, rating: number): Promise<void> {
316316
const frame = getWidgetContainer(page);
317317

318+
await dismissTour(page);
319+
318320
// Click the rating button (0-10)
319321
await frame
320322
.locator(

apps/web/next.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ const nextConfig = {
4646
// Reduce memory usage during webpack compilation
4747
webpackMemoryOptimizations: true,
4848
},
49-
webpack: (config, { dev }) => {
50-
if (dev) {
51-
// Use filesystem cache to reduce in-memory pressure during dev
52-
config.cache = {
53-
type: "filesystem",
54-
buildDependencies: {
55-
config: [__filename],
56-
},
57-
};
58-
}
59-
return config;
60-
},
6149
async headers() {
6250
return [
6351
{

apps/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"@opencom/types": "workspace:*",
1818
"@opencom/ui": "workspace:*",
1919
"@opencom/web-shared": "workspace:*",
20-
"convex": "^1.32.0",
20+
"convex": "1.35.1",
2121
"dompurify": "^3.3.1",
2222
"fflate": "^0.8.2",
2323
"lucide-react": "^0.469.0",
2424
"markdown-it": "^14.1.1",
25-
"next": "^15.5.10",
25+
"next": "^15.5.15",
2626
"react": "^19.2.3",
2727
"react-dom": "^19.2.3"
2828
},

0 commit comments

Comments
 (0)