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

IgniteUI / igniteui-angular / 22091857401
92%

Build:
DEFAULT BRANCH: master
Ran 17 Feb 2026 09:04AM UTC
Jobs 1
Files 508
Run time 21min
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

17 Feb 2026 08:52AM UTC coverage: 91.577% (+0.002%) from 91.575%
22091857401

push

github

web-flow
Fix column width issues in grid state persistence (#16901)

* Initial plan

* Fix column width issue when all columns are hidden in grid state

- Prevent setting _columnWidth to "0px" when all columns are hidden
- Preserve valid column widths for when columns are unhidden
- Add test to verify column widths are preserved after state restoration

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* Update test to properly validate column width preservation

- Adjust test expectations to handle columns constrained by minWidth
- Verify that columns don't all end up with the same minimum width
- Test passes successfully

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* Update column-hiding test to reflect correct behavior

- Update test expectation - column width should not be 0px when all columns hidden
- This allows proper width restoration when columns are unhidden
- All column hiding tests pass successfully

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* Address code review feedback

- Use explicit check for '0px' instead of parseFloat for clarity
- Remove hardcoded width assertion in test for better maintainability
- All tests still pass successfully

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* Refactor to eliminate code duplication

- Extract _updateColumnDefaultWidths helper method
- Remove redundant condition check
- Improve code maintainability
- All tests still pass

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* Fix: Only persist user-set column widths in grid state

- Only save width to state if widthSetByUser or columnWidthSetByUser is true
- Prevents auto-calculated widths from becoming fixed after state restore
- Handle width restoration to skip if undefined
- All tests pass

Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>

* test(pivot grid state): fixing test to not persist calculated column width

* refactor: Extract duplic... (continued)

14367 of 16927 branches covered (84.88%)

15 of 15 new or added lines in 2 files covered. (100.0%)

21 existing lines in 2 files now uncovered.

28965 of 31629 relevant lines covered (91.58%)

34671.57 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.78
-0.11% projects/igniteui-angular/core/src/data-operations/expressions-tree-util.ts
20
92.05
0.0% projects/igniteui-angular/grids/hierarchical-grid/src/hierarchical-grid.component.ts
Jobs
ID Job ID Ran Files Coverage
1 22091857401.1 17 Feb 2026 09:04AM UTC 508
91.58
GitHub Action Run
Source Files on build 22091857401
  • Tree
  • List 508
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22091857401
  • 29851316 on github
  • Prev Build on master (#21994543361)
  • Next Build on master (#22096862460)
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