UX: MongoDB document editor should default to 'Apply (no minify)' instead of 'Minify & Apply'

Author: JeanPaiva42Created Sep 4, 2026Updated Sep 4, 2026
Labelsenhancement

Describe the issue In the MongoDB document editor modal (EditorModal.vue), the primary action button is Minify & Apply, with Apply (no minify) hidden in a dropdown. For JSON documents, minifying removes all formatting and whitespace, which is destructive to readability and can cause accidental data changes that are hard to review.

The defaults should be swapped: Apply (no minify) as the primary button, with Minify & Apply in the dropdown.

Impact A user reported accidentally corrupting a document because they used the default action without realising it would minify the content.

Suggested fix In apps/studio/src/components/tableview/EditorModal.vue, swap the primary and secondary button roles for the MongoDB/JSON case so that save (no minify) is the default and saveAndMinify is the dropdown option.

Source: beekeeper-studio/beekeeper-studio