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

sebnitu / vrembem / 21041527047

15 Jan 2026 06:12PM UTC coverage: 93.558% (-0.3%) from 93.833%
21041527047

push

github

web-flow
Refactor propStore plugin and add documentation (#2620)

This PR contains some refactoring of `propStore` so that it's more idiomatic to use and to help improve default values so that there is less setup needed when using. This includes the following changes:

- `value`: now defaults to the value saved in local storage if it exists
- `condition`: now set to `true` by default and needs to be set to `false` to disable automatic local storage usage
- `key`: default to empty string `""` and made the type more strict by only allowing it to be a string

This PR also adds full documentation of the `propStore` plugin.

**Additional Changes**
- Use kebab-case in doc slugs instead of camelCase
- Collections now allow passing the `name` and `entryClass` properties via configuration options
- Plugins can now pass lifecycle hooks in their configuration options
- New `order` method in `StackArray` allows passing an array of ID's to sort the array
- Made `localStore` module types more readable
- Favor passing context directly as objects instead of assigning `this` via `call()`
- Removed now redundant preset configurations from `propStore` Drawer implementation
- Improved Modal Vite demo of `propStore` usage
- Modal now emits a `stackChange` event when the stack array changes

569 of 623 branches covered (91.33%)

Branch coverage included in aggregate %.

32 of 37 new or added lines in 7 files covered. (86.49%)

927 of 976 relevant lines covered (94.98%)

30.6 hits per line

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

73.33
/packages/core/src/js/modules/StackArray.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