Is the plan for compose 1.2 RC to have stable canv...
# compose-web
s
Is the plan for compose 1.2 RC to have stable canvas based multiplatform (iOS, Android, Web, Desktop) components? Haven't pulled the 1.2 alphas in a couple months but last time i checked saw onWasmReady, etc. How close are we thinking we are to beta?
โž• 8
s
I canโ€™t imagine them releasing it in anything but an alpha state. This is good though. We want to give the community time to provide feedback on integration with native ui components, and provide feedback. Alpha and beta are less about stability, imo, and more about API stability. Weโ€™ve learned over and over that giving time to provide feedback is always the better long term strategy. Look how well compose turned out in general, or how much better the Kotlin release went when compared with Swift.
๐Ÿ‘๐Ÿป 1
๐Ÿ‘ 2
m
Iโ€™d also be interested in a status update on this. I have just uploaded an example project for a talk Iโ€™ll be giving next week which shows buttons, text fields, sliders and does dynamic canvas rendering and runs on JVM, native, iOS and web. (On Android too but not in this setup yet.) https://github.com/mipastgt/JavaForumStuttgartTalk2022/tree/main/PolySpiralMpp Maybe someone is interested to have a look. Nothing special but it should work out of the box when you import the project into the latest IntelliJ and click on one of the links in the readme. (Watch out: Some of the link targets do not properly terminate. Just click the red square.) If you just want to see the web version in action click on this link: https://www.mpmediasoft.de/test/PolySpiralMpp/
๐Ÿ‘€ 1
r
i'm super curious about the progress here too. thanks for posting your sample @Michael Paus
k
Looks like perhaps JB lost interest in pushing this. Maybe I'm misreading it, but it's been pretty quiet for months now.
๐Ÿ’” 2
๐Ÿ‘ 2
๐Ÿ‘๐Ÿป 2
s
It has a lot to do with Russia / Ukraine. JB shut down the Russian office (if I understood correctly), and the project lead for compose jb (@olonho), now has their account deactivated, because he was in Russia. Itโ€™s my understanding that JB still has big plans, and is hiring for this, but they lost some key members of the team, and thatโ€™s noticeably hurting velocity in the short term. Compose is literally the best UI toolkit Iโ€™ve ever used. Itโ€™s not going to be abandoned. Look at all the interest in it!
๐Ÿ’ฏ 9
๐Ÿ™ 6
๐Ÿ‘Œ 7
๐Ÿ™๐Ÿป 1
m
@Kirill Grouchnikov Well, I think they are quite responsive. I just helped to get these examples working again with a JB engineer on Sunday ๐Ÿ˜‰ and the fix was merged today. (https://github.com/JetBrains/compose-jb/pull/2142) There were other issues too which got fixed in the last few days.
๐Ÿ™ 5
๐Ÿ™๐Ÿป 2
I found reading this issue very interesting: https://github.com/JetBrains/compose-jb/issues/2048
d
I have a project in quite advanced stages that was predicated on Compose for Web (Canvas) being fully developed... yes the risk is completely on me if it isn't, but still this would be a sorely missed opportunity. I haven't seen any other technology quite like K Compose Multiplatform (+KMP) and it feels so close to being realised... In 20 years of Dev I can say this one is special, please don't let it die now [JB]! My faith in the current slow-down being just a 'blip' is faltering; it would mean a lot for us to hear a statement that _'things will be slow for a while but this technology still on ou_r _roadmap_'... if indeed that's true. Of course, the people of ๐Ÿ‡บ๐Ÿ‡ฆ Ukraine have worse problems than their favoured UI toolkit not being released; it's important to take a philosophical view about how this situation came to be, and big respect to [JB] for taking the hard steps they have taken... but within our sphere, my highest hope is that [JB] can a way to keep this project going. The bottom line is: If it were a product I would pay for it.
๐Ÿ˜… 1
๐Ÿ’ฏ 5
l
Same. 100% hoping that canvas for web will be ready for use soon alpha releases are pretty stable already, and seem to be evolving at a nice pace
๐Ÿ‘๐Ÿป 1
h
The project has only 4 members now, they closed one of the biggest office due to the war. But still there is a new branch called 1.2-release, they are still highly motivated and I love to help/contribute to push Compose forward. And I think, many of us are open to help or already contribute too! ๐Ÿ™‚
๐Ÿ˜” 1
d
The project has only 4 members now
Where did you learn that? Just curious. Also does that mean 4 members for just Compose for Web or Compose Multiplatform overall? Full support for anyone working on the project but since the war, the picture regarding it's future has been unclear. Perhaps that is internal too.
h
Just look at the latest merge requests and commits, overall
๐Ÿ‘ 2
๐Ÿ‘๐Ÿป 1
๐Ÿ•ต๐Ÿปโ€โ™‚๏ธ 1
๐Ÿ•ต๏ธโ€โ™‚๏ธ 2
p
Is it more stable now? I think the last time I checked a single Text input crashed the whole thing
m
@Paul Woitaschek According to this https://github.com/JetBrains/compose-jb/issues/2048#issuecomment-1165485572 text input should work since 1.2.0-alpha01-dev725.
p
๐Ÿ‘
For now it's only typing text from Mac keyboard and onscreen keyboard in iOS simulator.
Though that reads like web isn't supported
m
Yes, thatโ€™s what I was referring to. TextField output works on web too but I havenโ€™t tried input. Maybe I should ๐Ÿ˜‰
I have just tried it. You can enter text in a TextField in the web version too but it does not yet seem to be possible to edit this text. Positioning the cursor or deleting some previously typed text does not work.
๐Ÿ˜” 2
๐Ÿ™ 2
๐Ÿ™๐Ÿป 1
t
Why did they shut the offices in Russia? What do they get out of this? Ridiculous and stupid virtue signaling. Such a shame that no one here has the guts to call it what it is. This decision should not be praised -- it has caused significant delays with Compose for no reason whatsoever.
๐Ÿ‘Ž๐Ÿป 1
๐Ÿ‘Ž 7
@nschulzke care to explain your dislike? You support hurting average citizens over government choices?
n
https://blog.jetbrains.com/blog/2022/03/11/jetbrains-statement-on-ukraine/
We have already made our position very clear in regard to the invasion of Ukraine. We condemn the attacks of the Russian government, and we stand with the Ukrainian people, including our own colleagues and their families.
I'm not going to get into a flame war, but suffice it to say that I, like JetBrains, stand with Ukraine. ๐Ÿ‡บ๐Ÿ‡ฆ
๐Ÿ‘๐Ÿป 1
๐Ÿ‡บ๐Ÿ‡ฆ 3
๐Ÿ‘Ž 1
๐Ÿ‘ 2
๐Ÿ’ฏ 4
t
Standing with Ukraine doesn't mean boycotting your offices and hurting people who have nothing to do with the war is a good thing. You can support Ukraine whilst also understanding that average Russians have nothing to do with the war and that suspending offices now leaves many Russians that worked for the company without a job. Suspending your sales in Russia also means that average citizens do not have access to your IDEs over government choices. You are sick for even supporting this. It's all fun and games until your country gets boycotted for a stupid decision, and you do not have access to IntelliJ because of your government. Don't rethink your stance on the war -- you are 100% right, I hate the Russian government, just rethink your stance on whether or not it's right to hurt citizens over government choices.
d
@therealbluepandabear Sorry you are caught up in something you don't support; but this may help you understand why many people around the world are deciding to completely distance themselves from Russia. In particular (translated): 77% of respondents speak of their support (including 47% โ€œcertainly supportโ€, and another 30% โ€œrather supportโ€) ...so, it looks like you find yourself in a minority among your countryfolk ๐Ÿ˜ž Any business dealing with Russia ultimately supports the Russian government, that is obvious, so when you say:
Standing with Ukraine doesn't mean boycotting your offices and hurting people who have nothing to do with the war
...I'm afraid it absolutely does in this case.
You are sick for even supporting this.
'Sick'? No, what happened in Bucha, Mariupol and many other towns and cities of Ukraine is sick.
it has caused significant delays with Compose for no reason whatsoever.
You're not the only one inconvenienced by the delays in Compose. I have been as well, but I still support [JB]'s decisions behind the delay. The ability to support decisions that inconvenience you personally is part of having a moral compass. I really think you need to check your perspective.
โž• 3
t
I disagree with you with a passion, but I am not going to start a flame war with people over these issues, especially since this account is tied to my GitHub. I appreciate your perspective, and if it came out as though I was 'attacking' anyone, apologies -- I am most certainly not. The only people who I am attacking is the heads at JB, that's it ๐Ÿ™‚
@darkmoon_uk The fact that you bring up 'you are a minority' just shows your desperation to justify this. Just because a majority of people support something, doesn't mean it's morally right and good -- we've learned that from history, haven't we?
d
I think we agree on that point - maybe I was misinterpreted: I meant that according to polling the majority of Russians appear to support the war. That places you - a non-supporter - in the minority. Clearly I do not think that 'majority view' is morally right in this case. This contributes to why I now feel unable to deal with Russia in any way.
It's most unfortunate that you as a non-supporter get affected by that - it makes you a victim of what is happening as well - but I don't see a way to separate the two.
t
I am against war in general, but it should be noted that I am not from Russia. It's just I know people who are from Russia who are affected by this boycott.
I get what you mean with the polling thing (I misinterpreted it), although I am skeptical of these 'polls' -- due to Russia's large population size, polls are very unreliable. I think most are against the war in Russia, or are simply neutral. At the end of the day, their choice is still hurting many developers... JetBrains should've recognised the fact that there are people in Russia who use their products and are against the war or are neutral. GitHub never closed their site to Russians. What JetBrains did was wholeheartedly wrong. I am done with the herd mentality, I am just sharing my own opinion not influenced by anyone on this channel.
d
Thank you for the opportunity to discuss our opposing view in a civil way, it is not altogether common online. I hope you are right about the inaccuracy of the polls. But there is another level to consider here: I feel sure individual developers were not JetBrains 'target' when ceasing Russian operations, Ultimately, if JetBrains do business in Russia, and pay Russian taxes, that puts them in the position of directly funding a war that they do not agree with. I believe this to be an overriding matter of base morality, life and death, which has to come before others' individual conveniences.
๐Ÿ’ฏ 2
Will have to leave it there for now - have a good day.
p
Yep. And more money means more resources for a war. And in the end, peace is way more important than the development speed of compose.
๐Ÿ’ฏ 4
t
You guys unfortunately have it wrong and are following a phenomenon called 'herd mentality'. You guys are good people, and I think we both want the same thing: but the way you want to go about it is wrong and causes more damage to citizens than necessary. I can see many double standards with JB's choice. This is because I haven't seen JetBrains boycott Saudi Arabia or China for their crimes. China is committing genocide, and Saudi Arabia has invaded Yemen, yet JetBrains operates in Saudi Arabia. So, JetBrains, are you antiwar? If you are antiwar, I'd expect you to stop operating in countries that are fuelling wars other than Ukraine, you know, don't be hypocrites?
s
If you want to talk about double standardsโ€ฆ I canโ€™t talk about Android in the Android Kotlin channel without getting 20 people tell me that my post is โ€œNot Kotlinโ€, and yet this conversation exists. How do I unfollow a thread in Slack?
๐Ÿ˜ถ 1
s
I know how to unfollow a thread in slack ๐Ÿ˜› It was for the humor.