Skip to content

Commit 02de640

Browse files
committed
chore: add changeset for display condition plugins
1 parent c36af94 commit 02de640

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
"@prosdevlab/experience-sdk": minor
3+
"@prosdevlab/experience-sdk-plugins": minor
4+
---
5+
6+
feat: add display condition plugins with event-driven architecture
7+
8+
Add 4 new display condition plugins with comprehensive testing and documentation:
9+
10+
**New Plugins:**
11+
- Exit Intent: Velocity-based mouse tracking with session awareness
12+
- Scroll Depth: Multiple thresholds with advanced engagement metrics
13+
- Page Visits: Session and lifetime counters with first-visit detection
14+
- Time Delay: Millisecond-precision delays with visibility API integration
15+
16+
**Core Enhancements:**
17+
- Event-driven trigger architecture (`trigger:*` events)
18+
- Composable display conditions (AND/OR/NOT logic)
19+
- TriggerState interface for type-safe context updates
20+
21+
**Developer Experience:**
22+
- 101 new tests across 4 plugins (314 total)
23+
- 12 integration tests for plugin composition
24+
- Complete API documentation with examples
25+
- Pure functions for easier testing
26+
27+
All plugins are backward compatible and work independently or together.
28+

0 commit comments

Comments
 (0)