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

orneryd / uiGrid / 25062175341
34%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 03:31PM UTC
Jobs 1
Files 32
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

28 Apr 2026 03:30PM UTC coverage: 90.841% (-0.3%) from 91.131%
25062175341

push

github

orneryd
Feature flags (grid.features.ts)
12 const boolean flags — one per feature. Default: all true. When a flag is false, the bundler tree-shakes the guarded code path entirely.
Guarded locations:
  • Pipeline (grid.core.pipeline.ts) — sorting, filtering, grouping, pagination, tree-view
  • Component (ui-grid.component.ts) — all 12 flags guard their respective methods, effects, and feature-check accessors
  • Template (ui-grid.component.html) — sort buttons, filter row, group toggles, pagination footer, cell editing, expand/tree toggles, CSV export button all wrapped in @if (featureFlag)
Build script (scripts/build-grid.mjs)
  bash
  # Full build (default — all features, en-US)
  node scripts/build-grid.mjs
  # Minimal build — only sorting + filtering
  node scripts/build-grid.mjs --features sorting,filtering
  # Custom locale baked in
  node scripts/build-grid.mjs --locale projects/ui-grid/src/lib/grid/i18n/fr-FR.json
  # Both
  node scripts/build-grid.mjs --features sorting,filtering,pagination --locale i18n/fr-FR.json
  # See available flags
  node scripts/build-grid.mjs --list
The script:
  1. Generates a custom grid.features.ts with only selected flags true
  2. Optionally swaps i18n/en-US.json with the provided locale file
  3. Runs ng build uiGridPackage --configuration production
  4. Always restores the original files after build (even on failure)
API resilience
The API (grid.api.ts) already uses noop fallbacks for all optional feature namespaces — no changes needed. When a feature is disabled, its API methods gracefully do nothing.

967 of 1130 branches covered (85.58%)

Branch coverage included in aggregate %.

69 of 73 new or added lines in 4 files covered. (94.52%)

1562 of 1654 relevant lines covered (94.44%)

5133.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
85.94
-0.35% projects/ui-grid/src/lib/grid/ui-grid.component.ts
1
81.82
-12.92% projects/ui-grid/src/lib/grid/grid.core.pipeline.ts
Jobs
ID Job ID Ran Files Coverage
1 25062175341.1 28 Apr 2026 03:31PM UTC 32
90.84
GitHub Action Run
Source Files on build 25062175341
  • Tree
  • List 32
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25062175341
  • af165664 on github
  • Prev Build on main (#25061009910)
  • Next Build on main (#25070055474)
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