scope icon indicating copy to clipboard operation
scope copied to clipboard

No way to force Graph View on initial open

Open fbarl opened this issue 7 years ago • 0 comments

Background

Currently, there is a piece of logic in the code which redirects Graph View -> Table View initially if the graph is estimated to be too big. It's been put there to prevent laggy user experience when trying to visualize big systems.

Problem

Because of it, there is currently no way to share links to Scope that lock the Graph View mode as there is a chance that the heuristic will override it.

Suggested solution

  • Introduce an empty view mode and use it as a default (hidden in the URL)
  • Activate the heuristic which replaces the URL with the proper view mode only when landing on the empty view
  • Disable the heuristic when the view mode has been explicitly specified in the URL

cc @foot

fbarl avatar Sep 12 '18 13:09 fbarl