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

sebnitu / vrembem / 11222492730
94%
main: 100%

Build:
Build:
LAST BUILD BRANCH: next
DEFAULT BRANCH: main
Ran 07 Oct 2024 07:23PM UTC
Jobs 1
Files 65
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 Oct 2024 07:21PM UTC coverage: 100.0%. Remained the same
11222492730

push

github

web-flow
Create a plugin system for collections and entries (#2056)

This PR introduces the new plugin system for collections and entries. It allows for plugins to be created and registered to a collection and ties into the lifecycle of collections and entries via lifecycle hooks. The main requirement of a plugin is that it has a unique name, otherwise it's settings, methods and hooks that are used are up to the plugin author. As part of this system, the teleport module has been converted into the first plugin along with a debug plugin for better understanding when and in what order hooks are fired.

**Additional Changes**
- Modal and Drawer Vite demo pages have been updated to the new format.
- Teleport plugin has been applied to the docs website.
- Core JS modules have been reorganized into helper and utility directories along with the new plugins directory where all future plugins will be stored.
- Manifest index export files have been added to all sub JS directories to help keep imports/exports more organized.
- Entry `before/afterMount` and `before/afterUnmount` have been replaced with  the more simple `onMount` and `onUnmount` hooks.
- Added new `processOptions()` method to collections to allow passing plugins as part of the options object but removing it before options are merged into settings.
- Created new `pluginsArray` class which extends the base `Array` class. It creates the object used for managing plugins in a collection.
- Renamed `lifecycleHook` to `maybeRunMethod` for clarity.
- Renamed `teleport` utility to `teleportElement` for clarity.

642 of 642 branches covered (100.0%)

Branch coverage included in aggregate %.

320 of 320 new or added lines in 19 files covered. (100.0%)

2689 of 2689 relevant lines covered (100.0%)

126.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11222492730.1 07 Oct 2024 07:23PM UTC 0
100.0
GitHub Action Run
Source Files on build 11222492730
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11222492730
  • 7411a680 on github
  • Prev Build on next (#11130576183)
  • Next Build on next (#11222922266)
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