flat-fuchsia
flat-fuchsia14mo ago

Is is possible to customize the appearance of RefineKbar?

Right now I have several similar named resources that are split up by their respective dataProviderNames. In that regard, RefineKbar does not provide the "dataProviderName" to separate these resources by another. What's the best way to separate these resources or at least show their dataProvider inside of RefineKbar?
8 Replies
kapa.ai
kapa.ai14mo ago
Hi @bastianwegge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Refine documentation for more information on how to work with data providers and resources: - Refine Data Provider (https://refine.dev/docs/api-reference/core/providers/data-provider) - Refine Config (https://refine.dev/docs/api-reference/core/components/refine-config) These resources might help you find a solution to your problem. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai14mo ago
<@317433576721219584> kapa.ai is still learning and improving, please let us how it did by reacting below
rival-black
rival-black14mo ago
RefineKbar has laks of customization. Unfortunately, the only way to do this right now is to copy and modify the source code. But i believe it's a good feature. you can open feature request if you want
flat-fuchsia
flat-fuchsia14mo ago
Are you open to pull-requests in that regard? (and thanks for the immediate answer again @alicanerdurmaz 🙏 )
rival-black
rival-black14mo ago
I don't know when we can add this feature. Our backlog is already full :/ I just took a quick look to RefineKbar component. KBAR may need to be overhauled. it should be more customizable thats sure
flat-fuchsia
flat-fuchsia14mo ago
I've created a Feature Request here: https://github.com/refinedev/refine/issues/4567
GitHub
[FEAT] Customization of RefineKbar · Issue #4567 · refinedev/refine
Is your feature request related to a problem? Please describe. Currently it's possible to have resources with the same name but different identifiers. We are using this to differentiate between...
flat-fuchsia
flat-fuchsia14mo ago
I'm gonna write the solution myself then I guess and keep you posted. In any ways: Thanks again for your help and the transparency!
rival-black
rival-black14mo ago
thank you for helping to improve refine 🚀