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

EcrituresNumeriques / stylo / 14090633575

26 Mar 2025 06:19PM UTC coverage: 31.811% (+0.01%) from 31.801%
14090633575

push

github

web-flow
chore: remplace feather par lucide (plus d'icĂ´nes) (#1374)

470 of 703 branches covered (66.86%)

Branch coverage included in aggregate %.

4 of 47 new or added lines in 46 files covered. (8.51%)

2 existing lines in 1 file now uncovered.

4483 of 14867 relevant lines covered (30.15%)

2.26 hits per line

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

0.0
/front/src/components/collaborative/CollaborativeEditorWebSocketStatus.jsx
1
import clsx from 'clsx'
×
2
import React from 'react'
×
NEW
3
import { Loader } from 'lucide-react'
×
4

5
import styles from './CollaborativeEditorWebSocketStatus.module.scss'
×
6

7
/**
8
 * @param props
9
 * @param {string} props.status
10
 * @param {string} props.state
11
 * @return {Element}
12
 * @constructor
13
 */
14
export default function CollaborativeEditorWebSocketStatus({ status, state }) {
×
15
  if (status === 'connected') {
×
16
    return <></>
×
17
  }
×
18

19
  if (state !== 'started' || status === 'connecting') {
×
20
    return (
×
21
      <div className={clsx(styles.status, styles.connecting)}>
×
22
        <span className={clsx(styles.dot, styles.warning)}></span>
×
23
        Connecting
24
        <Loader className={styles.loadingIndicator} />
×
25
      </div>
×
26
    )
27
  }
×
28

29
  return (
×
30
    <div className={clsx(styles.status, styles.disconnected)}>
×
31
      {status === 'disconnected' && (
×
32
        <>
×
33
          <span className={clsx(styles.dot, styles.info)}></span>
×
34
          Disconnected
35
        </>
×
36
      )}
37
    </div>
×
38
  )
39
}
×
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