UnifiedLogsPreview.tsx 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { useParams } from 'common'
  2. import Image from 'next/image'
  3. import { InlineLink } from '@/components/ui/InlineLink'
  4. import { BASE_PATH } from '@/lib/constants'
  5. export const UnifiedLogsPreview = () => {
  6. const { ref = '_' } = useParams()
  7. return (
  8. <div className="space-y-2">
  9. <p className="text-foreground-light text-sm mb-4">
  10. Experience our enhanced Logs interface with improved filtering, real-time updates, and a
  11. unified view across all your services. Built for better performance and easier debugging.
  12. </p>
  13. <p className="text-foreground-light text-sm mb-4">
  14. This interface is only available for organizations on the Enterprise plan.
  15. </p>
  16. <Image
  17. alt="new-logs-preview"
  18. src={`${BASE_PATH}/img/previews/new-logs-preview.png`}
  19. width={1296}
  20. height={900}
  21. className="rounded-sm border mb-4"
  22. />
  23. <div className="space-y-2 mt-4!">
  24. <p className="text-sm">Enabling this preview will:</p>
  25. <ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
  26. <li>
  27. Replace the current Logs interface on the{' '}
  28. <InlineLink href={`/project/${ref}/logs`}>Logs page</InlineLink> with a unified view
  29. </li>
  30. <li>Provide enhanced filtering capabilities and real-time log streaming</li>
  31. <li>Improve performance with optimized data loading and virtualization</li>
  32. <li>Offer a more modern interface with better search and navigation</li>
  33. </ul>
  34. </div>
  35. </div>
  36. )
  37. }