Refine

R

Refine

Join the community to ask questions about Refine and get answers from other members.

Join

ask-any-question

discussions

plain-purple
plain-purple3/19/2024

Hi! Can somebody help with one thing

Hi! Can somebody help with one thing that I couldn't resolve with kapa? In my app I have an accessControlProvider, and it works fine with all the resources and actions. The problem is with the routes that are not asociated with a resource or with an action that is not in the default list, for example I have created a custom route, that has nothing to do with any resource, and when I access to this route, my can function is executed with undefined resource and empty action. How can I to avoid to run the can function in this case? or how can I receive the correct action or resource? right now I edited my can function to return {can: true} if the action is not in ["list", "create", "edit", "show", "delete"] but I think that is not the best behavior. Thanks!...
conscious-sapphire
conscious-sapphire3/18/2024

Hey, how do you run cypress tests in

Hey, how do you run cypress tests in refine/examples? When I try to run cypress in any example, I get same error as in issue https://github.com/cypress-io/cypress/issues/8599. I managed to solve it by: 1. exporting refine/cypress/support/e2e.ts 2. creating fixCypress.ts in refine/examples/specific-example and importing mentioned export...
foreign-sapphire
foreign-sapphire3/13/2024

Hello! I'm trying to be a good Refine

Hello! I'm trying to be a good Refine citizen and go through the proper channels. I had a refine-specific question and asked in the ask-any-question channel, but the bot was unable to resolve my issue. Is there a respectable way to try and escalate a question to a real person? I see the questions channel was archived.
deep-jade
deep-jade3/10/2024

Button click not working

Hello All, I have a form that suddenly doesn' t work I have been upgrading the project to 4 and am pretty sure it was working after a upgrade for a while. Clicking the button doesn't do anything at all.
```jsx return (...
constant-blue
constant-blue3/8/2024

Hey, Im new to web development, im

Hey, Im new to web development, im trying to connect refine app crm with mongo db? Is it possible?
genetic-orange
genetic-orange3/8/2024

Hi all, I’m hoping someone can help me

Hi all, I’m hoping someone can help me wrap my head around issues with API keys and environment variables in refine. Is it possible to avoid using environment variables that aren’t exposed to the browser (I.e., NEXTPUBLIC). Sorry I looked all around but couldn’t find an answer on how to secure my Airtable provider keys in refine😓
genetic-orange
genetic-orange3/6/2024

I am able to do this with **useEffect

I am able to do this with useEffect, but every hot reload breaks the state. Not sure why. A solution is to abuse the successNotification callback and call setData there. Am I overlooking a simpler and better way to do this?...
genetic-orange
genetic-orange3/6/2024

With **useList**, why was **onSuccess**

With useList, why was onSuccess deprecated?
ratty-blush
ratty-blush3/1/2024

Hey, general questions about the dev

Hey, general questions about the dev tools. Why does it require a github or google login. I am using refine in an enterprise setting and wondering is any active data from the app sent anywhere externally when running the dev tools?...
jolly-crimson
jolly-crimson2/28/2024

Hi, I need guidance for making dashboard

Hi, I need guidance for making dashboard in next js I want to use custom auth(REST), headlesss ui to style as per design requirement I know refine using react query which is great - I find refine AuthPage component has many built in component like LoginPage, ForgetPasswordPge, RegisterPage etc...
complex-teal
complex-teal2/27/2024

It's not validation I need - it's a data

It's not validation I need - it's a data condition. Basically, before submitting I need the logic to go grab a value from a different data source (or create it if it doesn't exist there) and then append it onto the form data. At this point I'm deep into a custom method but would still be interested in a solution if someone has one for future reference...
continuing-cyan
continuing-cyan2/27/2024

I am on a project with refine core 4.5.8

I am on a project with refine core 4.5.8, can I safely update to the recent version? Can't find a changelog either. Are there breaking changes?
continuing-cyan
continuing-cyan2/27/2024

what for is refine devtools, how do i

what for is refine devtools, how do i activate it, where is the documentation for it?
flat-fuchsia
flat-fuchsia2/13/2024

I would create a message in #ask-any-

I would create a message in #ask-any-question but I don't know if this would fit there... It takes a while to navigate. It's a very consistent while, so it almost feels artificial. Is there an artificial timer when navigation?
continuing-cyan
continuing-cyan2/11/2024

hi! im new here, is there a way to

hi! im new here, is there a way to initialize a next.js project with app route using create-refine -app ?
other-emerald
other-emerald2/11/2024

Is it possible to debug the check

Is it possible to debug the check function inside the authProvider, since for whatever reason that fails but using both normal devtools and refine devtools I cannot seem to figure out why it fails
xenial-black
xenial-black2/9/2024

Hi, I am building the React Admin

Hi, I am building the React Admin Dashboard, and the nested Routes are not working. The EditButton does not open a new route of http://localhost:5173/companies/edit/1 and http://localhost:5173/task shows an error of No routes matched location "/task" . Am I missing something?
quickest-silver
quickest-silver2/9/2024

Hi, I have tried your minimal CRM ap.

Hi, I have tried your minimal CRM ap. But I would like to see the APIs in the backend and how data is saved. Is there anyway to access the backend code for that?
other-emerald
other-emerald2/9/2024

Hi Everyone.

Hi Everyone. I am building some CRUD pages in our product and found Refine to be a great fit for our case. With that, I am having an issue - I am using @refinedev/graphql provider, and can't figure out how to make pagination work. My list query returns an array of entities, and I don't see a way to add count variable....
xenial-black
xenial-black2/7/2024

I am having trouble signing into the

I am having trouble signing into the refine devtools. No matter if I sign in with GitHub or with Google, all I get is an invalid-seesion-token error