Skip to content
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

Update Jewel to Latest Version (0.24.2) #976

Merged
merged 10 commits into from
Sep 23, 2024
Merged

Update Jewel to Latest Version (0.24.2) #976

merged 10 commits into from
Sep 23, 2024

Conversation

kateliu20
Copy link
Contributor

@kateliu20 kateliu20 commented Sep 23, 2024

Referencing #937 which was reverted due to not upgrading to IJ platform 2.0.1 yet, but now is done here: #973.

@kateliu20 kateliu20 marked this pull request as ready for review September 23, 2024 18:24
gradle/libs.versions.toml Outdated Show resolved Hide resolved
gradle/libs.versions.toml Outdated Show resolved Hide resolved
@kateliu20 kateliu20 changed the title Update Jewel to 0.23.0 Update Jewel to Latest Version (0.24.2) Sep 23, 2024
@@ -28,7 +28,7 @@ import org.jetbrains.compose.resources.decodeToSvgPainter

// Migration snippet copied from https://github.com/JetBrains/compose-multiplatform-core/pull/1457
// To resolve deprecated painterResource function from upgrading compose-jb
class PainterResource {
object PainterResource {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need to be an object vs top-level functions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah it doesn't need to be top-level. I wrapped it in the class originally because I was afraid it would call the deprecated painterResource function, but since I removed the import it should be good. I think I should remove the object :
d432093

Copy link
Collaborator

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before you merge let's do a quick sanity test running the plugin in studio and runIde works, just since we got burned before 👍

@kateliu20
Copy link
Contributor Author

Before you merge let's do a quick sanity test running the plugin in studio and runIde works, just since we got burned before 👍

Yeah I checked that already! Definitely didn't want a repeat. I will continue to make adjustments to the UI independently and after talking with designers.
Screenshot 2024-09-23 at 5 48 34 PM

@kateliu20 kateliu20 added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit 5c45f7b Sep 23, 2024
3 checks passed
@kateliu20 kateliu20 deleted the kl_upgrade_jewel branch September 23, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants