-
Notifications
You must be signed in to change notification settings - Fork 1
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
moderate comments UI #25
Conversation
Yay thanks!
|
I can review this, but you're also welcome to stub out a PR to add our forked codebase, and we can start putting stories there. We can either (1) leave it mostly empty except when mounting our stories that differ significantly (due to our changes, (b) import/export the same stories from other codebases, so we have a full set, and no code duplicates of stories Thoughts? |
I believe we're almost at break point, where (old) packages start to clash with each other. Namely, 2 components are clashing hard:
|
I'd suggest merging all the patches for storybook (if reasonable) into polis, since they are modernizing the components anyways. |
I love your optimism, but my preference is to always wait and never get ahead of the upstream project (again, this is ONLY for the We can create our own git submodule and do pretty much whatever we'd like, which I'm suggesting we do :) Reviewing this PR now tho! |
Yay! Ok, added some extra commits to get this ready! Thanks for starting on it! the error wasn't due to redux versions, but because the data being passed to the store as initialState was incorrect (arrays instead of objects). I redid the withRedux decorator to allow passing in arbitarry state in stories via storybook parameter, and fixed the issue I also downgrade redux to match the very in client-admin in
As far as I can tell, there is still no need to update the submodule to |
Ok, so that error is because imports from the whole d3 project have been added in our fork. If that's fixed to pull directly from sub-packages, the issue will go away. See here for how that can be done: polis-storybook/.storybook/preview.js Lines 10 to 21 in 444a060
(but you're just do it for I'm going to revert to |
To clarify, I don't think any of the challenges here had anything to do with |
Working! yaaaay https://civictechto.github.io/polis-storybook/PR-25/?path=/story/compdem-client-admin-moderatecommentstodo--default Merge at will, or lemme know if you think it need more time! |
I really struggled with the git-in-git management. Thanks for the help! |
Heh yeah, you're not alone: submodules are notorious for making hit workflows confusing...! |
issues:
storybook-prep
branch deviates more and more, making dev effort harder