Skip to content

feat: Only fetch tags when dropdowns are opened

Codecov / codecov/patch succeeded Nov 14, 2023 in 1s

88.27% of diff hit (target 86.73%)

View this Pull Request on Codecov

88.27% of diff hit (target 86.73%)

Annotations

Check warning on line 28 in src/content-tags-drawer/ContentTagsDropDownSelector.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsDropDownSelector.jsx#L28

Added line #L28 was not covered by tests

Check warning on line 32 in src/content-tags-drawer/ContentTagsDropDownSelector.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsDropDownSelector.jsx#L32

Added line #L32 was not covered by tests

Check warning on line 35 in src/content-tags-drawer/ContentTagsDropDownSelector.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsDropDownSelector.jsx#L35

Added line #L35 was not covered by tests

Check warning on line 71 in src/content-tags-drawer/ContentTagsDropDownSelector.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsDropDownSelector.jsx#L71

Added line #L71 was not covered by tests

Check warning on line 80 in src/content-tags-drawer/ContentTagsDropDownSelector.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsDropDownSelector.jsx#L80

Added line #L80 was not covered by tests

Check warning on line 75 in src/content-tags-drawer/ContentTagsTree.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/ContentTagsTree.jsx#L75

Added line #L75 was not covered by tests

Check warning on line 18 in src/content-tags-drawer/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/api/hooks/api.js#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 31 in src/content-tags-drawer/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/api/hooks/api.js#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 41 in src/content-tags-drawer/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/content-tags-drawer/api/hooks/api.js#L41

Added line #L41 was not covered by tests

Check warning on line 8 in src/taxonomy/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/taxonomy/api/hooks/api.js#L8

Added line #L8 was not covered by tests

Check warning on line 10 in src/taxonomy/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/taxonomy/api/hooks/api.js#L10

Added line #L10 was not covered by tests

Check warning on line 12 in src/taxonomy/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/taxonomy/api/hooks/api.js#L12

Added line #L12 was not covered by tests

Check warning on line 21 in src/taxonomy/api/hooks/api.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/taxonomy/api/hooks/api.js#L21

Added line #L21 was not covered by tests