A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
MIT License
Bot releases are visible (Hide)
Published by refine-bot over 1 year ago
#4629 58cc48b7b8f
Thanks @alicanerdurmaz! - fixed: description
prop does not show up in Mantine notification.
With this fix, you can now use description
prop to show a description in the notification.
import { useNotification } from "@refinedev/core";
const { open } = useNotification();
open?.({
description: "This is a description",
message: "This is a message",
type: "progress",
});
Published by refine-bot over 1 year ago
#4626 03597ed8a9a
Thanks @aliemir! - Fixed the action types for predefined kbar actions per resource.
#4626 03597ed8a9a
Thanks @aliemir! - Updated the kbar
package to latest version and updated the re-exports of the package.
Published by refine-bot over 1 year ago
#4634 5de50a6af75
Thanks @aliemir! - Added an additional info log and a link to the documentation into the inferencer components after relation requests are made.
Updated dependencies [03597ed8a9a
]:
Published by refine-bot over 1 year ago
03597ed8a9a
Thanks @aliemir! - Added resource
sanitization to the useCanWithoutCache
hook to avoid cyclic value errors.Published by refine-bot over 1 year ago
c9fecca3c33
Thanks @omeraplak! - chore: add refine cloud early access messagePublished by refine-bot over 1 year ago
c9fecca3c33
Thanks @omeraplak! - chore: add refine cloud early access messagePublished by refine-bot over 1 year ago
c7872ca621f
Thanks @Mr0nline! - feat: added tests for <ThemedSiderV2/>
's activeItemDisabled
prop.activeItemDisabled
prop is trye
, the active item will be disabled and not clickable.c3c0deed564
, 8c2b3be35b0
, 5bb6f47a4d4
, c7872ca621f
]:
Published by refine-bot over 1 year ago
#4502 c7872ca621f
Thanks @Mr0nline! - feat: ability to tweak active sider items navigation
Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
#4607 fed630dcc3e
Thanks @alicanerdurmaz! - test: added tests for <ThemedSiderV2/>
.
Updated dependencies [c7872ca621f
]:
Published by refine-bot over 1 year ago
#4502 c7872ca621f
Thanks @Mr0nline! - feat: ability to tweak active sider items navigation
Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
c3c0deed564
, 8c2b3be35b0
, 5bb6f47a4d4
]:
Published by refine-bot over 1 year ago
#4589 11241b16000
Thanks @yildirayunlu! - fix: getList
without pagination response
Without the limit
and offset
parameters in the nestjsx/crud
library, the result is without paging. However, it was always expected to be paginated in the data provider. It now supports both situations.
Published by refine-bot over 1 year ago
#4502 c7872ca621f
Thanks @Mr0nline! - feat: ability to tweak active sider items navigation
Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
c7872ca621f
]:
Published by refine-bot over 1 year ago
#4502 c7872ca621f
Thanks @Mr0nline! - feat: ability to tweak active sider items navigation
Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
#4607 fed630dcc3e
Thanks @alicanerdurmaz! - test: added tests for <ThemedSiderV2/>
.
#4609 48aaf739352
Thanks @salihozdemir! - fix: icon
and label
alignment in Breadcrumb
component
Fixed the issue that the icon
and label
to be misaligned in the Breadcrumb
component.
Updated dependencies [c7872ca621f
]:
Published by refine-bot over 1 year ago
#4568 8c2b3be35b0
Thanks @salihozdemir! - feat: add the textTransformers
option to <Refine/>
component
The textTransformers
option in refine is used to transform the resource name displayed on the user interface (UI). By default, if you define a resource named posts
, refine will display it as Posts
. Similarly, when you delete a record, notification messages will be shown as Post deleted successfully.
.
You have the flexibility to customize these messages by using the textTransformers
option. For instance, if you wish to disable any transformation, you can set the textTransformers
option as shown in the example below:
const App: React.FC = () => (
<Refine
// ...
options={{
textTransformers: {
humanize: (text) => text,
plural: (text) => text,
singular: (text) => text,
},
}}
/>
);
#4583 c3c0deed564
Thanks @aliemir! - Added the missing resource
property in params
of the useCan
call, which was leading to missing resource details in the access control checks in the can
function.
The provided resource
item is sanitized to remove non-serializable properties such as icon
etc. If you need such items, you should try to access your resource
item directly from your defitinions.
#4599 5bb6f47a4d4
Thanks @aliemir! - Update default document title generation to use the fallback title when i18n
's translate
function returns the key
value.
Published by refine-bot over 1 year ago
#4502 c7872ca621f
Thanks @Mr0nline! - feat: ability to tweak active sider items navigation
Visiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
#4607 fed630dcc3e
Thanks @alicanerdurmaz! - fixed: TSDoc typos.
TSDoc descriptions texts has Mantine instead of Chakra UI.
feat: added ThemedLayoutV2
tests.
#4607 fed630dcc3e
Thanks @alicanerdurmaz! - test: added tests for <ThemedSiderV2/>
.
Updated dependencies [c7872ca621f
]:
Published by refine-bot over 1 year ago
2edadc3a2aa
Thanks @rasitcolakel! - fix: added predefined relationInfer control#4601 090653717d6
Thanks @aliemir! - Updated inferencer functions to check for relational fields with representable values. If the inferencer type is show
or list
, the inferencer will use the available properties to show the field instead of trying to fetch the relational data.
// posts/1
{
id: 1,
name: "Post 1",
tags: [
{
id: 5,
name: "Tag 5"
},
{
id: 6,
name: "Tag 6"
}
],
content: "...",
}
Above structure will show the tags
field in list and show inferencers using the name
property instead of trying to fetch the relational data. But edit
and create
inferencers will still work with the relational data.
Updated dependencies [c3c0deed564
, 8c2b3be35b0
, 5bb6f47a4d4
]:
Published by refine-bot over 1 year ago
#4584 6305f41d2a6
Thanks @IkumaTadokoro! - fix: issue with #4574
We had a problem when using Hasura Provider with grapqhql-convention where it causes could not retrieve some response issue to happen, now it's fixed.
Published by refine-bot over 1 year ago
#4530 a90f14301c3
Thanks @hbtecRJE! - fix(graphql): issue with graphql liveprovider subscription query
For the graphql subscription, 'query' was used instead of 'subscription'.
Published by refine-bot over 1 year ago
#4576 9a895ea39dc
Thanks @alicanerdurmaz! - fixed: handleSubmitReactHookForm
now returns a Promise without awaiting it.
With this change, unhandled errors will propagate to the caller.
#4527 ceadcd29fc9
Thanks @salihozdemir! - fix: prioritization of forgotten identifier
If identifier
is provided, it will be used instead of name
.
import { useModalForm } from "@refinedev/react-hook-form";
useModalForm({
refineCoreProps: {
resource: "identifier-value",
},
});
fix: use translate keys with identifier
Previously, the translate keys were generated using resource name
. This caused issues when you had multiple resource
usage with the same name. Now the translate
keys are generated using identifier
if it's present.
Published by refine-bot over 1 year ago
#4550 74468063d31
Thanks @aliemir! - Updated layout header tests to fallback to img
in case of presentation
role is not present.c
Updated dependencies [18d446b1069
, ceadcd29fc9
, 18d446b1069
]:
Published by refine-bot over 1 year ago
#4523 18d446b1069
Thanks @yildirayunlu! - feat: implement following hooks have useLoadingOvertime
hook
#4557 781050e56a4
Thanks @yildirayunlu! - fix: Button
text color on RefineThemes
#4527 ceadcd29fc9
Thanks @salihozdemir! - fix: prioritization of forgotten identifier
If identifier
is provided, it will be used instead of name
.
import { DeleteButton } from "@refinedev/mui";
<DeleteButton resource="identifier-value" recordItemId="123" />;
fix: use translate keys with identifier
Previously, the translate keys were generated using resource name
. This caused issues when you had multiple resource
usage with the same name. Now the translate
keys are generated using identifier
if it's present.
Updated dependencies [9a895ea39dc
, ceadcd29fc9
]: