Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

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. 😂

itsdavidalonso's Thread

Random question: has anyone here ever forked or built the Expo Go app?

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

vaulco's Thread

Health dashboard look a bit too high on phone.
No description

.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?
No description

mikeysee's Thread

its the most handsome favicon there could ever be, surely? 😉

waynesutton_cx's Thread

Auto threads are now enabled in General.

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"...
No description

`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...

Convex Auth with Svelte

Okay thanks, is there any auth soloution that supports both sveltekit and convex?

useMutation error

Hey @everyone i have got these error i dont know why it is appear. Can any body help with these, Thank you..!
No description

Hello again, do convex have any examples

Hello again, do convex have any examples with NextJS, @tanstack/react-query and prefetching on a server? I'm getting error from convex/react: ``` @v1/app:dev: ⨯ createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component...

Paginated query executing twice

``` export default function NewProductPage() { const result = usePaginatedQuery( api.admin.listOwnPendingProducts,...