stormy-gold
stormy-goldโ€ข2y ago

[FEAT]: Provide a way to tweak navigatio...

Hello! Will someone help me out on running the example? I'm not sure what command will I have to use to start the examples. I'm working on this issue - https://github.com/refinedev/refine/issues/4310 Ran following commands so far!
npm run bootstrap:all - Worked Fine
npm run build:all - Worked Fine
npm run bootstrap -- --scope examples/base-material-ui - Failed because of "lerna ERR! EFILTER No packages remain after filtering [ 'examples/base-material-ui', '!{monorepo-*,with-nx}' ]"

Then I ran following command to start development
npm run start -- --scope @refinedev/core --scope @refinedev/antd --scope @refinedev/mui --scope @refinedev/chakra-ui --scope @refinedev/mantine - Worked fine!
npm run bootstrap:all - Worked Fine
npm run build:all - Worked Fine
npm run bootstrap -- --scope examples/base-material-ui - Failed because of "lerna ERR! EFILTER No packages remain after filtering [ 'examples/base-material-ui', '!{monorepo-*,with-nx}' ]"

Then I ran following command to start development
npm run start -- --scope @refinedev/core --scope @refinedev/antd --scope @refinedev/mui --scope @refinedev/chakra-ui --scope @refinedev/mantine - Worked fine!
Now which command shall I run to start examples/base-material-ui Also, let me know if I need to post this somewhere else ๐Ÿ˜…
GitHub
[FEAT]: Provide a way to tweak navigation for resources ยท Issue #43...
Is your feature request related to a problem? Please describe. It would be good if we can forcefully render on Resource click. For example, I'm working on a big-scale ERP-like software and I...
8 Replies
kapa.ai
kapa.aiโ€ข2y ago
Hi @mr.0nline. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: Sorry @mr.0nline, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist: Perhaps try again in 15mins?
extended-salmon
extended-salmonโ€ข2y ago
Edit - I updated the command to following npm run start -- --scope @refinedev/core --scope @refinedev/antd --scope @refinedev/mui --scope @refinedev/chakra-ui --scope @refinedev/mantine --scope examples/base-material-ui Where can I test my local changes ! @aliemirs, Sorry for the ping but thought you might guide me ๐Ÿ˜…
national-gold
national-goldโ€ข2y ago
Hello @mr.0nline you can start one of the examples as you start @refinedev/xxx packages. Navigate to example's package json and you can use it's name to start the example. For example for base-antd, command would be: npm run start -- --scope base-antd You can also use degit package to download an example: npx degit git@github.com:refinedev/refine.git/examples/base-antd base-antd
national-gold
national-goldโ€ข2y ago
Contributing | refine
We follow a code of conduct when participating in the community. Please read it before you make any contributions.
extended-salmon
extended-salmonโ€ข2y ago
Got it! The issue was in the bootstrap command where I used example/base-material-ui instead of base-material-ui ๐Ÿคž
extended-salmon
extended-salmonโ€ข2y ago
@batuhanw I've did the changes and it seems to work fine! Since I've updated props, I'm hoping that I'll need to update the docs as well! Is there any automated way to generate documentations based on interfaces changes? If not, I've updated RefineThemedLayoutV2SiderProps from ui-types package. In which places shall I update documentations to finish the feature ๐Ÿค”
No description
extended-salmon
extended-salmonโ€ข2y ago
Shall I just add activeItemDisabled below meta in all 4 package's documentations?
No description
extended-salmon
extended-salmonโ€ข2y ago
Due to timely manner, I've updated all 4 package's docs and PR can be found https://github.com/refinedev/refine/pull/4502. Let me know if there are any changes required ๐Ÿคž
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.

Did you find this page helpful?