[COMPASS-3274] Preview Created: 20/Nov/18  Updated: 29/Oct/23  Resolved: 30/Jan/19

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Massimiliano Marcon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-3314 Create component for matching documents Closed
is related to COMPASS-3315 Update matching documents Closed
is related to COMPASS-3316 Create component for not matching doc... Closed
is related to COMPASS-3317 Update not matching documents Closed
Epic Link: COMPASS-2198

 Description   

User Story

As a Compass user
I want to see if existing documents match or do not match the validation rules I am adding
So that I can understand whether I am adding the right rules and whether my existing data would need some cleanup

Acceptance Criteria

  • When I am specifying schema validation rules for a collection that already contains documents, I want to see a sample of documents that would match and would not match my validation rules
  • The sampling of documents should happen with a reasonable level of performance
    • If feasible with reasonable effort, the sampling would happen while I am editing the rules and not after saving, but this is not a strict requirement.
  • If sampling is a long operation, the UI will not freeze or be blocked. Instead, we should display some sort of loading indicator in the area where the sample documents would appear.
    • If feasible, where we show samples of documents that do not match the validation rules, we should highlight the fields that do not match

Generated at Wed Feb 07 22:32:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.