viz: Namespace Box preserves view type

It was always switching back to grid, but now it will keep.

Instead of proceeding with the previous strategy, we will only send over
the old viewType in each route.

This way, routes/browse, routes/bookmarks, and routes/recommendations all
enforce 'keep the original view'. On first load, original view is null/undefined,
but this is okay; browse-namespace will assign 'grid'.

Change-Id: If9ce16188389b7d922c1e02e4dacec35f05cdd6f
2 files changed
tree: 90390edaa5e88772c1894cd9d9484c97b90c45be
  1. go/
  2. public/
  3. scripts/
  4. src/
  5. test/
  6. .gitignore
  7. .jshintrc
  8. bower.json
  9. css-transform.js
  10. main-transform.js
  11. Makefile
  12. md-transform.js
  13. package.json
  14. README.md
  15. web-component-dependencies.html
README.md

Viz Vanadium Viewer

Viz is a browser-like application that lets the user view and traverse mount tables, intermediate nodes, and services. It also lets the user invoke services either to see the results, or to change the state of a server.

The Extension

You must have the Vanadium Extension installed on Chrome to run this.

Get it here: https://chrome.google.com/webstore/detail/vanadium-extension/jcaelnibllfoobpedofhlaobfcoknpap

Building

Before you can run Viz, you need to build. Simply run:

make

Running

make start

and navigate to http://localhost:9000

to stop simply CTRL-C the console running the make start

If you have any problems after updating the code, try

make clean
make start