• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

clippingkk / web / #1032

29 Jan 2025 02:04PM UTC coverage: 0.765% (-0.002%) from 0.767%
#1032

push

AnnatarHe
feat(upload): update upload styles and add windsurf support

31 of 361 branches covered (8.59%)

Branch coverage included in aggregate %.

0 of 167 new or added lines in 6 files covered. (0.0%)

156 of 24089 relevant lines covered (0.65%)

12.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/progress/floating.tsx
1
import React from 'react'
×
NEW
2
import { UploadStep } from '@/services/uploader'
×
NEW
3
import { useTranslation } from '@/i18n/client'
×
NEW
4
import { Loader2 } from 'lucide-react'
×
5

×
6
type FloatingProgressProps = {
×
7
  step: UploadStep
×
8
  at: number
×
9
  count: number
×
10
}
×
11

×
12
function FloatingProgress(props: FloatingProgressProps) {
×
13
  const { step, at, count } = props
×
14
  const { t } = useTranslation()
×
15
  if (step === UploadStep.None || at === -1 || count === -1) {
×
16
    return null
×
17
  }
×
18
  return (
×
NEW
19
    <div className="fixed bottom-6 right-6 animate-in fade-in slide-in-from-bottom-6 duration-300">
×
NEW
20
      <div className="backdrop-blur-xl bg-gradient-to-br from-purple-500/80 to-teal-500/80 dark:from-purple-600/80 dark:to-teal-600/80 rounded-xl shadow-lg shadow-purple-500/20 dark:shadow-purple-900/30">
×
NEW
21
        <div className="px-6 py-4 flex items-center gap-3">
×
NEW
22
          <Loader2 className="w-5 h-5 text-white animate-spin" />
×
NEW
23
          <div className="flex items-center gap-2 text-white font-medium">
×
NEW
24
            <span>
×
NEW
25
              {t(`app.upload.progress.${step}`)}
×
NEW
26
            </span>
×
NEW
27
            <span className="font-bold">{at}/{count}</span>
×
NEW
28
          </div>
×
29
        </div>
×
30
      </div>
×
31
    </div>
×
32
  )
×
33
}
×
34

×
35
export default FloatingProgress
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc