Skip to content

feat: Generate stories from @Preview composables #70

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

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

Conversation

congvc-dev
Copy link
Collaborator

No description provided.

@congvc-dev
Copy link
Collaborator Author

I think we should have an api like @StoryInline, which will inline content of a function at call-site into Story.code, into backlog after this PR merged

@congvc-dev congvc-dev changed the title Generate stories from @Preview composables feat: Generate stories from @Preview composables May 11, 2025
@congvc-dev
Copy link
Collaborator Author

this PR depends on #71

@congvc-dev congvc-dev marked this pull request as ready for review May 11, 2025 15:02
@@ -11,7 +11,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
java-version: '21'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know yet what exactly requires java 21 in this PR, but we need to stick to java 17 (should be compatible with java 17), because it's used in Compose repository.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Based on this job, I suspect that my PR uses KSP 2.1.20-2.0.1 which was compiled with Java 21. Lowering KSP version perhaps the plausible option here

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.

3 participants