-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Unable to highlight non-CRUD page on menu item #5872
Comments
Hey @linkscope, thank you for opening an issue here! I think I understand the issue but would love to have some details on what you want this feature to look like. As a workaround, I think you can define your secondary resource like below:
This will make this page available in the menu, but We have If you swizzle the Let me list what we can do and maybe we can plan this for our next releases:
For now, about the Let us know if the features/fixes I've listed above works for you 🚀 |
@aliemir Thanks for the detailed answer! I'll try to so if the change fixes the issue, in the same time I also hope that this Also I'd like to be able to do this simply by configuring it entirely in const resources = [
{
name: 'member',
list: '/member',
edit: '/member/edit/:id',
create: '/member/create',
recharge: '/member/recharge/:id' // non-CURD page
}
] |
@linkscope, I just want to have your opinion and feedback on this; what do you expect by defining a custom route in your resource definitions (in this case |
@aliemir Thanks for your patience in listening! I would expect custom routes (in this case |
Is your feature request related to a problem? Please describe.
Hi, I'm having a confusing time on how to highlight non-CURD pages to the left menu items and display the breadcrumb navigation properly?
I now have a usage scenario: there is an order placing function in the member module that is not part of the member's CURD, and this order placing function only requires a create page.
Currently my needs are that I want to highlight this page to the Member menu in the left menu item, and I want that new page to be consistent with the breadcrumb navigation like the one that creates the member, and since I need the member's ID, maybe I should just need an edit page?
Is it now possible to fix the issue in the resources config item? I asked Refine Docs AI and didn't find a solution, if there is a solution please let me know, my code is similar to this:
Thanks, team
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
Ability to implement non-CURD page highlighting in resources configuration, and to do so in a way that is consistent with the breadcrumb navigation of Create, Edit pages.
The text was updated successfully, but these errors were encountered: