Skip to content

Conversation

@pavelzotikov
Copy link
Contributor

@pavelzotikov pavelzotikov commented Jul 31, 2025

What’s changed

  • Reworked recentEvents filtering:
    • ✅ Added dateFrom / dateTo filters (via groupingTimestamp)
  • Updated GraphQL schema docs
  • Improved internal filtering logic for consistency and flexibility

@pavelzotikov pavelzotikov requested a review from neSpecc July 31, 2025 11:00
@pavelzotikov pavelzotikov changed the title Add filtering by date range and marks to recentEvents query Add filtering by date range Jul 31, 2025
Comment on lines 26 to 28
* @property {boolean} [starred]
* @property {boolean} [resolved]
* @property {boolean} [ignored]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant jsdoc removal

Comment on lines 168 to 170
/**
* Check if pattern is safe RegExp
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unexpected jsdoc removal

...searchFilter,
};

// Filter by marks (event.marks.{key})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Filter by marks (event.marks.{key})

Comment on lines 278 to 285
/**
* aggregation can return empty array so that
* result can be undefined
*
* for that we check result existence
*
* extra field `projectId` needs to satisfy GraphQL query
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave jsdoc please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants