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

EcrituresNumeriques / stylo / 19702085718

26 Nov 2025 11:25AM UTC coverage: 40.197% (-0.1%) from 40.324%
19702085718

push

github

web-flow
fix(style): supprime l'utilisation de calc afin de positionner le pied de page de l'éditeur (#1791)

634 of 887 branches covered (71.48%)

Branch coverage included in aggregate %.

19 of 73 new or added lines in 14 files covered. (26.03%)

227 existing lines in 17 files now uncovered.

6267 of 16281 relevant lines covered (38.49%)

2.56 hits per line

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

0.0
/front/src/components/collaborative/CollaborativeEditorActiveVersion.jsx
1
import React from 'react'
×
2

3
import i18n from '../../i18n.js'
×
4

NEW
5
import { useArticleVersion } from '../../hooks/article.js'
×
6

7
import Alert from '../molecules/Alert.jsx'
×
8
import Loading from '../molecules/Loading.jsx'
×
9

10
export default function CollaborativeEditorActiveVersion({ versionId }) {
×
11
  const { version, isLoading, error } = useArticleVersion({ versionId })
×
12

13
  if (isLoading) {
×
14
    return <Loading />
×
15
  }
×
16

17
  if (error) {
×
18
    return <Alert versionId={error.message()} />
×
19
  }
×
20

21
  if (versionId && version) {
×
22
    const versionNumber = `${version.version}.${version.revision}`
×
23
    const versionCodename =
×
24
      version.message.trim().length > 0 ? `"${version.message}"` : null
×
25

26
    const versionDate = new Intl.DateTimeFormat(i18n.language, {
×
27
      dateStyle: 'full',
×
28
      timeStyle: 'short',
×
29
    }).format(new Date(version.createdAt))
×
30
    return (
×
31
      <Alert
×
32
        type="info"
×
33
        message={`Vous êtes sur la version ${versionNumber}${
×
34
          versionCodename ? ` ${versionCodename}` : ''
×
35
        } du ${versionDate}`}
×
36
      ></Alert>
×
37
    )
38
  }
×
39

NEW
40
  return <></>
×
41
}
×
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