Hi everyone!
I'm working on two plugins for cockpit. There is a React component that I need for both of my plugins, and we are concerned about having to maintain this component in two separate repositories. Has anyone else encountered this problem, and how did they deal with it? Any suggestions? Is providing it like base1 is provided possible/recommended?
The common component is called wizard, and both components pass it step components as children.
Thanks,
Rohan CJ
On Mon, Jul 23, 2018 at 12:21 PM, Rohan Joseph rojoseph@redhat.com wrote:
Hi everyone!
I'm working on two plugins for cockpit. There is a React component that I need for both of my plugins, and we are concerned about having to maintain this component in two separate repositories. Has anyone else encountered this problem, and how did they deal with it? Any suggestions? Is providing it like base1 is provided possible/recommended?
The common component is called wizard, and both components pass it step components as children.
could you use this wizard from patternfly-react repo? https://rawgit.com/patternfly/patternfly-react/gh-pages/index.html?knob-Acti...
Thanks,
Rohan CJ
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/cockpit- devel@lists.fedorahosted.org/message/7PL2VPYCZRWZALVG3L3RXIOAA2IWJUTW/
On Mon, 2018-07-23 at 15:51 +0530, Rohan Joseph wrote:
Hi everyone!
I'm working on two plugins for cockpit. There is a React component that I need for both of my plugins, and we are concerned about having to maintain this component in two separate repositories. Has anyone else encountered this problem, and how did they deal with it? Any suggestions? Is providing it like base1 is provided possible/recommended?
The common component is called wizard, and both components pass it step components as children.
Thanks,
Rohan CJ _______________________________________________ cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/cockpit-devel@lis ts.fedorahosted.org/message/7PL2VPYCZRWZALVG3L3RXIOAA2IWJUTW/
Sorry for reviving old thread, but I have the same case here. What I do is host the generic components on a library. If you can't open the library like me, use verdaccio as private registry.
https://github.com/verdaccio/verdaccio
Cheers
cockpit-devel@lists.fedorahosted.org