DevTools

Update 3D View

Authors: Erica Draud

Status of this Document

Introduction

We released 3D View as a comprehensive tool for debugging your web application in the 3D space. This document will cover enhancements and adjustments we’re making based on feedback.

Goals

Use Cases

Proposed Solution

3D View UI

We will be updating the DOM tab’s UI to match that of the Z-index tab’s for greater consistency. We will flip the Show all elements and Isolate selected element sections to match the order of the Z-index tab. We will also remove the Heatmap identifier for the color types in the DOM tab.

The icons in the 3D canvas need to be updated to align with the DevTools UI. 3D View is getting even more discovery with the + button in DevTools, so it is particularly important that the UI is up to par. We are currently working with the design team to get the assets needed for this.

A toolbar will be added at the top of the tool, which will be consistent between 3D View’s different tabs, so that users can access and understand the functions of the canvas and camera better. The panning and rotate buttons in the toolbar will be highlighted when in use and can be selected directly with panning being the default option. Users will still be able to access these tools with the mouse and keyboard as usual.

The zoom slider will swap directions, since users currently view it as being fully zoomed in. It will be updated to mimic the zoom sliders of common applications such as maps. The proposed changes are shown below:

Z-index UI changes

DOM UI changes

Persistent settings

Users want 3D View pane settings to persist when taking a new snapshot. In the DevTools, taking a new snapshot is a way to refresh the canvas view. The settings currently refresh with the canvas, but users would like them to stay the same, leaving only the DOM to adjust. This would help make the 3D View feel more personalized to the user.