-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unboxing Blueprint4 video: Upgrading from BP3 -> BP4 and sharing thoughts. #5225
Comments
@vogievetsky thanks for the kind words and sharing your experience working with Blueprint. After spending a lot of time working through this upgrade in our internal code bases, it’s really helpful for me to see how BP4 has landed for dev teams outside of Palantir. There’s often room for improvement in the migration paths for Blueprint upgrades, and you’ve identified some of it here. Here are my findings after reviewing your unboxing video:
Thanks again for the feedback, and keep it coming please! 👍🏽 |
Yeah, I'm pretty sure
Ah, great tip, thank you! We will adopt those and include that in the BP5 video 😉 |
Writing on behalf of myself and the Apache Druid project, I just wanted to say THANK YOU to the blueprint team for the excellent library and all the love y'all pour into it.
Recently @jgoz and I upgraded the Blueprint version used by the Druid web console from 3 to 4 and recorded the experience, along with fun memories from the early days of using Blueprint.
We decided to do it sort of like an "unboxing video" that we would do whenever version 4 was released and it happened to coincide with the anniversary of the time we updated Druid to use BP3 which was cool.
The upgrade itself went smoothly thanks to all the work that was put into version 3 to add depreciation messages and such. I was afraid that the video is going to be totally boring until we ran into one little issue concerning the color overrides (the Druid console overrides the BP colors). The issue we encountered was that
./node_modules/@blueprintjs/core/src/common/_mixins.scss
imports color definitions from the "lib" folder in@blueprintjs/colors
but we need to import it from the "src" folder. The "src" version includes!default
in variable definitions, which allows us to override color variables, but the "lib" version does not.You can see us struggle with this in the video or look at the diff in
webpack.config.js
to see how we solved it. I am not sure what to make of it... is it a bug or are we stepping outside of the bounds of how BP should be used? In any-case we had a great time and maybe this video can help guide someone else in a similar position.Thank you again for BP4, I heartily look forward to making another video of us upgrading to BP5 when it is time!
The text was updated successfully, but these errors were encountered: