Skip to content

Let plugins define declarative UI pages - #22

Open
matteomekhail wants to merge 37 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-4-plugin-defined-ui
Open

Let plugins define declarative UI pages#22
matteomekhail wants to merge 37 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-4-plugin-defined-ui

Conversation

@matteomekhail

Copy link
Copy Markdown

Summary

  • add a serializable PluginUiPage contract to plugin manifests
  • let plugins group and describe capabilities without linking against Compose
  • render declared pages in the host when no capability is selected
  • ignore stale/unknown capability references safely
  • document and test manifest round-trip compatibility

Test

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :plugin-api:jvmTest --tests org.wip.plugintoolkit.api.PluginUiPageTest :composeApp:compileKotlinJvm

Closes #4

…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginSettingsContent.kt
…-4-plugin-defined-ui

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/logic/PluginLifecycleManager.kt
…issue-4-plugin-defined-ui"

This reverts commit f8a237d, reversing
changes made to 774280b.
…issue-4-plugin-defined-ui"

This reverts commit 774280b, reversing
changes made to c38bb10.
…efined-ui

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
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.

1 participant