feat: implement native AG Grid date filter with relative date expressions #104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Implements a native AG Grid date filter component that supports both absolute dates and relative date expressions (e.g., "Today+7d", "Last week"). This component integrates directly with AG Grid's filter framework using the
IFilterinterface.Closes #103
Key Features
Native AG Grid Integration
IFilterinterface for seamless integrationDate Expression Support
Today,Yesterday,TomorrowToday+7d,Today-3m,Today+1yStartOfWeek,EndOfMonth, etc.Last week,Next month, etc.Filter Operations
Technical Implementation
This component follows AG Grid's architecture patterns, not the headless UI patterns used elsewhere in this repository. It:
getModel(),setModel(),isFilterActive(),doesFilterPass()Demo Integration
The component is exported via
createDateFilter()for easy integration:Testing
Breaking Changes
This replaces the previous headless DateFilter implementation with a native AG Grid filter. The API is simpler and more aligned with AG Grid conventions.
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com