-
Notifications
You must be signed in to change notification settings - Fork 11
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
Revert iTwinUI v3 #114
Revert iTwinUI v3 #114
Conversation
packages/modules/create-imodel/src/components/base-imodel/BaseIModel.tsx
Show resolved
Hide resolved
@Pooja17-bentley, @anirban-chakraborty-bentley, @SorexBentley, @DanishMehmood-bit, @aruniverse, @manwadkaraksh, @kckst8 With this PR we are looking at reverting the changes we introduced last week with iTwinUI V3, the main reason being the theme not being synched between V2 and V3, an upcoming minor to iTwinUI V3 should fix this, but we have pending PRs and upcoming requests that will make this a bit difficult for the time being to stay on V3, on top of the missed Breaking change I tries to address in #113. The plan short term is to release this as a patch, if you already added the styles to your application, it will not be a problem because it will not impact these packages, and you will be ready for the next version, which will be a Major, when the few issues are adressed by iTwinUI V3. I cant reach out to everyone, but you are the latest ones that contributed or reached out directly to me with these changes. |
common/changes/@itwin/manage-versions-react/vyki-revert-iui-update_2023-12-13-13-05.json
Outdated
Show resolved
Hide resolved
do we have an eta for this? |
…date_2023-12-13-13-05.json Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
The PR is already merged, I don't know what is iTwinUI release schedule. |
3.1.0 was released just now! Try it out and let us know if the theme inheritance works like you'd expect. Do you still want to revert to v2 or is this PR no longer necessary? Could just merge #112 and #113 instead and make a patch release. |
worked for me in my test app |
@aruniverse Can you confirm that you dont see that weird light theme flicker that I get in Storybook ? chrome_l3ScrXVW33.mp4 |
Confirm, Screen.Recording.2023-12-13.at.3.15.05.PM.mov |
you can play with it here, https://viewer.itwin.dev/, see 3.0.x deployed here |
@raplemie Now that we have 3.1.0 are we still planning to proceed with this PR? |
But if I understand correctly, we are not running away from the need of importing |
I have tried with new itwinui-react v3.1.0 and importing styles in application using alias to v3 version but still getting below issues for manage-version package: |
Given the visual changes, we'll move on with this and then release a proper Major update, with 3.1.0 already fixing the theming, it is just a question of reacting to different changes, but there is still the styles.css import which is a breaking change and shouldnt have made it in a minor, I also noticed that we were using deprecated stuff in the UploadImage component, so we'll take some time to fix those correctly and release the Major then. Some of the people that already updated noticed it, but we still have a lot of usage using the previous minor so not everyone have hit this issue yet, for those, we should make it clear and not continue on our mistake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with this, we will move back to iTwinUI V3 soon to help adoption with a clear Major and documentation.
Changed version of iTwinUI to v2. Some major changes reverted, some kept.
Checked storybook, looked OK.
For manage-versions package made changes as
none
, thought #112 would be the one getting the patch.. But probably should make 2 separate releases anyway ?