Skip to content

feat: Report async loading usage in dropdown component metadata - #5245

Open
gethinwebster wants to merge 1 commit into
mainfrom
dev-v3-gethinw-async-loading-metadata
Open

gethinwebster wants to merge 1 commit into
mainfrom
dev-v3-gethinw-async-loading-metadata

Conversation

@gethinwebster

@gethinwebster gethinwebster commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Description

Adds a hasAsyncLoading flag to the usage metadata of Select, Multiselect, Autosuggest, PropertyFilter and ButtonDropdown. It is true when the consumer passes onLoadItems, so we can see how many instances use async-loaded options. The value is fixed at mount; statusType is not reported because it changes at runtime.

Related links, issue #, if available: n/a

How has this been tested?

Added tests for components that already had suites testing analytics metadata.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.82%. Comparing base (d8d3fa2) to head (c0765fb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5245   +/-   ##
=======================================
  Coverage   97.82%   97.82%           
=======================================
  Files        1006     1006           
  Lines       32608    32608           
  Branches    12106    12107    +1     
=======================================
  Hits        31900    31900           
+ Misses        702      666   -36     
- Partials        6       42   +36     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was successfully deployed

3 active deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants