import styled from '@emotion/styled';
import {PlatformIcon} from 'platformicons';
import onboardingImg from 'sentry-images/spot/onboarding-preview.svg';
import {Button} from 'sentry/components/button';
import OnboardingPanel from 'sentry/components/onboardingPanel';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import {NewMonitorButton} from './newMonitorButton';
export type SupportedPlatform =
| 'python-celery'
| 'php'
| 'php-laravel'
| 'python'
| 'node'
| 'go'
| 'java'
| 'java-spring-boot'
| 'ruby'
| 'ruby-rails';
interface SDKPlatformInfo {
label: string;
platform: SupportedPlatform;
}
export const CRON_SDK_PLATFORMS: SDKPlatformInfo[] = [
{platform: 'python-celery', label: 'Celery'},
{platform: 'php', label: 'PHP'},
{platform: 'php-laravel', label: 'Laravel'},
{platform: 'python', label: 'Python'},
{platform: 'node', label: 'Node'},
{platform: 'go', label: 'Go'},
{platform: 'java', label: 'Java'},
{platform: 'java-spring-boot', label: 'Spring Boot'},
{platform: 'ruby', label: 'Ruby'},
{platform: 'ruby-rails', label: 'Rails'},
];
interface Props {
onSelect: (platform: SupportedPlatform | null) => void;
}
export function PlatformPickerPanel({onSelect}: Props) {
return (
{t( "We'll tell you if your recurring jobs are running on schedule, failing, or succeeding." )}