ari
CCConvex Community
•Created by nherf on 12/20/2024 in #support-community
Resize function window
Should be fixed now! thanks for the report
3 replies
CCConvex Community
•Created by nherf on 12/20/2024 in #support-community
Resize function window
Looks like a bug to me! Ill take a look today
3 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
I'd personally love a world where you automatically get an index for each field you add. For now, if you want flexible/complex querying we'd recommend setting up streaming export (https://docs.convex.dev/production/integrations/streaming-import-export#streaming-export)
33 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
Specifically for the data page, we’ll likely be changing how this function works in the next couple momths to not allow calling filter on large tables - so you would need to add indexes to any field you want to filter by
33 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
Yes, the code is open source, but it does not come with any guarantees, so these functions can change at any time
Here’s the one that queries and filters data on the dashboard:
https://github.com/get-convex/convex-backend/blob/main/npm-packages/system-udfs/convex/_system/frontend/paginatedTableDocuments.ts
33 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
Yup, each deployment comes with some functions that are only queryable through the dashboard / cli
33 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
It should yes, but if you’re querying arbitrary deployments it may be hard to enforce that
33 replies
CCConvex Community
•Created by David Alonso on 12/14/2024 in #support-community
Connect to multiple projects from the same nextjs app
In the dashboard, we load one convex client via a ConvexProvider, and use global state for another. We use one to power loading your data, and the other for the function runner
Im a fan of https://github.com/streamich/react-use/blob/master/docs/createGlobalState.md
however, you can’t use useQuery, but you can call client client.query
The convex dashboard copies the implementation of useQuery, but replaces the usage of the context with global state — I wouldn’t advise doing this as you’d be subject to the implementation changing as new versions of the convex package come out
33 replies
CCConvex Community
•Created by noob saibot on 12/6/2024 in #support-community
Help needed: Integrate Launchdarkly with Convex Dev
For the first option, you can follow these instructions to have separate components:
- https://github.com/get-convex/launchdarkly?tab=readme-ov-file#syncing-multiple-launchdarkly-environments-in-one-convex-app
For the second option, you can check out this section in the docs about hooking up production:
- https://github.com/get-convex/launchdarkly?tab=readme-ov-file#production
16 replies
CCConvex Community
•Created by noob saibot on 12/6/2024 in #support-community
Help needed: Integrate Launchdarkly with Convex Dev
Great question! Do you want multiple launchdarkly environment in one convex deployment, or do you want to hook up each of your Convex deployments to a different launchdarkly environment?
16 replies
CCConvex Community
•Created by anmot. on 12/11/2024 in #support-community
Edit Panel displays previously selected document instead of current Selection
A fix went out for this today! Thanks for the report
3 replies
CCConvex Community
•Created by noob saibot on 12/6/2024 in #support-community
Help needed: Integrate Launchdarkly with Convex Dev
Hiya, it should be fixed now. Could you try again and let me know?
16 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
New version shipped
29 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
ah lol, i thought you meant for the file directory! yeah we can do that there too, stay tuned
29 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
@RJ it's out
29 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
hehe yeah this looks cool but i'd personally lean towards something simpler / more easily explainable. no strong preference. Anyway, RJ, apologies for nerding out in here. One of us will likely ship this feature request this week 🙂
29 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
Hmm, what's the difference between the two tom? Also I just remembered we also match on the source code of functions. I wonder if we should just remove that functionality because it's not super standard and we probably search entire modules which means false positives
29 replies
CCConvex Community
•Created by RJ on 12/9/2024 in #support-community
Fuzzy search for function names in functions panel
ha, i thought the
fuzzy
package would implement edit-distance or something, but it's looping through strings comparing each character, adding matches. makes sense too and is simpler https://github.com/mattyork/fuzzy/blob/master/lib/fuzzy.js#L57-L7029 replies