mathesar icon indicating copy to clipboard operation
mathesar copied to clipboard

Prompt user to add a filter that displays problematic values when it's not possible to set a column constraint

Open seancolsen opened this issue 2 years ago • 2 comments

When adding a column constraint, either through #772 or #771, there's a possibility that the constraint will fail because the table values do not already support it. In this case, we should display a modal dialog with a button that sets the filter clauses to show the problematic values

image

Status

  • Blocked by #1028 because we need a way to filter on duplicate values
  • Blocked by #1394 because the front end needs to know the reason that a NOT NULL constraint failed to be set.

seancolsen avatar Oct 28 '21 23:10 seancolsen

@kgodey I would be inclined to move this to a later milestone. What do you think? Without this feature implemented, users will still be able to set constraints. If the action fails, the user will see a toast message explaining the reason. The feature in this ticket is definitely worth implementing, but I think it's lower-priority than some of the other features that we have have in our queue for the alpha release.

seancolsen avatar Nov 12 '21 14:11 seancolsen

@seancolsen Good point, I moved it to the "Improvements for Non-Technical Users" milestone.

kgodey avatar Nov 12 '21 16:11 kgodey

This issue has not been updated in 90 days and is being marked as stale.

github-actions[bot] avatar Apr 06 '23 21:04 github-actions[bot]

Closing this, too old, requirements are out of date. We can create a new issue if we need this functionality in the future.

kgodey avatar Feb 02 '24 17:02 kgodey