Allow query result view to be toggled from command bar #1833
+172
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preview this branch
This PR adds a new dropdown to the Query Editor Command Bar:
The options in this menu allow you to toggle between Vertical (editor and results view are stacked vertically; matches the current view) or Horizontal (editor and results view are stacked horizontally, a new layout made available in this PR):
toggle-view-for-query.mp4
The default layout is Vertical, matching the current view. However, this too can be changed using a setting in the Settings pane:
Changing this option will affect the starting view for all future Query Editor panels opened on that Browser (the setting is stored in
localStorage
, along with all the existing settings on this pane). Existing opened Query Editors will not be affected:toggle-default-view-for-query.mp4