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

New gallery UI implementation #56

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open

New gallery UI implementation #56

wants to merge 36 commits into from

Conversation

eymar
Copy link
Collaborator

@eymar eymar commented Apr 2, 2025

Highlights:

  • Added a new module "gallery-demo" to see and test the changes without full publication. It doesn't use the storytale gradle plugin. It can be run using ./gradlew :gallery-demo:wasmJsBrowserDevelopmentRun
  • web-specific configuration in the gradle plugin is not compatible with Kotlin 2.1.20 - I left a TODO for now. It won't work for now.
Screenshot 2025-04-02 at 12 07 42

@@ -30,8 +30,14 @@ dependencyResolutionManagement {
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added for hot-reload on jvm/deskop: https://github.com/JetBrains/compose-hot-reload

@@ -106,7 +106,8 @@ fun Project.createWasmAndJsStorytaleExecTask(compilation: KotlinJsIrCompilation)
val compilationTarget = compilation.target as KotlinJsIrTarget

afterEvaluate {
compilationTarget.browser.configureBuild(compilation)
compilationTarget.browser.configureRun(compilation)
// TODO: fix compatibility with Kotlin 2.1.20
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc: @JSMonk (I didn't find a good solution yet). The APIs were removed here JetBrains/kotlin@08ac97bd#diff-f77064ff81d3086eaa8418647a07fddf1b0b4ade938ef48119ee635f686b37f9

@eymar eymar requested a review from JSMonk April 2, 2025 12:06
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