add here a logic for checking if sdk is active, probably posthog has something similar, i want to show api key and that can be copied, it will say sdk is not active and it will have a button to refresh sdk status.. ths idea is user goes to his repo update sdk then it will refresh and it will say sdk is active now, please go to your website and generate some flows so bugster has testing data for this initial part. create this flow completely with dandom data and timeouts so i can see thew whole process sdk not active sdk active no data et please go to your app
This component creates a complete SDK status interface that:
The status check randomly alternates between states for demonstration purposes. In a real implementation, you would replace the timeout with actual API calls to check the SDK status and data presence.
You can test the full flow by:
The component will show one of three states:
just make it shadcn white!
Now the component uses shadcn's default light theme with its standard color palette. The alerts use the semantic colors (destructive for errors, green for success) while maintaining a clean, professional look that matches the shadcn design system.
add a finish button once sdk is active pleasedont change status dinamically, every time i click regresh it should show next status