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

EcrituresNumeriques / stylo / 22355557221

24 Feb 2026 02:38PM UTC coverage: 68.001% (-0.6%) from 68.639%
22355557221

push

github

web-flow
feat: Import des métadonnées depuis un article (#1930)

764 of 1261 branches covered (60.59%)

Branch coverage included in aggregate %.

12 of 36 new or added lines in 4 files covered. (33.33%)

1 existing line in 1 file now uncovered.

4145 of 5958 relevant lines covered (69.57%)

5.88 hits per line

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

0.0
/front/src/components/molecules/DropdownMenu.jsx
1
import { EllipsisVertical } from 'lucide-react'
2

3
import useComponentVisible from '../../hooks/componentVisible.js'
4
import { Button } from '../atoms/index.js'
5

6
import styles from './DropdownMenu.module.scss'
7

8
function DropdownEllipsisToggleButton({ title, toggleActions }) {
NEW
9
  return (
×
NEW
10
    <Button title={title} onClick={() => toggleActions()} icon>
×
11
      <EllipsisVertical />
12
    </Button>
13
  )
14
}
15

16
/**
17
 *
18
 * @param title
19
 * @param toggleButton
20
 * @param children
21
 * @returns {JSX.Element}
22
 * @constructor
23
 */
24
export default function DropdownMenu({ title, toggleButton, children }) {
25
  const {
26
    ref: actionsRef,
27
    isComponentVisible: areActionsVisible,
28
    toggleComponentIsVisible: toggleActions,
29
  } = useComponentVisible(false, 'actions')
×
30

NEW
31
  const button = toggleButton ?? DropdownEllipsisToggleButton
×
32

UNCOV
33
  return (
×
34
    <div className={styles.container} ref={actionsRef}>
35
      {button({ title, toggleActions })}
36

37
      <div className={styles.menu} hidden={!areActionsVisible}>
38
        {children}
39
      </div>
40
    </div>
41
  )
42
}
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