Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 30, 2025

Adds ability to query for unverified annotations, complementing the existing "Verified" filter.

Changes

  • QueryConstraint: Added notlike field to support negated LIKE pattern matching
  • NotVerifiedConstraintResult: New constraint class using notlike='%"verifier":%' to filter annotations lacking verifier field in JSON
  • QueryDialog: Registered "Not Verified" in filters list
  • Tests: Coverage for notlike constraint behavior and null handling

The implementation mirrors the existing "Verified" filter pattern:

# Verified filter
QueryConstraint(column="link_value", like='%"verifier":%')

# Not Verified filter  
QueryConstraint(column="link_value", notlike='%"verifier":%')
Original prompt

This section details on the original issue you should resolve

<issue_title>not verified query</issue_title>
<issue_description>In vars-gridview we have the ability to query for 'verified' can we add a query for 'not verified?'</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

- Add notlike field to QueryConstraint dataclass
- Create NotVerifiedConstraintResult class
- Add "Not Verified" filter to QueryDialog filters list
- Add tests for notlike constraint functionality

Co-authored-by: kevinsbarnard <[email protected]>
Copilot AI changed the title [WIP] Add query option for not verified in vars-gridview Add "Not Verified" query filter Dec 30, 2025
Copilot AI requested a review from kevinsbarnard December 30, 2025 20:22
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.

not verified query

2 participants