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

teableio / teable / 8536869866

03 Apr 2024 10:05AM CUT coverage: 21.234% (-0.3%) from 21.535%
8536869866

Pull #514

github

web-flow
Merge 91a25d710 into 45ee7ebb3
Pull Request #514: refactor: user and link selector

1394 of 2532 branches covered (55.06%)

27 of 1620 new or added lines in 60 files covered. (1.67%)

4 existing lines in 2 files now uncovered.

14588 of 68702 relevant lines covered (21.23%)

2.02 hits per line

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

0.0
/packages/sdk/src/components/filter/Filter.tsx
1
import { useFields } from '../../hooks';
×
2
import { FilterBase } from './FilterBase';
×
3
import type { IFilterProps } from './types';
×
4
import { useFilterNode } from './useFilterNode';
×
5

×
6
function Filter(props: IFilterProps) {
×
NEW
7
  const { onChange, filters, context, children, contentHeader, components } = props;
×
NEW
8
  const fields = useFields({ withHidden: true });
×
NEW
9
  const { text, isActive } = useFilterNode(filters, fields);
×
10

×
11
  return (
×
NEW
12
    <FilterBase
×
NEW
13
      fields={fields}
×
NEW
14
      filters={filters}
×
NEW
15
      components={components}
×
NEW
16
      contentHeader={contentHeader}
×
NEW
17
      onChange={onChange}
×
NEW
18
      context={context}
×
NEW
19
    >
×
20
      {children?.(text, isActive)}
×
21
    </FilterBase>
×
22
  );
×
23
}
×
24

×
25
export { Filter };
×
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

© 2025 Coveralls, Inc