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

IgniteUI / igniteui-webcomponents / 28843926680
98%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2026 05:33AM UTC
Jobs 1
Files 209
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 05:30AM UTC coverage: 98.335% (+0.002%) from 98.333%
28843926680

push

github

web-flow
refactor(tree): rewrite internals for performance, fix scroll/animaton regressions (#2283)

* refactor(tree): rewrite internals for performance, fix scroll/animation regressions

Rearchitect igc-tree/igc-tree-item's internal wiring while preserving the
public API (properties, attributes, events, methods, CSS parts/custom
properties) and existing behaviors.

- Replace `closest('igc-tree')` DOM-traversal wiring with a `@lit/context`
  provider/consumer (new tree.context.ts) so items resolve their owning tree
  synchronously without querying the DOM.
- Replace `querySelectorAll`-based child/descendant resolution with native
  light-DOM `.children` traversal; drop support for tree items wrapped in
  intermediate elements (e.g. `<div>`) in favor of direct nesting.
- Rewrite keyboard navigation on top of the shared `key-bindings` controller
  instead of a manual keydown switch statement; compute the
  navigable/visible item set on demand instead of eagerly caching it,
  removing the O(n²) recompute-on-every-mount root cause of prior sluggishness.
- Fix a real algorithmic issue in child/descendant collection: replace
  recursive `flatMap` + spread concatenation (quadratic for deeply nested
  trees) with a single-pass accumulator.
- Add `contain: layout` to the tree container and each tree-item host to
  scope reflow cost, smoothing out the expand/collapse height animation
  without reintroducing the compositing/scroll-jank risk that ruled out
  `content-visibility` for this component.
- Fix keyboard-navigation scroll lag: focus-driven scrollIntoView now scrolls
  instantly instead of `smooth`, so holding an arrow key no longer causes the
  visible scroll position to fall behind the actual focused/active item.
- Normalize all private members in tree-item.ts to the project's `_`-prefix
  convention.

Test suite: adapted tree-utils.spec.ts/tree.spec.ts fixtures for the
dropped wrapper-element support; all other specs unchanged and passing
against the new implem... (continued)

5942 of 6248 branches covered (95.1%)

Branch coverage included in aggregate %.

459 of 464 new or added lines in 3 files covered. (98.92%)

1 existing line in 1 file now uncovered.

42018 of 42524 relevant lines covered (98.81%)

1582.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
96.12
-1.71% src/components/tree/tree.navigation.ts

Coverage Regressions

Lines Coverage ∆ File
1
96.12
-1.71% src/components/tree/tree.navigation.ts
Jobs
ID Job ID Ran Files Coverage
1 28843926680.1 07 Jul 2026 05:33AM UTC 209
98.34
GitHub Action Run
Source Files on build 28843926680
  • Tree
  • List 209
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28843926680
  • fcab913e on github
  • Prev Build on master (#28843708209)
  • Next Build on master (#28922059892)
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