Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This commit incorporates the backend's `is_active` plugin functions and the related `plugins_listing` handler, and uses them on the client: we will only display dashboards that correspond to backend plugins that are active. Test Plan: - Launch TensorBoard with a normal data set and note that the correct set of dashboards is displayed. - Launch TensorBoard with a nonexistent or empty logdir and observe the global "no data" message. - Launch TensorBoard and cause the `plugins_listing` network request to fail. (In Chrome: Network devtools tab, right-click the request, select "Block Request URL", refresh.) Note the resulting message. Then, unblock the request, and click TensorBoard's reload button: everything should work as usual. - Launch TensorBoard with a large data set, and open the frontend before it's read any text summaries. Then, click TensorBoard's reload button and note that the "Text" dashboard tab appears and functions. - Launch TensorBoard on a large data set. Select the "text" dashboard. Then, relaunch the TensorBoard backend on the same port, and click the frontend's reload button before any text summaries are loaded. Note that TensorBoard removes the text dashboard and shoves the user over to a different dashboard (the first dashboard loaded) with a notice. - Launch TensorBoard, let it load data, then kill the server and click TensorBoard's reload button. Note that the already-loaded features of TensorBoard are still operational. wchargin-branch: active-dashboards
- Loading branch information