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

EcrituresNumeriques / stylo / 15421390038

03 Jun 2025 03:23PM UTC coverage: 38.116% (+0.4%) from 37.711%
15421390038

push

github

web-flow
feat: EntĂȘte responsive (#1531)

Co-authored-by: Thomas Parisot <thom4parisot@users.noreply.github.com>

555 of 781 branches covered (71.06%)

Branch coverage included in aggregate %.

28 of 398 new or added lines in 18 files covered. (7.04%)

48 existing lines in 9 files now uncovered.

5382 of 14795 relevant lines covered (36.38%)

2.57 hits per line

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

0.0
/front/src/components/workspace/WorkspaceLabel.jsx
1
import React from 'react'
×
2
import PropTypes from 'prop-types'
×
3
import clsx from 'clsx'
×
4

5
import styles from './WorkspaceLabel.module.scss'
×
NEW
6
import { useTranslation } from 'react-i18next'
×
7

8
/**
9
 *
10
 * @param {import('react').PropsWithoutRef} props
11
 * @param {string=} props.name
12
 * @param {string=} props.color
13
 * @param {string=} props.className
14
 * @returns {import('react').ReactElement}
15
 */
NEW
16
export default function WorkspaceLabel({ name, color: backgroundColor = '#ccc', className }) {
×
NEW
17
  const { t } = useTranslation()
×
18

19
  return (
×
NEW
20
    <div className={clsx(className, styles.container)} aria-label={name}>
×
NEW
21
      <span className={styles.chip} style={{ backgroundColor }} />
×
NEW
22
      <span className={styles.name}>{name ?? t('workspace.myspace')}</span>
×
NEW
23
    </div>
×
24
  )
25
}
×
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