airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.1k stars 107 forks source link

UI components are not showing up (yet groups are) #337

Closed LeBar closed 1 year ago

LeBar commented 1 year ago

In our Compose project, Showkase only shows component groups that change the title when clicked but nothing happens afterward (s. attached screenshot). We do have a multi-module project if that's relevant. There's no difference when using @ShowkaseComposable or @Preview and the group names are correctly shown in the Showkase overview.

Any known problems that might lead to this problem? 🤷🏻‍♂️

before tap

=>

after tap
matejdro commented 1 year ago

For us, updating androidx.navigation from 2.5.3 to 2.6.0 seems to have triggered this.

LeBar commented 1 year ago

That fixed it, thank you so much! 🙏🏻

LeBar commented 1 year ago

Showkase doesn't work with androidx.navigation 2.6.0. Downgrading to 2.5.0 as well as upgrading (tested with 2.7.0-beta02) lead to it working as expected again.

matejdro commented 1 year ago

I wouldn't close this issue, I think it should at least be documented somewhere, that navigation 2.6.0 breaks it.

Maybe you could reopen it and change the title of the issue to "androidx.navigation 2.6.0 causes UI components to not show up" to make it more discoverable?