FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(mongo): edit a document field via Cell Inspector and Save to DB by ZhuchkaTriplesix · Pull Request #764 · QueryaHub/Querya-Desktop · GitHub

feat(mongo): edit a document field via Cell Inspector and Save to DB - #764

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/763-mongo-field-inspector
Sep 20, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/763-mongo-field-inspector

Conversation

Copy link
Copy Markdown
Member

Summary

  • Expanded Mongo document cards list top-level fields instead of a read-only JSON blob.
  • Tapping a non-_id field opens the shared Cell Inspector with Save to DB, which $sets that field and reloads the card list.
  • Inspector Apply is unchanged when Save to DB is not wired (SQL grid).
  • Shared encode/decode for NULL / bool / number / JSON so nested objects stay valid in the inspector.

Closes #763

Test plan

  • Expand a Mongo document card, tap a scalar field, Save to DB, confirm the card reloads with the new value.
  • Nested object/array field: inspector shows pretty JSON; Save to DB stores a map/list, not a string.
  • _id is not tappable / not saved.
  • SQL Cell Inspector (no Save to DB callback) still has a single Apply button.
  • flutter test test/features/mongodb/mongo_field_codec_test.dart test/features/workspace/grid_cell_editor_test.dart

Expanded collection cards list fields; Save to DB $set's one field so Mongo browsing matches the SQL inspector write-back path.
ZhuchkaTriplesix merged commit 7168159 into dev Sep 20, 2026
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL