How to make resource icons more flexible?
Hi there, I'm creating something like a CRM using Refine with Next.js and a Headless UI framework (I'm using Shadcn), so, I already have my resource items like this:
```
import { IResourceItem } from "@refinedev/core";
import { Building2, Home } from "lucide-react";
...
Redirection only works in optimistic mode
I am using next js, ant ui, and supabase. The redirection after submission using the useForm hook only works in optimistic mutation mode, no error is given
onMutateSuccess in useForms hook not calling after successful create/edit call
I was trying to figure out why my redirects aren't working after submitting. After a bit of diving, i figured that even after a successful create/edit action, the onMutateSuccess hook doesn't actually gets called by the form, hence no redircting. However, the notification does show successful call. I wonder if anyone have experienced something like this before? btw I am using ANT ui , next, and supabase.
best!...
is there a way to add a custom name in login default values or we need custom component
import { AuthPage } from "@refinedev/mui";
import { CustomLogo } from "./CustomLogo";
export const Login = () => {
return (...
Dropdown with EditButton, ShowButton and DeleteButton
How to dispaly multiple buttons with <CanAccess> for each table row
Cannot update password using supabase auth
Here is my repo: https://github.com/ThomasBurgess2000/budget
I created it using the supabase default project for NextJS.
Whenever I tried to reset the password, I get a reset link sent to my email, but whenever I go to that link it just takes me to the login page. I thought it was supposed to log me in and take me to an update password page. ...
how to extend Table.Column as different component
I want to extend some common column like, updated at, serial number etc
How can I check authorization in React Server Actions using NextJS?
I am using React Server Actions where I need to verify the identity of the currently authenticated user. How can I access this server side, since hooks are not available in React Server Actions and the Auth Provider seems to be client side?
top level resources defining custom meta data value
on the top level resources defining custom meta data value will this make its wasy down to the data provider i am wanting to keep the resource name simple but passing resourceRoute
{
name: "bankAccounts",
show: "/accountsAndWallets/bankAccounts/show/:id",...
useApiUrl breaking code
import { getValueFromEvent, useModalForm, useSelect } from "@refinedev/antd";
import { useApiUrl, useGo } from "@refinedev/core";
import { Form, Modal, Input, Divider, Upload } from "antd";
import { supabaseClient } from "../../utility";
...
Useselect Disable Api call When Changes
<Select
showSearch={false} style={{ width: 150 }} placeholder="Firms"...
showSearch={false} style={{ width: 150 }} placeholder="Firms"...
[useUpdate]: `id` is not defined but is required in edit and clone actions
@kapa.ai
when adding uploads to an edit form and submitting, I recieve the error:
[useUpdate]:
id is not defined but is required in edit and clone actions
but id is present in the payload.
what might be the issue here?...crm own graphql endpoint
I want to connect my own graphql endpoint while testing the crm app locally, but I haven't succeeded yet. Is there a tutorial or something for this?
error title
why i follow the Refine AuthPage title to do have the title error of the ` title={
<ThemedTitleV2
title="My Title"
icon={<img src="https://refine.dev/img/logo.png" />}
/>...
error unknow
why i follow the Refine AuthPage title to do have the title error of the <ThemedTitleV2
title="My Title"
icon={<img src="https://refine.dev/img/logo.png" />}
/>...
useMany and REST API
Hello,
I would like to add the logic to my backend to make the useMany hook work.
Here is my Controller:...
Custom delete mutation
Is there a way to specify what mutation is executed when clicking on the DeleteButton. I want to have custom delete logic on the backend.