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

EcrituresNumeriques / stylo / 12925854411

23 Jan 2025 09:11AM UTC coverage: 25.831% (-4.7%) from 30.523%
12925854411

push

github

web-flow
Merge pull request #1192 from EcrituresNumeriques/feat/vite6

322 of 518 branches covered (62.16%)

Branch coverage included in aggregate %.

3448 of 14077 relevant lines covered (24.49%)

1.66 hits per line

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

0.0
/front/src/components/header/UserMenuLink.jsx
1
import React from 'react'
×
2
import PropTypes from 'prop-types'
×
3

4
import WorkspaceLabel from '../workspace/WorkspaceLabel.jsx'
×
5
import styles from './UserMenuLink.module.scss'
×
6
import { User } from 'react-feather'
×
7

8
export default function UserMenuLink({ username, activeWorkspace }) {
×
9
  return (
×
10
    <>
×
11
      <div className={styles.container}>
×
12
        <User className={styles.icon} size={20} />
×
13
        <div className={styles.username}>{username}</div>
×
14
        {activeWorkspace && (
×
15
          <WorkspaceLabel
×
16
            className={styles.workspaceLabel}
×
17
            color={activeWorkspace.color}
×
18
            name={activeWorkspace.name}
×
19
          />
×
20
        )}
21
      </div>
×
22
    </>
×
23
  )
24
}
×
25

26
UserMenuLink.propTypes = {
×
27
  username: PropTypes.string.isRequired,
×
28
  activeWorkspace: PropTypes.shape({
×
29
    color: PropTypes.string.isRequired,
×
30
    name: PropTypes.string.isRequired,
×
31
  }),
×
32
}
×
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