Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't throw from Mango Query tab after doc edit #1411

Open
YakovL opened this issue Aug 18, 2023 · 0 comments
Open

Don't throw from Mango Query tab after doc edit #1411

YakovL opened this issue Aug 18, 2023 · 0 comments

Comments

@YakovL
Copy link

YakovL commented Aug 18, 2023

Expected Behavior

When I'm in the Mango Query tab (/_utils/#/database/db_name/_find), after running a query I can click on a document to see its contents or to edit it. When I leave the doc editing UI (by clicking either Cancel, Save Changes, or Delete), I expect to end up in the Mango Query tab, ideally seeing the same or updated list.

Current Behavior

When I click Delete and confirm deleting, I'm thrown to the All Documents tab (/_utils/#/database/db_name/_all_docs).
When I Cancel, I see the "No Documents Found" instead of the same list (ok, it could get updates from other sources, but that issue applies even when just looking at the list, so it should be handled separately and hence is irrelevant).
When I Save Changes, I see the "No Documents Found" instead of the same list with the updated document that I've saw before.

Possible Solution

A minimal solution – after deleting, please return me to the Mango Query tab, not to All Documents.
An ideal solution – also keep the shown list (including pagination!) after cancel/save changes, and update the doc columns if they were changed.

Context

I'm debugging my app and managing data, and these are annoying things that slow down my flow.
This overlaps with #1389

Your Environment

  • Version used: left bottom corner suggests "Fauxton on Apache CouchDB v. 3.2.2"
  • Browser Name and version: Vivaldi 6.1 (Chromium-based)
  • Operating System and version: Windows 10 Pro x64
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

No branches or pull requests

1 participant