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

sebnitu / vrembem / 20277447341

16 Dec 2025 05:46PM UTC coverage: 94.847% (-3.4%) from 98.266%
20277447341

push

github

web-flow
Create new ConfigManager module along with complimentary plugins (#2583)

This PR refactors how configuration is handled in the CollectionEntry class by creating a `ConfigManager` module with its own API for adding/removing config object sources and returning values from these config sources based on their priority order.

With the introduction of the `ConfigManager`, entries no longer need to define and manage their own data attribute and CSS custom property configurations. This functionality has instead been turned into two new plugins that use `ConfigManager` to manage these config sources separately.

- `attrConfig`: Adds the ability to store a configuration source using the value of a data attribute.
- `cssConfig`: Adds the ability to store a configuration source using the values of CSS custom properties.

**Additional Changes**

- Allow passing multiple arguments via the `emit` method of the `EventListener` module
- Improved types for all plugins and `PluginsArray` class and renames the class to `PluginArray`
- Globally renamed `settings` to `config` for better consistency
- Fixed tests that broke as a result of the refactor
- Added documentation for `ConfigManager` in core Collection page

566 of 606 branches covered (93.4%)

Branch coverage included in aggregate %.

163 of 196 new or added lines in 34 files covered. (83.16%)

8 existing lines in 1 file now uncovered.

925 of 966 relevant lines covered (95.76%)

29.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.17
/packages/core/src/js/modules/ConfigManager.ts


Source Not Available

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