commit | 94d3b215ceb6d7e19bd70ad39409e64eb51eb95d | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Fri May 01 13:27:29 2015 -0700 |
committer | Alex Fandrianto <alexfandrianto@google.com> | Fri May 01 13:32:53 2015 -0700 |
tree | eff2f83720ebec6d2ee32a118123eda1e7a2da40 | |
parent | f99da4098ec9b25bfef26fedeae908ec48e6a7b1 [diff] |
nsb: Persist the last selected view type The state service has been augmented to persist the most recently used view type. It also now does the same for the side panel width. A minor bug was fixed where we checked falsiness instead of 'null' ness. We now only replace the value drawn from the store if the value is null because '' is a valid value. Closes https://github.com/vanadium/browser/issues/74 Change-Id: Iec9a4a336a5b6a422f4f6ebd353843820ec6c933
The namespace browser is a web application that lets developers and other users view and interact with the Vanadium world. Starting from their namespace root or other mount table, users can browse through the mount table hierarchy and see where services are mounted. The user can select a service to see more detailed information about it, and can also interact with the service, invoking methods to examine or modify the state of the service.
As a Vanadium web application, the Namespace Browser requires that users install the Vanadium Extension from the Chrome Web Store. If you try to run the web app without the extension, it will prompt you to install it.
Here is the link to the Vanadium Extension: https://chrome.google.com/webstore/detail/vanadium-extension/jcaelnibllfoobpedofhlaobfcoknpap
The Vanadium Namespace Browser lives online at https://browser.v.io/
You do not need to build your own copy of the namespace browser in order to use it, unless you want to modify it or see how it works.
To build a local copy, install the Vanadium environment and be sure to include the web profile.
Here is the link to the development instructions for Vanadium: https://v.io/community/contributing.html
Next, to build your own copy of the namespace browser, run:
cd $V23_ROOT/release/projects/browser make build
This compiles the relevant bundle files in the ‘public’ folder. The assets inside must be served as your own instance of the web app.
You can serve a local instance of the Namespace Browser by executing the following command:
make start
This will also generate Vanadium credentials (a new principal and a blessing) the first time it is run, which may prompt you for your Google Account password and caveats on the blessing in your web browser. You will also be prompted to select a password for encrypting the credentials on local disk. This is optional.
Navigate to http://localhost:9001 to launch the namespace browser. You can quit by using CTRL-C
on the console running make start
.
If you have any problems after updating the code, try cleaning the build.
make clean
make start
Additionally, demo services and mount tables that represent a virtual house and cottage are added to your local namespace, under users
. For more information, see the help pages in the Namespace Browser application (click on the menu icon in the upper-left corner, then select Help).
The namespace browser has some unit and integration tests that verify basic functionality. Run these tests with the following command:
make test
The code repository for the Namespace Browser is on GitHub.
Bugs and other issues can be submitted to the Namespace Browser Issue Tracker.