A demonstration application showcasing the PiscesSpotlight library in a real-world scenario.
This demo simulates a PDF Summarizer application with a complete onboarding tutorial that guides users through the main features. The application demonstrates how to integrate PiscesSpotlight into a production-ready Compose Multiplatform application.
The demo showcases a 7-step tutorial covering:
- Upload PDF - Document upload functionality
- Summarize - AI-powered summarization
- Highlight Tool - Text highlighting capabilities
- Annotate Tool - Adding notes and comments
- Save - Saving work and annotations
- AI Assistant - Interactive AI chat
- Share - Sharing summaries with others
This demo uses the published Maven Central version of PiscesSpotlight:
implementation("io.github.xcodebn:pisces-spotlight:0.1.0")The demo shows a complete onboarding flow with multiple steps, proper tooltip positioning, and smooth transitions between tutorial steps.
A dropdown menu from the settings button allows users to:
- Restart the tutorial at any time
- Access app information
All interactive UI components are properly marked with piscesSpotlightTarget modifiers, demonstrating the type-safe target system.
./gradlew :demo:installDebug./gradlew :demo:iosSimulatorArm64Test- App.kt - Main application with tutorial configuration
- DemoTargets.kt - Type-safe spotlight target definitions
Developers can reference this demo to understand:
- How to structure tutorial configurations
- Best practices for tooltip positioning
- Integration patterns for real applications
- Restart and control mechanisms
This is a demonstration application. For comprehensive testing and edge case scenarios, refer to the testing module. Which is private and you can't see so make your own if you need one :)