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

CaptainFact / captain-fact-frontend / 13509561802

24 Feb 2025 10:56PM UTC coverage: 5.504% (-1.4%) from 6.953%
13509561802

push

github

web-flow
Release (#1375)

* chore(deps-dev): Bump @babel/preset-env from 7.20.2 to 7.26.9 (#1371)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.26.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.9/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Misc styles & GraphQL fixes (#1374)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

43 of 1647 branches covered (2.61%)

Branch coverage included in aggregate %.

192 of 2623 relevant lines covered (7.32%)

0.17 hits per line

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

0.0
/app/components/FormUtils/FieldWithButton.jsx
1
import React from 'react'
2

3
import { cn } from '@/lib/css-utils'
4

5
import { Button } from '../ui/button'
6
import { Input } from '../ui/input'
7

8
const FieldWithButton = (props) => {
×
9
  const { submitting, invalid } = props.meta || {}
×
10
  const { buttonClassName, buttonLabel, buttonClickHandler, ...inputProps } = props
×
11
  return (
×
12
    <div className={cn('flex items-center')}>
13
      <Input
14
        {...inputProps}
15
        {...inputProps.input}
16
        className={cn(inputProps.className, 'rounded-tr-none rounded-br-none', {
17
          'border-red-500': invalid,
18
        })}
19
      />
20
      <div className="control">
21
        <Button
22
          type="submit"
23
          loading={submitting}
24
          disabled={submitting || invalid}
×
25
          onClick={buttonClickHandler}
26
          className={cn(buttonClassName, 'rounded-tl-none rounded-bl-none whitespace-nowrap')}
27
        >
28
          {buttonLabel}
29
        </Button>
30
      </div>
31
    </div>
32
  )
33
}
34

35
export default FieldWithButton
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