diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-12-30 13:29:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-30 11:29:03 +0000 |
| commit | b20ba9cfccd22159bf8263165cca76aab3147d9c (patch) | |
| tree | 166f5c477d1c368a5017aae9f726b692d655fc0e /apps/web/components/admin/BasicStats.tsx | |
| parent | a0b4a26ad398137e13c35f3fe0dad99154537d91 (diff) | |
| download | karakeep-b20ba9cfccd22159bf8263165cca76aab3147d9c.tar.zst | |
feat: add "URL Does Not Contain" condition to rule engine (#2280)
* feat: add "URL Does Not Contain" condition to rule engine
Add a new condition type `urlDoesNotContain` that allows users to create
rules based on URLs that do NOT contain specific strings. This enables
more flexible rule configurations, such as:
- Automatically adding bookmarks to a "Read Later" list if the URL
does not contain "reddit.com" or "youtube.com"
Changes:
- Added `urlDoesNotContain` condition type to Zod schema
- Implemented evaluation logic in RuleEngine
- Added UI support in ConditionBuilder component
- Added translation key for new condition type
- Added test coverage for the new condition
Fixes #2259
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
* fix type link
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
Diffstat (limited to 'apps/web/components/admin/BasicStats.tsx')
0 files changed, 0 insertions, 0 deletions
