feat: Deleted documents are highlighted#2467
Conversation
- Deleted documents highlighted by line-through decoration - No actions with deleted rows
- Deleted documents highlighted by line-through decoration - No actions with deleted rows
|
It’s an interesting approach! However, I anticipate that once it’s available, there will be feature requests for an ‘undo’ operation. |
|
Well, then we will say that result is just Query Representation what we can't change as well as undo any actions. Why can't we remove these records from the table? Because the have statistics and metrics which linked to certain results in the table. My opinion, it is obvious that any actions with records will be represented only after re-running query. |
I'd leave it for you, @bk201-, and @sevoku to decide, as it's in your domain. I wouldn't prefer to go down that UX path. If the correlation between the result set and the stats is a concern, I suggest replacing the metrics with a message stating that it's not available as the result set has changed. |
sevoku
left a comment
There was a problem hiding this comment.
I don't have a strong opinion on this, I'd say let's go with this approach and see what feedback we get? We could also use a grey-ish text or background color.
@tnaum-ms don't we have support for deletion in Mongo? How do you handle it? We should shoot for the same experience, especially in such cases.
@sevoku @tnaum-ms In this case any deletion will fail all metrics at all, not only for this page for every page. I'm not competent at this question, I would ask someone who uses both tabs. Questions like
|
I simply remove it from the database and from the view. It's gone once a user confirms they want to delete. Deleted data being visible suggests an undo option that we don't and likely won't have. |
|
seems we kinda forgot about this :) @bk201- wrt metrics I'd suggest we show a warning inside the stats tab like "Dataset has changed, please rerun the query to update the metrics". Also we should check and see what happens with the continuation token? If we simply rerun the request would it update properly or do we really need to rerun the whole query? |
|
Let's resurrect :lol: this topic, I have a couple of thoughts how it can be made more useful also with recovery:
|
Fixes #2437