Documentation does not match to project structure generated through browser
I have started with a project generated in the browser and wanted to start adding a custom data provider, but throughout different steps I have noticed that the project structure does not match to the documentation. For example, after downloading the project, I followed the recommendation of checking out the tutorial on the data provider from here: https://refine.dev/tutorial/essentials/data-fetching/fetching-data/ but the project structure in that project is different from the generated one, so it is not clear where I should make changes.
As a newbie to Refine I think it would be easier, to have a tutorial, that starts where a new user starts i.e. the generated project.
Right now, I did not understand whether I should implement the data provider in a new file in src/providers/data-provider.ts which is the file I should create according to the tutorial, or if I should adapt the code already present in the generated project in src/providers/data-provider/index.ts...
Can the Access Control access refine hooks
Can the Access Control access refine hooks. Or specifically a data provider i am using that uses refine hooks to gather certain configuration data.
Use modalForm Validation with custom submit
I want my custom submit to still check the built in vlaidation provided with the modalForm settings
` const {
getInputProps,
saveButtonProps,...
Nested update in Hasura
I want to implement below mutation
```mutation UpdateHelpCategoryWithMetadata($id: uuid!, $help_category: help_categories_set_input!, $metadata: [help_categories_metadata_insert_input!]!) {
update_help_categories_by_pk(pk_columns: {id: $id}, _set: $help_category) {
id...
refine-update-notifier-nodejs folder
Hi everyone! I'm Lucas, a backend developer who is dealing with a backoffice card in the job. I'm very beginner with Refine but experinced with react and next. I'm facing an issue when I try to deploy the development I did, when I see the logs from the pods (kubernetes) when the app its starting (with refine start --port 8080) it seems like the start process try to create a folder with the path pathToApp/.config/refine-update-notifier-nodejs, it fails because the permissions of the FS which are setted to readonly.
Can anyone tell me what this folder is for? there is a way to disable that folder creation?
thanks in advance for any answer you can gave me...
Error with using a custom db select
import React from 'react';
import { Edit, useForm, useSelect } from "@refinedev/mantine";
import { Select, TextInput } from "@mantine/core";
import { IApp, ICategory } from '../../../interfaces';
...
AxiosError
I have this problem and I don't know why. This says "Axios Error code 400" when I try to sign in.
Custom Edit Page not finding id
Trying to use this format to recognise the resource and id to edit
<Edit resource='apps' recordItemId={id}
Not working. URL with id
...Server Validation only pickups the message but not each error
I'm using the simple rest data provider and I want to do server validation on create/update, but the errors are not shown in the form, just a generic "There was an error creating device (status code: 400)" the message sent from the server is there in the notification but the fields are not marked as error. this is the response I'm sending when validation fails on the server.
```{
"message": "algo fallo",
"statusCode": 400,...
RTL with themedLayoutV2 Sidebar
For some reason I can’t render the sidebar to write UI tests
```
const RemixStub = createRemixStub([
{...
Refine projects
Hi,
i just discover Refine, and i really want to use it to make my dashboard, but i already a "vanilla" dashboard with only a different route in my client(front) vite app.
If i start a Refine dashboard, how can i plug it to my client in order to only have 2 node server running instead of 3 (backend, dashboard and front)...
Set modal as full screen
With this component I need to set modal as full screen.
```
import React, { useState, useCallback, useMemo, useEffect } from 'react';
import { Modal, Col, Row } from 'antd';
export const MapperCardModal: React.FC<MapperCardModalProps> = ({ isOpen, onCancel, onAccept, comparisonType, record }) => {...
Can I extract meta values to put in the notififications lookup
"notifications": {
"success": "Successful",
"error": "Error (status code: {{statusCode}})",
"undoable": "You have {{seconds}} seconds to undo",
"createSuccess": "Successfully created {{resource}}",...
rest-data-provider error response
Axios instance not extracting error response message automaticlaly
import { HttpError } from "@refinedev/core";
import axios from "axios";
const axiosInstance = axios.create();...
How to get sum of relationship array item
I want to add a field to my table, but one column is sum all data from a relationship, how to do it
Trigger function when form loading is complete
Is there a way to have a custom function fire once a form has finished loading? Specifically for the ant design hook of useForm?
Redirect to show page onClick of list item
How can I redirect to the show page of the specific item that is being clicked in the List UI