Skip to content

feat(mongodb): multi-mode document viewer (Table Grid / Tree / JSON) (#1026) - #1072

Merged
ZhuchkaTriplesix merged 4 commits into
devfrom
issue/1026-mongodb-multimode-viewer
Oct 5, 2026
Merged

ZhuchkaTriplesix merged 4 commits into
devfrom
issue/1026-mongodb-multimode-viewer

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #1026

Summary

Adds multi-mode document viewing options to MongoDB collections browser (MongoDocumentsView):

  1. Table Grid View: Integrated with VirtualResultGrid. Flattens first-level fields into columns with _id pinned first, formats nested objects ({ N fields }) and arrays ([ N items ]) as compact summaries, supports natural sorting and cell copying.
  2. Tree View: Interactive folding tree (MongoDocumentTreeView) with recursive collapsible JSON nodes, expand/collapse all, filter search, and JSON path copying (address.geo[0]), value copying, and top-level field editing.
  3. JSON View: Syntax-highlighted Extended JSON editor (MongoDocumentsJsonView) via QueryaCodeEditor (QueryaCodeLanguage.json) with one-click copy.
  4. Cards View: Preserved existing card view as an option.
  5. Toolbar Switcher & Persistence: Seamless SegmentedButton in toolbar switching between modes in-memory without re-querying the database; active mode persisted in AppSettings.

@github-actions github-actions Bot added enhancement New feature or request editor Code/SQL editor ui User interface components and widgets data-grid Interactive data grid, cell editor, filtering, groupings P1 High priority / Core capability labels Oct 5, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 43589ba into dev Oct 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-grid Interactive data grid, cell editor, filtering, groupings editor Code/SQL editor enhancement New feature or request P1 High priority / Core capability ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant