starlord_gf's Thread
hey i am using vite pwa plugin and after last convex npm update i get this error on vercel build. anyone knows how to fix?
...
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
delt_'s Thread
I haven't been able to find much about server location. Where is the server located for the convex DB? Is it distributed to multiple locations globally, or is it a single location (if so, how can i select the location)?
jamwt's Thread
A lot of you are using Bolt with Convex recently, as are we. It seems like very recently, Bolt has started to sometime refuse to generate Convex projects and insists on using Supabase. Obivously our community cares a lot about Bolt continuing to be willing to work with this Convex. If you're on X and can send a like/repost/comment of support, please do: https://x.com/jamesacowling/status/1870950211222413620
barisonerb's Thread
Hi everyone, I have a feature request. Could you add a getTempUrl function to the storage system, similar to the getUrl function, where we can define an expiry time?
For example:
await ctx.storage.getTempUrl("storageId", 900);
and each time a storage ID is requested, it should return a different URL.
This would be an incredibly useful feature for everyone....xpriori's Thread
I'm in a lookout for an example of query + filter function. I can't seem to nail it. I'm currently collecting all my users then run a filter by email on the client. 😂
benanna19's Thread
Just a potential hiccup that others might have when setting up auth with Clerk. Clerk's UI is very nice but the pop up to save creating a template sometimes goes unnoticed so it's also possible that people (like myself) might run into the issue where they are logging in with clerk but the useConvexAuth hook is returning
isAuthenticated: false
resulting in confusion. Just needed to make sure to save the JWT Template but didn't really see the button to do so the first time around.i.sona's Thread
how do i combine map with afilter or getX(index) . something like
```
const team = ctx
.table('teams')
.get(ctx.viewerX().teamId)...
tiger9644's Thread
is it ok to build real time collaborative stuff with convex?
e.g. cursor moving around as you move the mouse around?...
usermez's Thread
not sure if its the right approach but I ended up mocking that module like so:
```
// Mock the auth module
vi.mock("@convex-dev/auth/server", async (importOriginal) => {
const actual = await importOriginal()...
usermez's Thread
Does anyone know what I am doing wrong?
Somewhere in my convex function I have the following code.
...
const userId = await getAuthUserId(ctx);
const userId = await getAuthUserId(ctx);
starlord_gf's Thread
but it was really strange. the problem has started only with connection to convex and some mutation query data got messed up. is it possible that client server can somehow desynchronize if connection is not stable?
voulkou's Thread
Hey, I was wondering why have both documentation and search if documentation already does the same thing?

Convex dashboard database tables names
feature request: In Convex dashboard for database tables, start Chrome tabs with table name.
Currently, all Chrome tab names for the database tables pages start with "Data"...

`useNextPrevPaginatedQuery`
Hey all—I published to
npm
a little React hook for performing a more traditional form of pagination than what Convex offers by default via usePaginatedQuery
. This hook, called useNextPrevPaginatedQuery
, only loads one page of results at a time, and exposes functions for loading next/prev pages in the paginated result set. Check it out on GitHub or npm...